Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5347 Visualizações

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

Avatar
Cancelar
Melhor resposta

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

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
abr. 19
4092
1
jun. 16
5168
1
mar. 15
4162
1
fev. 21
3893
1
jan. 18
9556