Commit 8e2c3a67 authored by Jérome Perrin's avatar Jérome Perrin

copy source_payment / destination_payment when applying a model

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21666 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc4d274d
...@@ -92,6 +92,12 @@ if not paysheet.getDestinationSection():\n ...@@ -92,6 +92,12 @@ if not paysheet.getDestinationSection():\n
if not paysheet.getSourceSection():\n if not paysheet.getSourceSection():\n
paysheet.setSourceSection(getPropertyFromModel(model, \'source_section\'))\n paysheet.setSourceSection(getPropertyFromModel(model, \'source_section\'))\n
\n \n
if not paysheet.getSourcePayment():\n
paysheet.setSourcePayment(getPropertyFromModel(model, \'source_payment\'))\n
\n
if not paysheet.getDestinationPayment():\n
paysheet.setDestinationPayment(getPropertyFromModel(model, \'destination_payment\'))\n
\n
if not paysheet.getPriceCurrency():\n if not paysheet.getPriceCurrency():\n
paysheet.setPriceCurrency(getPropertyFromModel(model, \'price_currency\'))\n paysheet.setPriceCurrency(getPropertyFromModel(model, \'price_currency\'))\n
\n \n
......
300 301
\ 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