I am trying to change the reports' header in OpenERP version 6.1, I know how to do it through the interface, but I need to find the file where the header's RML code is, and make the changes there. I know this file should be in server/openerp/addons/base/res/ in version 7, but in 6.1?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- โปรเจกต์
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
In both version 6.1 and 7 Rml Code available in the
addons/module_name/report/filename.rml
Example Version 6.1 Sale Module Rml File:-
http://bazaar.launchpad.net/~openerp/openobject-addons/6.1/files/head:/sale/report/
Edit:-
Settings/Companies/Companies menu (under the Header/Footer tab)
RML Content is available in the res_company.py file in the _get_header method.
https://github.com/tejastank/openerp-server-6.1/blob/master/openerp/addons/base/res/res_company.py
@prakash: I dont want to change the main header. But i want to add a new header in sales. How can i add this?
I tried many ways, but the header is not changing. What is the way to change the header only in sales?
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
0
ธ.ค. 18
|
3524 | ||
|
|
0
ก.ย. 24
|
4046 | ||
|
|
1
มี.ค. 15
|
5687 | ||
|
|
2
ก.ค. 23
|
13102 | ||
|
|
1
ธ.ค. 22
|
2827 |
You can find rml file related module report folder. Let me know if any issue.
@prakash the module is sale_order, and as you said, I can find the RML file inside the report folder. The problem I was refering to is that from this file I cannot modify the header/footer. It must be another RML file in somewhere in which I can modify the header.
I have just realized that you edited your answer. In which module id the file res_company.py?
In the base module res_company '_get_header' method rml content is added Line no 284.