fix: improve "Update Items" modal (#36105)
fix: improve "Update Items" modal (#36105)
* fix: make "Update Items" modal larger
* fix: remove conversion factor from overview
Conversion factor doesn't make much sense without two different UOMs
next to it, hence moving it to row detail view
(cherry picked from commit d5fe1432f8)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
This commit is contained in:
@@ -600,7 +600,6 @@ erpnext.utils.update_child_items = function(opts) {
|
|||||||
fields.splice(3, 0, {
|
fields.splice(3, 0, {
|
||||||
fieldtype: 'Float',
|
fieldtype: 'Float',
|
||||||
fieldname: "conversion_factor",
|
fieldname: "conversion_factor",
|
||||||
in_list_view: 1,
|
|
||||||
label: __("Conversion Factor"),
|
label: __("Conversion Factor"),
|
||||||
precision: get_precision('conversion_factor')
|
precision: get_precision('conversion_factor')
|
||||||
})
|
})
|
||||||
@@ -608,6 +607,7 @@ erpnext.utils.update_child_items = function(opts) {
|
|||||||
|
|
||||||
new frappe.ui.Dialog({
|
new frappe.ui.Dialog({
|
||||||
title: __("Update Items"),
|
title: __("Update Items"),
|
||||||
|
size: "extra-large",
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
fieldname: "trans_items",
|
fieldname: "trans_items",
|
||||||
|
|||||||
Reference in New Issue
Block a user