跳至內容
選單
此問題已被標幟
1 回覆
2732 瀏覽次數

okay is kinda weird. I have check everything but no idea why odoo not updating my company name on the invoice. or i am wrong 

here is the code on the page just in case.

also i have uploaded 2 image 
https://ibb.co/0JMYhXk

https://ibb.co/bFLbfyF


company.id}_layout" t-att-style="report_header_style">


Logo
















company.id}_layout {{ 'o_report_layout_background' if company.layout_background in ['Geometric', 'Custom'] else '' }}" t-attf-style="background-image: url({{ 'data:image/png;base64,%s' % company.layout_background_image.decode('utf-8') if company.layout_background_image and company.layout_background == 'Custom' else '/base/static/img/bg_background_template.jpg' if company.layout_background == 'Geometric' else ''}});" t-att-data-oe-model="o and o._name" t-att-data-oe-id="o and o.id" t-att-data-oe-lang="o and " rel="ugc">o.env.context.get('lang')">







" rel="ugc">company.id}_layout">






Page: /




頭像
捨棄
最佳答案

Hi,

You can change the company details in the company master as well as in the document layout in the general settings.

And as per shared images, it seems you already have done it. As you say it's still not working, can you create a new invoice and see if it works fine for it.

Because there is an option in Odoo called Reload from attachment for the reports, so if this is ticked for the report, instead of rendering new report, you will get the initially printed report on further printing.


Thanks & Regards

Walnut Software Solutions

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
8月 24
3476
1
10月 21
3402
2
12月 20
3397
1
6月 20
3154
1
7月 19
2451