Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5517 Weergaven

Hi,

I'm trying to customise the sale order report on odoo13 CE. Since invoice and order are mostly the same thing, I want to reuse what I have done for my invoice report : i.e keeping the same page layout.

I extended 'sale.report_saleorder_document' and it's ok  when I print my order, but when I click on 'preview' odoo use "sale_order_portal_content". It works differently from the invoices.

 

How can I make the preview button to use my own report ?


Regards




Avatar
Annuleer
Beste antwoord

Hello,

Inherit this id using :- sale.sale_order_portal_content

after inherit this id :- sale.sale_order_portal_content add your custom code

Regards,




Email:     odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jan. 22
1997
1
jul. 21
7176
1
jun. 24
3489
1
jun. 23
2578
1
nov. 20
3971