[16.0][ADD] report_qweb_decimal_place#709
Conversation
I think we should treat this PR as an addition instead of migration. |
ea673b6 to
08e1ad2
Compare
| <span | ||
| class="text-nowrap" | ||
| t-esc="price_unit" | ||
| t-options='{"widget": "float", "precision": currency.price_decimal_places}' | ||
| /> |
There was a problem hiding this comment.
| <span | |
| class="text-nowrap" | |
| t-esc="price_unit" | |
| t-options='{"widget": "float", "precision": currency.price_decimal_places}' | |
| /> | |
| <t t-if="currency.apply_price_decimal_place"> | |
| <span | |
| class="text-nowrap" | |
| t-esc="price_unit" | |
| t-options='{"widget": "float", "precision": currency.price_decimal_places}' | |
| /> | |
| </t> |
As we talked earlier, to minimize the code in the extension of individual reports.
| <t t-if="doc.currency_id.apply_price_decimal_place"> | ||
| <t t-set="currency" t-value="doc.currency_id" /> | ||
| <t t-set="price_unit" t-value="line.price_unit" /> | ||
| <t t-call="report_qweb_decimal_place.price_unit_value_format" /> | ||
| </t> |
There was a problem hiding this comment.
| <t t-if="doc.currency_id.apply_price_decimal_place"> | |
| <t t-set="currency" t-value="doc.currency_id" /> | |
| <t t-set="price_unit" t-value="line.price_unit" /> | |
| <t t-call="report_qweb_decimal_place.price_unit_value_format" /> | |
| </t> | |
| <t t-set="currency" t-value="doc.currency_id" /> | |
| <t t-set="price_unit" t-value="line.price_unit" /> | |
| <t t-call="report_qweb_decimal_place.price_unit_value_format" /> |
6bb70df to
b15ee48
Compare
b15ee48 to
17e1522
Compare
|
This PR has the |
|
/ocabot merge nobump |
|
What a great day to merge this nice PR. Let's do it! |
|
It looks like something changed on |
|
Congratulations, your PR was merged at 8eb7d33. Thanks a lot for contributing to OCA. ❤️ |
@qrtl