Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5350 Vistas

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
Descartar
Autor

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?

Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 23
1618
1
abr 24
3674
4
jun 20
4561
1
mar 15
5136
0
nov 23
1821