Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
5357 Weergaven

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
Annuleer
Auteur

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?

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 23
1624
1
apr. 24
3676
4
jun. 20
4565
1
mrt. 15
5137
0
nov. 23
1824