Skip to Content
Menu
This question has been flagged
2 Replies
4469 Views

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

Avatar
Discard
Author

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?

Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 23
318
1
Apr 24
1798
4
Jun 20
3308
1
Mar 15
4105
0
Nov 23
746