Commit d9aa0777 authored by Titouan Soulard's avatar Titouan Soulard

*: use `Movement_isQuantityEnabled` everywhere

parent d2a64e7e
Pipeline #39278 failed with stage
in 0 seconds
......@@ -144,7 +144,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell is not None and cell.Movement_isQuantityEditable()</string> </value>
<value> <string>python: cell is not None and cell.Movement_isQuantityEnabled()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -77,7 +77,7 @@ for line in kw.get('listbox'):
movement_to_update.getAggregateValueList() + [item])
update_quantity = not context.Movement_isQuantityEditable()
update_quantity = not context.Movement_isQuantityEnabled()
if update_quantity:
if context.isMovement():
movement_list = context,
......
......@@ -92,7 +92,7 @@ for item_uid in uids:
movement_to_update.setAggregateValueSet(
movement_to_update.getAggregateValueList() + [item])
update_quantity = not context.Movement_isQuantityEditable()
update_quantity = not context.Movement_isQuantityEnabled()
if update_quantity:
if context.isMovement():
movement_list = context,
......
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Movement_isQuantityEditable()</string> </value>
<value> <string>python: here.Movement_isQuantityEnabled()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -107,7 +107,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Movement_isQuantityEditable()</string> </value>
<value> <string>python: here.Movement_isQuantityEnabled()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -140,7 +140,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell is not None and cell.Movement_isQuantityEditable()</string> </value>
<value> <string>python: cell is not None and cell.Movement_isQuantityEnabled()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -107,7 +107,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell is not None and cell.Movement_isQuantityEditable()</string> </value>
<value> <string>python: cell is not None and cell.Movement_isQuantityEnabled()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -53,12 +53,6 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
......@@ -110,19 +104,6 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Movement_isQuantityEditable()</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
......@@ -110,7 +110,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Movement_isQuantityEditable()</string> </value>
<value> <string>python: here.Movement_isQuantityEnabled()</string> </value>
</item>
</dictionary>
</pickle>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment