跳至內容
選單
此問題已被標幟
1 回覆
5278 瀏覽次數

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
2715
1
3月 15
8757
1
3月 15
5430
1
7月 25
1460
2
8月 24
2152