fix: Remove Bundle Items table
This commit is contained in:
parent
e44567754d
commit
055ac82b39
@ -28,9 +28,6 @@ frappe.ui.form.on("Purchase Order", {
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_df_property('packed_items', 'cannot_add_rows', true);
|
||||
frm.set_df_property('packed_items', 'cannot_delete_rows', true);
|
||||
|
||||
},
|
||||
|
||||
company: function(frm) {
|
||||
|
@ -61,8 +61,6 @@
|
||||
"set_warehouse",
|
||||
"items_section",
|
||||
"items",
|
||||
"bundle_items_section",
|
||||
"packed_items",
|
||||
"sb_last_purchase",
|
||||
"total_qty",
|
||||
"base_total",
|
||||
@ -1139,31 +1137,13 @@
|
||||
"fieldtype": "Link",
|
||||
"label": "Tax Withholding Category",
|
||||
"options": "Tax Withholding Category"
|
||||
},
|
||||
{
|
||||
"depends_on": "packed_items",
|
||||
"fieldname": "packed_items",
|
||||
"fieldtype": "Table",
|
||||
"label": "Bundle Items",
|
||||
"options": "Packed Item",
|
||||
"print_hide": 1
|
||||
},
|
||||
{
|
||||
"collapsible": 1,
|
||||
"collapsible_depends_on": "packed_items",
|
||||
"depends_on": "packed_items",
|
||||
"fieldname": "bundle_items_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Bundle Items",
|
||||
"options": "fa fa-suitcase",
|
||||
"print_hide": 1
|
||||
}
|
||||
],
|
||||
"icon": "fa fa-file-text",
|
||||
"idx": 105,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2021-08-27 20:11:23.509147",
|
||||
"modified": "2021-08-30 20:03:14.008804",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Buying",
|
||||
"name": "Purchase Order",
|
||||
|
@ -67,9 +67,6 @@ class PurchaseOrder(BuyingController):
|
||||
self.set_received_qty_for_drop_ship_items()
|
||||
validate_inter_company_party(self.doctype, self.supplier, self.company, self.inter_company_order_reference)
|
||||
|
||||
from erpnext.stock.doctype.packed_item.packed_item import make_packing_list
|
||||
make_packing_list(self)
|
||||
|
||||
def validate_with_previous_doc(self):
|
||||
super(PurchaseOrder, self).validate_with_previous_doc({
|
||||
"Supplier Quotation": {
|
||||
|
Loading…
Reference in New Issue
Block a user