跳至内容
菜单
此问题已终结
1 回复
5252 查看

I'm trying to edit my report_saledetails and I can't seem to add the total price of the product. It's only displaying the unitary price:

<t t-esc="line["price_unit"]"/>
<t t-if="line["discount"] != 0">
Disc: <t t-esc="line["discount"]"/>%
</t>
</td>

Also, is there a way to add the payment method used on product showed on the report?

形象
丢弃
最佳答案

Hi Jorge:

The underlying code is not passing the total price to the report. You will need to calculate the price in the report or customize the underlying code.

Here's a link to the section of the code that sets the values that are passed to the report.

report_saledetails

形象
丢弃
相关帖文 回复 查看 活动
1
10月 23
2678
1
3月 15
8728
1
3月 15
5406
1
7月 25
1432
2
8月 24
2106