Merge pull request #46969 from frappe/mergify/bp/version-15-hotfix/pr-46964

fix: added missing project field on pos profile (backport #46964)
This commit is contained in:
Diptanil Saha
2025-04-09 15:57:57 +05:30
committed by GitHub
2 changed files with 15 additions and 4 deletions

View File

@@ -56,7 +56,8 @@
"apply_discount_on",
"accounting_dimensions_section",
"cost_center",
"dimension_col_break"
"dimension_col_break",
"project"
],
"fields": [
{
@@ -389,6 +390,14 @@
"fieldname": "disable_grand_total_to_default_mop",
"fieldtype": "Check",
"label": "Disable auto setting Grand Total to default Payment Mode"
},
{
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
"oldfieldname": "cost_center",
"oldfieldtype": "Link",
"options": "Project"
}
],
"icon": "icon-cog",
@@ -416,7 +425,7 @@
"link_fieldname": "pos_profile"
}
],
"modified": "2025-01-29 13:12:30.796630",
"modified": "2025-04-09 11:35:13.779613",
"modified_by": "Administrator",
"module": "Accounts",
"name": "POS Profile",
@@ -442,7 +451,8 @@
"role": "Accounts User"
}
],
"sort_field": "modified",
"row_format": "Dynamic",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
}

View File

@@ -54,6 +54,7 @@ class POSProfile(Document):
payments: DF.Table[POSPaymentMethod]
print_format: DF.Link | None
print_receipt_on_order_complete: DF.Check
project: DF.Link | None
select_print_heading: DF.Link | None
selling_price_list: DF.Link | None
tax_category: DF.Link | None