Re: [tryton] New field is not displayed in form

2014-09-17 Thread Gregor Horvath
Am Wed, 17 Sep 2014 12:08:52 +0200 schrieb Raimon Esteve : > diff: > > - invoice_line_form.xml > +invoice_line_form > > add invoice_line_form.xml is in view directory now it worked thank you! -- gregor signature.asc Description: PGP signature

Re: [tryton] How to disable create and delete/restore buttons on a One2Many field

2014-09-17 Thread Sergi Almacellas Abellana
El 17/09/14 a les 12:22, Cédric Krier ha escrit: Forget it. Now it apears correctly, so i imagine that the cache was giving >me the wrong access methods. > >Should an update of the module clear the cache? The cache is in the client. Understood, just for the record: The client must *always* be cl

Re: [tryton] New field is not displayed in form

2014-09-17 Thread Gregor Horvath
Am Wed, 17 Sep 2014 11:29:00 +0200 schrieb Cédric Krier : > On 17 Sep 09:04, Gregor Horvath wrote: > > Hi, > > > > for educational reasons I made a small toy project. > > I wanted to add a field to the invoice_line. > > It worked for the model, but unfortunately the field does not show > > up in

Re: [tryton] How to disable create and delete/restore buttons on a One2Many field

2014-09-17 Thread Cédric Krier
On 17 Sep 12:12, Sergi Almacellas Abellana wrote: > El 17/09/14 a les 11:24, Cédric Krier ha escrit: > >On 16 Sep 13:31, Sergi Almacellas Abellana wrote: > >>>Hi, > >>> > >>>I have defined a new One2Many field on sale, which target model it's a > >>>table_query. I've overridden the write method in

Re: [tryton] How to disable create and delete/restore buttons on a One2Many field

2014-09-17 Thread Sergi Almacellas Abellana
El 17/09/14 a les 11:24, Cédric Krier ha escrit: On 16 Sep 13:31, Sergi Almacellas Abellana wrote: >Hi, > >I have defined a new One2Many field on sale, which target model it's a >table_query. I've overridden the write method in order to save the >modifications in the origin table, but I don't wa

Re: [tryton] New field is not displayed in form

2014-09-17 Thread Raimon Esteve
> > > > > > account.invoice.line > ref="account_invoice.invoice_line_view_form"/> > invoice_line_form.xml > > > > > An example: account.invoice.line form invoice_line_form

Re: [tryton] New field is not displayed in form

2014-09-17 Thread Cédric Krier
On 17 Sep 09:04, Gregor Horvath wrote: > Hi, > > for educational reasons I made a small toy project. > I wanted to add a field to the invoice_line. > It worked for the model, but unfortunately the field does not show up in > the form. > > I made a new project account_invoice_anteile. I followed t

Re: [tryton] How to disable create and delete/restore buttons on a One2Many field

2014-09-17 Thread Cédric Krier
On 16 Sep 13:31, Sergi Almacellas Abellana wrote: > Hi, > > I have defined a new One2Many field on sale, which target model it's a > table_query. I've overridden the write method in order to save the > modifications in the origin table, but I don't wan't the users to create or > delete records on

[tryton] How to disable create and delete/restore buttons on a One2Many field

2014-09-17 Thread Sergi Almacellas Abellana
Hi, I have defined a new One2Many field on sale, which target model it's a table_query. I've overridden the write method in order to save the modifications in the origin table, but I don't wan't the users to create or delete records on the One2Many field, so I didn't override the create and d

[tryton] New field is not displayed in form

2014-09-17 Thread Gregor Horvath
Hi, for educational reasons I made a small toy project. I wanted to add a field to the invoice_line. It worked for the model, but unfortunately the field does not show up in the form. I made a new project account_invoice_anteile. I followed the standard project analytic_invoice, because that does