Merge branch 'version-13-hotfix' into e-commerce-refactor

This commit is contained in:
Marica
2021-08-12 19:03:44 +05:30
committed by GitHub
91 changed files with 3300 additions and 1350 deletions

View File

@@ -124,7 +124,8 @@ def make_taxes_and_charges_template(company_name, doctype, template):
account_data = tax_row.get('account_head')
tax_row_defaults = {
'category': 'Total',
'charge_type': 'On Net Total'
'charge_type': 'On Net Total',
'cost_center': frappe.db.get_value('Company', company_name, 'cost_center')
}
if doctype == 'Purchase Taxes and Charges Template':