跳至内容
菜单
此问题已终结

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




形象
丢弃
最佳答案

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

   

形象
丢弃
相关帖文 回复 查看 活动
0
1月 22
1988
1
7月 21
7149
1
6月 24
3468
1
6月 23
2544
1
11月 20
3952