mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Merge branch 'master' into develop
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
__version__ = '6.27.11'
|
__version__ = '6.27.12'
|
||||||
|
|||||||
@@ -42,6 +42,11 @@ class FiscalYear(Document):
|
|||||||
def on_update(self):
|
def on_update(self):
|
||||||
check_duplicate_fiscal_year(self)
|
check_duplicate_fiscal_year(self)
|
||||||
|
|
||||||
|
def on_trash(self):
|
||||||
|
global_defaults = frappe.get_doc("Global Defaults")
|
||||||
|
if global_defaults.current_fiscal_year == self.name:
|
||||||
|
frappe.throw(_("You cannot delete Fiscal Year {0}. Fiscal Year {0} is set as default in Global Settings").format(self.name))
|
||||||
|
|
||||||
def validate_overlap(self):
|
def validate_overlap(self):
|
||||||
existing_fiscal_years = frappe.db.sql("""select name from `tabFiscal Year`
|
existing_fiscal_years = frappe.db.sql("""select name from `tabFiscal Year`
|
||||||
where (
|
where (
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ app_publisher = "Frappe Technologies Pvt. Ltd."
|
|||||||
app_description = """ERP made simple"""
|
app_description = """ERP made simple"""
|
||||||
app_icon = "icon-th"
|
app_icon = "icon-th"
|
||||||
app_color = "#e74c3c"
|
app_color = "#e74c3c"
|
||||||
app_version = "6.27.11"
|
app_version = "6.27.12"
|
||||||
app_email = "info@erpnext.com"
|
app_email = "info@erpnext.com"
|
||||||
app_license = "GNU General Public License (v3)"
|
app_license = "GNU General Public License (v3)"
|
||||||
source_link = "https://github.com/frappe/erpnext"
|
source_link = "https://github.com/frappe/erpnext"
|
||||||
|
|||||||
@@ -206,3 +206,5 @@ def get_month_details(year, month):
|
|||||||
'month_end_date': med,
|
'month_end_date': med,
|
||||||
'month_days': month_days
|
'month_days': month_days
|
||||||
})
|
})
|
||||||
|
else:
|
||||||
|
frappe.throw(_("Fiscal Year {0} not found").format(year))
|
||||||
@@ -512,8 +512,8 @@ apps/erpnext/erpnext/projects/doctype/time_log/time_log.py +211,Production Order
|
|||||||
apps/erpnext/erpnext/setup/setup_wizard/install_fixtures.py +139,Proposal Writing,الكتابة الاقتراح
|
apps/erpnext/erpnext/setup/setup_wizard/install_fixtures.py +139,Proposal Writing,الكتابة الاقتراح
|
||||||
apps/erpnext/erpnext/setup/doctype/sales_person/sales_person.py +35,Another Sales Person {0} exists with the same Employee id,شخص آخر مبيعات {0} موجود مع نفس الرقم الوظيفي
|
apps/erpnext/erpnext/setup/doctype/sales_person/sales_person.py +35,Another Sales Person {0} exists with the same Employee id,شخص آخر مبيعات {0} موجود مع نفس الرقم الوظيفي
|
||||||
apps/erpnext/erpnext/config/accounts.py +70,Masters,الماجستير
|
apps/erpnext/erpnext/config/accounts.py +70,Masters,الماجستير
|
||||||
apps/erpnext/erpnext/config/accounts.py +135,Update Bank Transaction Dates,تواريخ عملية البنك التحديث
|
apps/erpnext/erpnext/config/accounts.py +127,Update Bank Transaction Dates,تواريخ عملية البنك التحديث
|
||||||
apps/erpnext/erpnext/stock/stock_ledger.py +337,Negative Stock Error ({6}) for Item {0} in Warehouse {1} on {2} {3} in {4} {5},خطأ الأسهم السلبية ( { } 6 ) القطعة ل {0} في {1} في معرض النماذج ثلاثية على {2} {3} {4} في {5}
|
apps/erpnext/erpnext/stock/stock_ledger.py +337,Negative Stock Error ({6}) for Item {0} in Warehouse {1} on {2} {3} in {4} {5},خطأ الأسهم السلبية ( {6} ) القطعة ل {0} في {1} في معرض النماذج ثلاثية على {2} {3} {4} في {5}
|
||||||
apps/erpnext/erpnext/config/projects.py +30,Time Tracking,تتبع الوقت
|
apps/erpnext/erpnext/config/projects.py +30,Time Tracking,تتبع الوقت
|
||||||
DocType: Fiscal Year Company,Fiscal Year Company,الشركة السنة المالية
|
DocType: Fiscal Year Company,Fiscal Year Company,الشركة السنة المالية
|
||||||
DocType: Packing Slip Item,DN Detail,DN التفاصيل
|
DocType: Packing Slip Item,DN Detail,DN التفاصيل
|
||||||
|
|||||||
|
2
setup.py
2
setup.py
@@ -1,7 +1,7 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from pip.req import parse_requirements
|
from pip.req import parse_requirements
|
||||||
|
|
||||||
version = "6.27.11"
|
version = "6.27.12"
|
||||||
requirements = parse_requirements("requirements.txt", session="")
|
requirements = parse_requirements("requirements.txt", session="")
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
|||||||
Reference in New Issue
Block a user