Re: [tryton-dev] How to update to null a table column with python-sql

2018-02-01 Thread Raimon Esteve
Hie, 2018-01-31 15:40 GMT+01:00 Raimon Esteve : > > > 2018-01-31 15:19 GMT+01:00 Cédric Krier : > >> On 2018-01-31 13:50, Raimon Esteve wrote: >> > I try with python-sql to update a column to "null". >> > >> > Somebody know how to update to null a column? >> > >> > Example: >> > >> >

Re: [tryton-dev] How to update to null a table column with python-sql

2018-01-31 Thread Raimon Esteve
2018-01-31 15:19 GMT+01:00 Cédric Krier : > On 2018-01-31 13:50, Raimon Esteve wrote: > > I try with python-sql to update a column to "null". > > > > Somebody know how to update to null a column? > > > > Example: > > > > query = user.update( > > columns=[user.main_c

Re: [tryton-dev] How to update to null a table column with python-sql

2018-01-31 Thread Cédric Krier
On 2018-01-31 13:50, Raimon Esteve wrote: > I try with python-sql to update a column to "null". > > Somebody know how to update to null a column? > > Example: > > query = user.update( > columns=[user.main_company], > values=[None], <- I like he

[tryton-dev] How to update to null a table column with python-sql

2018-01-31 Thread Raimon Esteve
hie, I try with python-sql to update a column to "null". Somebody know how to update to null a column? Example: query = user.update( columns=[user.main_company], values=[None], <- I like here to update with null where=user.