Commit af1fb243 authored by Łukasz Nowak's avatar Łukasz Nowak

- set Invoice View as default invoice view for draft, planned and confirmed...

 - set Invoice View as default invoice view for draft, planned and confirmed invoices, otherwise show Accounting View as default view


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26899 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75f04bf7
......@@ -87,7 +87,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.getSimulationState() != \'confirmed\'</string> </value>
<value> <string>python: object.getSimulationState() not in (\'draft\', \'planned\', \'confirmed\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -87,7 +87,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.getSimulationState() == \'confirmed\'</string> </value>
<value> <string>python: object.getSimulationState() in (\'draft\', \'planned\', \'confirmed\')</string> </value>
</item>
</dictionary>
</pickle>
......
237
\ No newline at end of file
234
\ No newline at end of file
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