On Sunday, June 11, 2017 at 5:10:05 PM UTC+9, Cédric Krier wrote: > > On 2017-06-10 10:23, 'Artem Braga' via tryton wrote: > > суббота, 10 июня 2017 г., 18:32:15 UTC+3 пользователь Dr. Praveen Bhatia > > написал: > > > I get this error > > > The field "Account Payable" on "Party" is required > > > When party.save() is done after creating company. > > > > > > However, I dont get this error before creating company. > > > > > > What is the logic behind this? > > It is required to assign account payable and account receivable to every > > party created. These fields become required after some settings (do not > > remember which exactly) are done. > > Once the user is in a company. But I'm wondering if it is really a good > choice to make a field required depending on the context. > > In general, how does one know what is the "required" field of any Model, specially, when it also depends on the context. This is for programming in Proteus.
> Website: http://www.b2ck.com/ > -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/bf76cabc-c490-4087-b14f-83657ba75773%40googlegroups.com.
