Commit bc71bcc2 authored by Nicolas Delaby's avatar Nicolas Delaby

Support new portal_type Internal Trade Condition for Internal Orders

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44811 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a1306c91
...@@ -50,7 +50,9 @@ ...@@ -50,7 +50,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>specialise = context.getSpecialiseValue(portal_type=(\'Purchase Trade Condition\',\'Sale Trade Condition\'))\n <value> <string>specialise = context.getSpecialiseValue(portal_type=(\'Purchase Trade Condition\',\n
\'Sale Trade Condition\',\n
\'Internal Trade Condition\',))\n
\n \n
if specialise is not None:\n if specialise is not None:\n
rounding = kwargs.get(\'rounding\', False)\n rounding = kwargs.get(\'rounding\', False)\n
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
\n \n
order = context\n order = context\n
Base_translateString = context.Base_translateString\n Base_translateString = context.Base_translateString\n
trade_condition_portal_type_list = (\'Purchase Trade Condition\', \'Sale Trade Condition\',)\n trade_condition_portal_type_list = (\'Internal Trade Condition\',)\n
\n \n
trade_condition_list = order.getSpecialiseValueList(\n trade_condition_list = order.getSpecialiseValueList(\n
portal_type=trade_condition_portal_type_list)\n portal_type=trade_condition_portal_type_list)\n
......
1117 1118
\ No newline at end of file \ 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