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

Is it possible to reconfigure the documents attached and how. Thanks

頭像
捨棄
最佳答案

1.

  • You can delete attached document:

image description

  • You can add new file with function Add.
  • Knowledge / Documents / Documents you can manage all attachments.

2.

頭像
捨棄
作者

Thank you for the answer. I'm sorry maybe my question wasn't very clear.In fact my question is on the content of a document it-self (for example a quotation that has been automatically generated by OpenERP, how can i change the header or define other properties).

最佳答案

To modify header and view of automatically-generated OpenERP Report,

You should modify the .rml files.

You can find them in /addons/sale/report/sale_order.rml

Instead of hard-coding the rml, you are able to modify it more comfortably by using OpenOffice then save it to .sxw.

Later, you will have to access /addons/base_report_designer/openerp_sxw2rml/openerp_sxw2rml.py to convert .sxw file to .rml file

Files which are important for reporting :

  1. /addons/sale/sale_report.xml
  2. /addons/sale/report/sale_order.rml
  3. /addons/sale/report/sale_order.sxw
  4. /addons/sale/report/sale_order.py
  5. /addons/sale/report/__init__.py

Don't forget to make sure this constrain

  1. On /addons/sale/__init__.py : import report
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
4月 19
4098
1
6月 16
5177
1
3月 15
4164
1
2月 21
3898
1
1月 18
9563