Commit 9a7f41f2 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_production_planning: show unsaved change in red color

parent 44433fd7
......@@ -118,12 +118,14 @@
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -141,7 +143,7 @@
<item>
<key> <string>editable</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
......@@ -273,12 +275,25 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.getQuantity() or 0 if cell else \'\'</string> </value>
<value> <string>python: "error" if (cell and (not cell.getSpecialise() or (cell.getSpecialiseValue().getQuantity() != cell.getQuantity()))) else ""</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.getQuantity() or 0 if cell else \'\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</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