Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
5344 Vues

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

Avatar
Ignorer
Meilleure réponse

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.

Avatar
Ignorer
Auteur

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

Meilleure réponse

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
Avatar
Ignorer
Publications associées Réponses Vues Activité
3
avr. 19
4091
1
juin 16
5159
1
mars 15
4161
1
févr. 21
3891
1
janv. 18
9556