Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5526 Lượt xem

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




Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

   

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 22
2001
1
thg 7 21
7189
1
thg 6 24
3493
1
thg 6 23
2592
1
thg 11 20
3986