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

Hello,


We are using Odoo Community and would like to add multiple products that may or may not have a price and hide their individual prices in the quotation which will be sent to the respective customer.

While setting the total price for the complete package ourselves, attached below is an example of what we can do on Excel. 

I have tried to go through the documentation, however, there doesn't seem to be any topics mentioning our issue.

If this can be achieved either out of the box, with a custom module or through changing the code please let us know.

Thank you.

SCREENSHOT: https://ibb.co/R3SKGd4

形象
丢弃
编写者

Hi Niyas,

Thank you for your response, we will try to work on the code given your example.

Furthermore, is it possible to have an option in the form to toggle the hiding and showing of the subtotal?

最佳答案

Hi,
If you dont want to show the subtotal of the each line in the sales/quotation report/print you can inherit the report template and replace the column.


Following is a sample code of removing the tax column from the report.

<template id="report_saleorder_document_inherit" inherit_id="sale.report_saleorder_document">
<xpath expr="//th[@name='th_taxes']" position="replace"/>
<xpath expr="//td[@name='td_taxes']" position="replace"/>
</template>

For more:  How To Inherit And Modify Existing PDF Reports in Odoo


Thanks

形象
丢弃
相关帖文 回复 查看 活动
1
11月 23
1622
1
4月 24
3674
4
6月 20
4563
1
3月 15
5136
0
11月 23
1821