On 10/28/2010 06:30 PM, Udo Spallek wrote:
> Hello Paul,
> 
> Am Mittwoch, den 27.10.2010, 14:35 +0200 schrieb Paul J Stevens:
>> I'm trying to use the wizard to reconcile two movelines using Proteus.
>> But I'm not sure how to do this correctly:
>> given two posted lines, both on the same journal:
>> models = ModelList()
>> models.append(line1)
>> models.append(line2)
>> Wizard('account.move.reconcile_lines', models=models)
> did you try:
> 
> models = []
> models.append(line1)
> models.append(line2)
> Wizard('account.move.reconcile_lines', models=models)

No. The first lines of proteus.Wizard reads:


    def __init__(self, name, models=None, config=None, context=None):
        if models:
            assert isinstance(models, ModelList)



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

-- 
[email protected] mailing list

Reply via email to