mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
fix: implicit string concatenation (#25371)
* fix: implicit string concatenations * chore: rerun healthcare patch for company fields
This commit is contained in:
@@ -9,7 +9,7 @@ from frappe.utils import cstr
|
|||||||
from frappe.model.naming import make_autoname
|
from frappe.model.naming import make_autoname
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
pricing_rule_fields = ['apply_on', 'mixed_conditions', 'is_cumulative', 'other_item_code', 'other_item_group'
|
pricing_rule_fields = ['apply_on', 'mixed_conditions', 'is_cumulative', 'other_item_code', 'other_item_group',
|
||||||
'apply_rule_on_other', 'other_brand', 'selling', 'buying', 'applicable_for', 'valid_from',
|
'apply_rule_on_other', 'other_brand', 'selling', 'buying', 'applicable_for', 'valid_from',
|
||||||
'valid_upto', 'customer', 'customer_group', 'territory', 'sales_partner', 'campaign', 'supplier',
|
'valid_upto', 'customer', 'customer_group', 'territory', 'sales_partner', 'campaign', 'supplier',
|
||||||
'supplier_group', 'company', 'currency', 'apply_multiple_pricing_rules']
|
'supplier_group', 'company', 'currency', 'apply_multiple_pricing_rules']
|
||||||
|
|||||||
@@ -693,7 +693,7 @@ execute:frappe.reload_doctype('Dashboard')
|
|||||||
execute:frappe.reload_doc('desk', 'doctype', 'number_card_link')
|
execute:frappe.reload_doc('desk', 'doctype', 'number_card_link')
|
||||||
execute:frappe.delete_doc_if_exists('Dashboard', 'Accounts')
|
execute:frappe.delete_doc_if_exists('Dashboard', 'Accounts')
|
||||||
erpnext.patches.v13_0.update_actual_start_and_end_date_in_wo
|
erpnext.patches.v13_0.update_actual_start_and_end_date_in_wo
|
||||||
erpnext.patches.v13_0.set_company_field_in_healthcare_doctypes #2020-05-25
|
erpnext.patches.v13_0.set_company_field_in_healthcare_doctypes #2021-04-16
|
||||||
erpnext.patches.v12_0.update_bom_in_so_mr
|
erpnext.patches.v12_0.update_bom_in_so_mr
|
||||||
execute:frappe.delete_doc("Report", "Department Analytics")
|
execute:frappe.delete_doc("Report", "Department Analytics")
|
||||||
execute:frappe.rename_doc("Desk Page", "Loan Management", "Loan", force=True)
|
execute:frappe.rename_doc("Desk Page", "Loan Management", "Loan", force=True)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import frappe
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
company = frappe.db.get_single_value('Global Defaults', 'default_company')
|
company = frappe.db.get_single_value('Global Defaults', 'default_company')
|
||||||
doctypes = ['Clinical Procedure', 'Inpatient Record', 'Lab Test', 'Sample Collection' 'Patient Appointment', 'Patient Encounter', 'Vital Signs', 'Therapy Session', 'Therapy Plan', 'Patient Assessment']
|
doctypes = ['Clinical Procedure', 'Inpatient Record', 'Lab Test', 'Sample Collection', 'Patient Appointment', 'Patient Encounter', 'Vital Signs', 'Therapy Session', 'Therapy Plan', 'Patient Assessment']
|
||||||
for entry in doctypes:
|
for entry in doctypes:
|
||||||
if frappe.db.exists('DocType', entry):
|
if frappe.db.exists('DocType', entry):
|
||||||
frappe.reload_doc('Healthcare', 'doctype', entry)
|
frappe.reload_doc('Healthcare', 'doctype', entry)
|
||||||
|
|||||||
Reference in New Issue
Block a user