mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
Merge branch 'develop' into stock-reservation
This commit is contained in:
@@ -416,7 +416,6 @@
|
||||
"fieldname": "items_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hide_border": 1,
|
||||
"label": "Items",
|
||||
"oldfieldtype": "Section Break",
|
||||
"options": "fa fa-shopping-cart"
|
||||
},
|
||||
@@ -424,6 +423,7 @@
|
||||
"allow_bulk_edit": 1,
|
||||
"fieldname": "items",
|
||||
"fieldtype": "Table",
|
||||
"label": "Items",
|
||||
"oldfieldname": "quotation_details",
|
||||
"oldfieldtype": "Table",
|
||||
"options": "Quotation Item",
|
||||
@@ -1072,7 +1072,7 @@
|
||||
"idx": 82,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-12 18:32:28.671332",
|
||||
"modified": "2023-04-14 16:50:44.550098",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Selling",
|
||||
"name": "Quotation",
|
||||
|
||||
@@ -30,10 +30,6 @@
|
||||
"cost_center",
|
||||
"dimension_col_break",
|
||||
"project",
|
||||
"column_break_77",
|
||||
"source",
|
||||
"campaign",
|
||||
"custom_dimensions_section",
|
||||
"currency_and_price_list",
|
||||
"currency",
|
||||
"conversion_rate",
|
||||
@@ -163,7 +159,9 @@
|
||||
"is_internal_customer",
|
||||
"represents_company",
|
||||
"column_break_152",
|
||||
"source",
|
||||
"inter_company_order_reference",
|
||||
"campaign",
|
||||
"party_account_currency",
|
||||
"connections_tab"
|
||||
],
|
||||
@@ -1165,12 +1163,6 @@
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_77",
|
||||
"fieldtype": "Column Break",
|
||||
"hide_days": 1,
|
||||
"hide_seconds": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "source",
|
||||
"fieldtype": "Link",
|
||||
@@ -1613,10 +1605,6 @@
|
||||
"fieldname": "column_break_92",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "custom_dimensions_section",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"collapsible": 1,
|
||||
"fieldname": "additional_info_section",
|
||||
|
||||
@@ -559,8 +559,10 @@ erpnext.PointOfSale.Controller = class {
|
||||
|
||||
item_row = this.frm.add_child('items', new_item);
|
||||
|
||||
if (field === 'qty' && value !== 0 && !this.allow_negative_stock)
|
||||
await this.check_stock_availability(item_row, value, this.frm.doc.set_warehouse);
|
||||
if (field === 'qty' && value !== 0 && !this.allow_negative_stock) {
|
||||
const qty_needed = value * item_row.conversion_factor;
|
||||
await this.check_stock_availability(item_row, qty_needed, this.frm.doc.set_warehouse);
|
||||
}
|
||||
|
||||
await this.trigger_new_item_events(item_row);
|
||||
|
||||
|
||||
@@ -704,7 +704,7 @@
|
||||
"type": "Link"
|
||||
}
|
||||
],
|
||||
"modified": "2022-04-26 13:29:55.087240",
|
||||
"modified": "2023-04-16 13:29:55.087240",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Selling",
|
||||
"name": "Selling",
|
||||
|
||||
Reference in New Issue
Block a user