Re: [tryton-dev] Improving ModelStorage.write

2013-06-19 Thread Cédric Krier
On 19/06/13 16:00 +0200, Guillem Barba Domingo wrote: > 2013/6/19 Cédric Krier > > > Hi, > > > > In the same idea as the changeset [1], I would like to propose this > > change for the write method: > > > > sounds good > > > > @classmethod > > def write(cls, records, values): > >

Re: [tryton-dev] Improving ModelStorage.write

2013-06-19 Thread Guillem Barba Domingo
2013/6/19 Cédric Krier > Hi, > > In the same idea as the changeset [1], I would like to propose this > change for the write method: > sounds good > @classmethod > def write(cls, records, values): > … > > => > > @classmethod > def write(cls, records, values, *args):

[tryton-dev] Improving ModelStorage.write

2013-06-19 Thread Cédric Krier
Hi, In the same idea as the changeset [1], I would like to propose this change for the write method: @classmethod def write(cls, records, values): … => @classmethod def write(cls, records, values, *args): assert not len(args) % 2 all_records = []

[tryton-dev] trytond: Correctly compute missing dependencies (issue 935002)

2013-06-19 Thread cedric . krier
Reviewers: , Please review this at http://codereview.tryton.org/935002/ Affected files: M trytond/modules/__init__.py Index: trytond/modules/__init__.py === --- a/trytond/modules/__init__.py +++ b/trytond/modules/__init__.py