Em 22/10/2013 10:32, Jean C escreveu:
- In the server log, when installing / upgrading, do you see
"INFO:modules:nfse_br:__registering classes" ?
yes
[Tue Oct 22 09:59:36 2013] INFO:modules:nfse_br:__registering
classes (appears 4 times)
[Tue Oct 22 09:59:36 2013]
INFO:modules:account_invoice:__registering classes
[Tue Oct 22 11:35:57 2013] INFO:modules:nfse_br:loading invoice.xml
[Tue Oct 22 11:35:57 2013] INFO:modules:account_invoice
[Tue Oct 22 11:35:57 2013] INFO:modules:nfe_br
[Tue Oct 22 11:35:57 2013] INFO:server:Update/Init succeed!
It is weird that your module appears before account_invoice. Did you add
account_invoice in your module tryton.cfg depends ?
I had not added. I added and worked. I did not know that missing
dependencies could give this type of error. I'll add next time.
And the file invoice.xml looked like this:
...
<field name="model">account.invoice</field>
<field name="inherit" ref="account_invoice.invoice_view_form"/>
...
Jean CAVALLO
Coopengo
Thank you all!
--
Iasmini Gomes
SÃlex Sistemas
[email protected]
www.silexsistemas.com.br