Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5343 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

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).

Najlepsza odpowiedź

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
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
kwi 19
4090
1
cze 16
5157
1
mar 15
4161
1
lut 21
3889
1
sty 18
9556