Skip to content

Commit

Permalink
fix : Updated Manufacturing Request
Browse files Browse the repository at this point in the history
  • Loading branch information
Keerthana-ck committed May 8, 2024
1 parent d7b59d2 commit f1c0d94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
"fieldtype": "Column Break"
},
{
"depends_on": "eval:doc.request_from == \"Jewellery Order\"",
"fieldname": "weight",
"fieldtype": "Float",
"label": "Weight"
Expand Down Expand Up @@ -252,7 +253,7 @@
"link_fieldname": "manufacturing_request"
}
],
"modified": "2024-05-07 12:51:18.505865",
"modified": "2024-05-07 17:34:55.175911",
"modified_by": "Administrator",
"module": "AuMMS Manufacturing",
"name": "Manufacturing Request",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ def create_manufacturing_request(self):
manufacturing_request.jewellery_order = self.jewellery_order
manufacturing_request.required_date = self.required_date
manufacturing_request.quantity = self.required_quantity
manufacturing_request.expected_weight = item.required_quantity
manufacturing_request.expected_weight = item.required_weight
manufacturing_request.purity = self.purity
manufacturing_request.weight = item.required_weight
manufacturing_request.supervisor_warehouse = self.supervisor_warehouse
manufacturing_request.uom = self.uom
manufacturing_request.type = self.item_type
manufacturing_request.insert(ignore_permissions=True)
Expand Down

0 comments on commit f1c0d94

Please sign in to comment.