← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 800693] Re: Account Module : account.journal write method only accepts list ids

 

Hello,

The problem is occurs only when you have call the write method via
script and passed the integer value in ids not the list.

And I have checked the attached patch and it is working fine.

I have attached a script which have run the write method and when you
run this script you have faced the problem.

So I am confirming this issue.

Thanks.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/800693

Title:
  Account Module : account.journal write method only accepts list ids

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  Hi,

  The method write of account_journal in addons/account/account.py iterates on ids without checking if this a list.
  So we cannot do a write on a journal with its id in integer.

  I attach the patches for 6.0 stable and trunk version.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/800693/+subscriptions


References