تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3086 أدوات العرض

Hi all, 

where can I find default Quotation/Sales Order/Invoice templates so I can inherit them and configure the way I want? I'm talking about print version (pdf templates). Sorry for newbie question, still trying to learn. Thank you!

الصورة الرمزية
إهمال
أفضل إجابة

Hello Matija,

First, turn on developer tools.

In the technical menu go to Actions > Reports.

This will open a tree view with all your PDF reports.

Look for "sale.report_saleorder" and "account.report_invoice_with_payments".

Hope it helps.

الصورة الرمزية
إهمال
الكاتب

Julien, thank you - I will mark your comment as best answer as it is - but I have additional question so I'm leaving it opened so somebody who can help sees it, or maybe you can help with it also?

الكاتب أفضل إجابة

Great, that is helpfull. 

Now, I want to redesign it an to inherit that complete template report_saleorder_document

I tried to do it like this:

In my custom module in folder report I created sale_order_report_inherited.xml in which I put this code (only upper part of it is in screenshot) - see screenshot here https://ibb.co/5xWFnGw

I added that file in manifest.py and added 'sale' in depends. When I try to change some text in this template nothing changes on quotation pdf - what am I doing wrong - how to inherit entire template? Thank you!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 22
3099
0
أبريل 21
1883
1
أغسطس 23
2611
1
مارس 25
25820
1
ديسمبر 22
10647