Account Module : account.journal write method only accepts list ids
Bug #800693 reported by
Guewen Baconnier @ Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hi,
The method write of account_journal in addons/
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
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-800693-bde
- tfr (Openerp) (community): Needs Fixing
- Mustufa Rangwala (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 12 lines (+2/-0)1 file modifiedaccount/account.py (+2/-0)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.