[tryton] Re: Mandatory fields

2014-05-27 Thread Katsandres
many thanks Sergi !

[tryton] Re: Mandatory fields

2014-05-27 Thread Katsandres
Just wanted to make field 'company' NOT mandatory in inventory/stock - Internal shipments. I don't understand the need of this field in an internal stock shipment

Re: [tryton] Re: Mandatory fields

2014-05-27 Thread Cédric Krier
On 27 May 02:35, Katsandres wrote: Just wanted to make field 'company' NOT mandatory in inventory/stock - Internal shipments. I don't understand the need of this field in an internal stock shipment This is exactly the kind of changes that can break the application. This field is required

Re: [tryton] Re: Mandatory fields

2014-05-27 Thread Katsandres
Ok, I see. Because always the company is the same I'll choose a default value and then I 'll hide the field. Kostas On Tuesday, 27 May 2014 13:10:49 UTC+3, Cédric Krier wrote: On 27 May 02:35, Katsandres wrote: Just wanted to make field 'company' NOT mandatory in inventory/stock -

Re: [tryton] Re: Mandatory fields

2014-05-27 Thread Cédric Krier
On 27 May 03:15, Katsandres wrote: Ok, I see. Because always the company is the same I'll choose a default value and then I 'll hide the field. In your case but not always. The code relies on having a value in this field which is by default filled with the current company of the user. PS:

Re: [tryton] Re: Mandatory fields

2014-05-27 Thread Katsandres
On Tuesday, 27 May 2014 13:36:02 UTC+3, Cédric Krier wrote: On 27 May 03:15, Katsandres wrote: Ok, I see. Because always the company is the same I'll choose a default value and then I 'll hide the field. In your case but not always. The code relies on having a value in this