Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5352 Vistas

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

Avatar
Descartar
Mejor respuesta

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

Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
abr 19
4094
1
jun 16
5176
1
mar 15
4162
1
feb 21
3895
1
ene 18
9563