Commit d174c8d7 authored by Jérome Perrin's avatar Jérome Perrin

don't set quantity where it's not needed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36884 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dc106911
...@@ -59,14 +59,11 @@ if kw.get(\'created_by_builder\', 0): \n ...@@ -59,14 +59,11 @@ if kw.get(\'created_by_builder\', 0): \n
return\n return\n
\n \n
transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
id=\'income\',\n id=\'income\',)\n
quantity=0, )\n
transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
id=\'receivable\',\n id=\'receivable\', )\n
quantity=0, )\n
transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n transaction.newContent(portal_type=\'Sale Invoice Transaction Line\',\n
id=\'collected_vat\',\n id=\'collected_vat\',)\n
quantity=0, )\n
\n \n
context.AccountingTransaction_initFromPreferences()\n context.AccountingTransaction_initFromPreferences()\n
</string> </value> </string> </value>
......
1297 1298
\ 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