fix: Commission not applied while making Sales Order from Quotation

This commit is contained in:
Deepesh Garg
2022-02-24 14:42:56 +05:30
parent e4c4dc402e
commit 0373914704
3 changed files with 15 additions and 7 deletions

View File

@@ -832,6 +832,7 @@
}, },
{ {
"default": "0", "default": "0",
"fetch_from": "item_code.grant_commission",
"fieldname": "grant_commission", "fieldname": "grant_commission",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Grant Commission", "label": "Grant Commission",
@@ -841,7 +842,7 @@
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2021-10-05 12:24:54.968907", "modified": "2022-02-24 14:41:36.392560",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice Item", "name": "Sales Invoice Item",
@@ -849,5 +850,6 @@
"owner": "Administrator", "owner": "Administrator",
"permissions": [], "permissions": [],
"sort_field": "modified", "sort_field": "modified",
"sort_order": "DESC" "sort_order": "DESC",
"states": []
} }

View File

@@ -83,8 +83,8 @@
"planned_qty", "planned_qty",
"column_break_69", "column_break_69",
"work_order_qty", "work_order_qty",
"produced_qty",
"delivered_qty", "delivered_qty",
"produced_qty",
"returned_qty", "returned_qty",
"shopping_cart_section", "shopping_cart_section",
"additional_notes", "additional_notes",
@@ -701,8 +701,10 @@
"width": "50px" "width": "50px"
}, },
{ {
"description": "For Production",
"fieldname": "produced_qty", "fieldname": "produced_qty",
"fieldtype": "Float", "fieldtype": "Float",
"hidden": 1,
"label": "Produced Quantity", "label": "Produced Quantity",
"oldfieldname": "produced_qty", "oldfieldname": "produced_qty",
"oldfieldtype": "Currency", "oldfieldtype": "Currency",
@@ -791,6 +793,7 @@
}, },
{ {
"default": "0", "default": "0",
"fetch_from": "item_code.grant_commission",
"fieldname": "grant_commission", "fieldname": "grant_commission",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Grant Commission", "label": "Grant Commission",
@@ -800,7 +803,7 @@
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2022-02-21 13:55:08.883104", "modified": "2022-02-24 14:41:57.325799",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Sales Order Item", "name": "Sales Order Item",

View File

@@ -757,6 +757,7 @@
}, },
{ {
"default": "0", "default": "0",
"fetch_from": "item_code.grant_commission",
"fieldname": "grant_commission", "fieldname": "grant_commission",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Grant Commission", "label": "Grant Commission",
@@ -767,12 +768,14 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2021-10-06 12:12:44.018872", "modified": "2022-02-24 14:42:20.211085",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Delivery Note Item", "name": "Delivery Note Item",
"naming_rule": "Random",
"owner": "Administrator", "owner": "Administrator",
"permissions": [], "permissions": [],
"sort_field": "modified", "sort_field": "modified",
"sort_order": "DESC" "sort_order": "DESC",
} "states": []
}