Merge lp:~matjaz-6/openerpsl/openerpsl_04_29 into lp:openerpsl/7.0

Proposed by Matjaz Kalic
Status: Merged
Merged at revision: 432
Proposed branch: lp:~matjaz-6/openerpsl/openerpsl_04_29
Merge into: lp:openerpsl/7.0
Diff against target: 15 lines (+2/-2)
1 file modified
intrastat/wizard/intrastat_export.py (+2/-2)
To merge this branch: bzr merge lp:~matjaz-6/openerpsl/openerpsl_04_29
Reviewer Review Type Date Requested Status
Mentis Pending
Review via email: mp+226655@code.launchpad.net

Description of the change

[FIX] intrastat_export (round invoicedAmount)

To post a comment you must log in.
432. By Dušan Laznik (Mentis)

[FIX] intrastat_export (round invoicedAmount)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'intrastat/wizard/intrastat_export.py'
--- intrastat/wizard/intrastat_export.py 2014-07-03 11:40:28 +0000
+++ intrastat/wizard/intrastat_export.py 2014-07-14 11:50:48 +0000
@@ -143,9 +143,9 @@
143 _countryOfOriginCode = etree.SubElement(_Item, 'countryOfOriginCode')143 _countryOfOriginCode = etree.SubElement(_Item, 'countryOfOriginCode')
144 _countryOfOriginCode.text = line.country_origin_code144 _countryOfOriginCode.text = line.country_origin_code
145 _netMass = etree.SubElement(_Item, 'netMass')145 _netMass = etree.SubElement(_Item, 'netMass')
146 _netMass.text = str(round(line.weight, 2))146 _netMass.text = str(round(line.weight, 3))
147 _invoicedAmount = etree.SubElement(_Item, 'invoicedAmount')147 _invoicedAmount = etree.SubElement(_Item, 'invoicedAmount')
148 _invoicedAmount.text = str(line.value)148 _invoicedAmount.text = str(round(line.value, 2))
149 _NatureOfTransaction = etree.SubElement(_Item, 'NatureOfTransaction')149 _NatureOfTransaction = etree.SubElement(_Item, 'NatureOfTransaction')
150 _natureOfTransactionACode = etree.SubElement(_NatureOfTransaction, 'natureOfTransactionACode')150 _natureOfTransactionACode = etree.SubElement(_NatureOfTransaction, 'natureOfTransactionACode')
151 _natureOfTransactionACode.text = '1'151 _natureOfTransactionACode.text = '1'

Subscribers

People subscribed via source and target branches