Unit price format in invoice report
The unit price is formatted using format_currency but it should use format_number with monetary option instead because it must be display with more digits than the currency.
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
invoice.odt | @shrox | 2016-04-03 13:06:22.126000 UTC | application/vnd.oasis.opendocument.text |
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cédric Krier added accounting easy type::behavior + 1 deleted label
added accounting easy type::behavior + 1 deleted label
- Shreedhar Manek assigned to @shrox
assigned to @shrox
- Shreedhar Manek added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Shreedhar Manek unassigned @shrox
unassigned @shrox
- Shreedhar Manek added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
Working on bug.
Involves invoice.odt in account_invoice. Refer to report.py in trytond/report for format_number and format_currency attributes.- Shreedhar Manek assigned to @shrox
assigned to @shrox
- Shreedhar Manek added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
Added review25011003
- Shreedhar Manek added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
Modified invoice.odt file.
invoice.odt for review
- Author Owner
It is good but sale and purchase module has the same issue.
I'm updating with your same code those report and I will push all today.
I have to push it myself because it is binary data and patch format is not correctly supported. New changeset 603197e8182f by C?dric Krier in branch 'default':
Format unit price with internal digits instead of the currency digits
http://hg.tryton.org/modules/account_invoice/rev/603197e8182f- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset f8545c155b41 by C?dric Krier in branch 'default':
Format unit price with internal digits instead of the currency digits
http://hg.tryton.org/modules/sale/rev/f8545c155b41New changeset 8d7972f0c978 by C?dric Krier in branch 'default':
Format unit price with internal digits instead of the currency digits
http://hg.tryton.org/modules/purchase/rev/8d7972f0c978Cool :)
- Shreedhar Manek reopened
reopened