Re: [tryton] new fields in invoice

2013-10-23 Thread Guillem Barba Domingo
El 22/10/2013 15:01, "Gmail - Iasmini" va escriure: >> >> 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 erro

Re: [tryton] new fields in invoice

2013-10-22 Thread Gmail - Iasmini
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 2

Re: [tryton] new fields in invoice

2013-10-22 Thread Jean C
> > >- 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 > clas

Re: [tryton] new fields in invoice

2013-10-22 Thread Gmail - Iasmini
Em 22/10/2013 10:09, Mark Hayden escreveu: On 22 Oct 2013 04:07, "Gmail - Iasmini" mailto:iasmini.go...@gmail.com>> wrote: > > Em 22/10/2013 05:08, Raimon Esteve escreveu: > >>> account_invoice.invoice >> >> >> Model is account.invoice >> > > If I change "_" to "." it give

Re: [tryton] new fields in invoice

2013-10-22 Thread Gmail - Iasmini
Em 22/10/2013 09:22, Jean C escreveu: A few things to check : - Is the folder in which your module is stored named "nfse_br" ? yes /opt/trytond/trytond/modules/nfse_br - Does the module appear in the client Administration > Modules entry point ? yes and it's installed. I created this modul

Re: [tryton] new fields in invoice

2013-10-22 Thread Mark Hayden
On 22 Oct 2013 04:07, "Gmail - Iasmini" wrote: > > Em 22/10/2013 05:08, Raimon Esteve escreveu: > >>> account_invoice.invoice >> >> >> Model is account.invoice >> > > If I change "_" to "." it gives the error: > > module, xml_id = xml_id.split('.') > ValueError: too many values to unp

Re: [tryton] new fields in invoice

2013-10-22 Thread Jean C
A few things to check : - Is the folder in which your module is stored named "nfse_br" ? - Does the module appear in the client Administration > Modules entry point ? - In the server log, when installing / upgrading, do you see "INFO:modules:nfse_br:registering classes" ? - When overriding __se

Re: [tryton] new fields in invoice

2013-10-22 Thread Gmail - Iasmini
Em 22/10/2013 05:08, Raimon Esteve escreveu: account_invoice.invoice Model is account.invoice Ok, I changed only at this line and it gives no error on build, but the table wasn't modified. Were not added new fields. -- Iasmini Gomes Sílex Sistemas iasm...@silexsistemas.com.br

Re: [tryton] new fields in invoice

2013-10-22 Thread Gmail - Iasmini
Em 22/10/2013 05:08, Raimon Esteve escreveu: account_invoice.invoice Model is account.invoice If I change "_" to "." it gives the error: module, xml_id = xml_id.split('.') ValueError: too many values to unpack when I try to do: ./trytond -d cavucador -u nfse_br -- Iasmini Gom

Re: [tryton] new fields in invoice

2013-10-22 Thread Raimon Esteve
> account_invoice.invoice Model is account.invoice

Re: [tryton] new fields in invoice

2013-10-21 Thread Gmail - Iasmini
Em 21/10/2013 16:52, Mark Hayden (local) escreveu: On Mon, 2013-10-21 at 15:29 -0200, Gmail - Iasmini wrote: Hello, I added new fields in invoice, but they are not being added at the table and screen. For instance, field active: I haven't done a thorough look at all the code you've shown here

Re: [tryton] new fields in invoice

2013-10-21 Thread Mark Hayden (local)
On Mon, 2013-10-21 at 15:29 -0200, Gmail - Iasmini wrote: > Hello, > > I added new fields in invoice, but they are not being added at the table > and screen. For instance, field active: I haven't done a thorough look at all the code you've shown here but one thing I have noted is that you have

[tryton] new fields in invoice

2013-10-21 Thread Gmail - Iasmini
Hello, I added new fields in invoice, but they are not being added at the table and screen. For instance, field active: 1) invoice.py # -*- coding: utf-8 -*- from trytond.model import fields from trytond.pool import PoolMeta __metaclass__ = PoolMeta __all__ = ['Invoice'] class Invoice: