In option_price_property field, remove 'childrens' field from depends to improve loadingi speed in tree view.
This commit is contained in:
parent
eb12190e3b
commit
a516be23e5
|
@ -193,8 +193,8 @@ class Property(DeactivableMixin, tree(separator=' / '), sequence_ordered(),
|
|||
states={
|
||||
'invisible': Eval('type') != 'purchase_product'
|
||||
},
|
||||
domain = [('id', 'in', Eval('childrens'))],
|
||||
depends=['type', 'childrens'],
|
||||
domain = [('id', 'in', Eval('childrens', []))],
|
||||
depends=['type'],
|
||||
help='Price for option when purchase_product is selected')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue