Re: [tryton-dev] Force an account on a product in a configuration form

2017-03-03 Thread Cédric Krier
On 2017-03-03 13:56, Vincent Bastos wrote: > On Sun, Feb 19, 2017 at 9:40 AM, Cédric Krier wrote: > I tried this module, but it's not what I am trying to achieve. In my module > I have a function which automatically sends parties invoices by email > or/and post depending on what the party has sele

Re: [tryton-dev] Force an account on a product in a configuration form

2017-03-02 Thread Vincent Bastos
On Sun, Feb 19, 2017 at 9:40 AM, Cédric Krier wrote: > On 2017-02-19 06:00, Vincent Bastos wrote: > > For this module there is a function which automatically applies a charge > > based on certain conditions. So I guess the right way of implementing > this > > is actually to create a product recor

Re: [tryton-dev] Force an account on a product in a configuration form

2017-02-18 Thread Cédric Krier
On 2017-02-19 06:00, Vincent Bastos wrote: > For this module there is a function which automatically applies a charge > based on certain conditions. So I guess the right way of implementing this > is actually to create a product record in XML in the module already. I do not recommend to create pro

Re: [tryton-dev] Force an account on a product in a configuration form

2017-02-18 Thread Vincent Bastos
On Sat, Feb 18, 2017 at 10:13 PM, Cédric Krier wrote: > On 2017-02-17 20:37, Vincent Bastos wrote: > > Hi, > > > > I would like to create a Configuration form for a module that has a > > mandatory field for a product and I would like this form to force the > user > > to create a product with acco

Re: [tryton-dev] Force an account on a product in a configuration form

2017-02-18 Thread Cédric Krier
On 2017-02-17 20:37, Vincent Bastos wrote: > Hi, > > I would like to create a Configuration form for a module that has a > mandatory field for a product and I would like this form to force the user > to create a product with accounts being setup. > > Is this possible? How would I do this? This