account_payment error when adding lines to bank statement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 | ||
6.0 |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When adding payment lines to the bank statement (via wizard account.
this error pops up when trying to add the actual lines to the statement.
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-28-generic
Operating System Version : #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
result = voucher_
TypeError: onchange_
Related branches
- OpenERP R&D Team: Pending requested
-
Diff: 667 lines (+70/-70)41 files modifiedaccount_voucher/account_voucher.py (+1/-1)
account_voucher/i18n/account_voucher.pot (+1/-1)
account_voucher/i18n/ar.po (+1/-1)
account_voucher/i18n/bg.po (+1/-1)
account_voucher/i18n/bs.po (+1/-1)
account_voucher/i18n/ca.po (+3/-3)
account_voucher/i18n/cs.po (+1/-1)
account_voucher/i18n/de.po (+2/-2)
account_voucher/i18n/el.po (+3/-3)
account_voucher/i18n/es.po (+4/-4)
account_voucher/i18n/es_AR.po (+1/-1)
account_voucher/i18n/es_EC.po (+4/-4)
account_voucher/i18n/et.po (+1/-1)
account_voucher/i18n/fr.po (+2/-2)
account_voucher/i18n/hi.po (+1/-1)
account_voucher/i18n/hr.po (+1/-1)
account_voucher/i18n/hu.po (+2/-2)
account_voucher/i18n/id.po (+1/-1)
account_voucher/i18n/it.po (+3/-3)
account_voucher/i18n/ko.po (+1/-1)
account_voucher/i18n/lt.po (+3/-3)
account_voucher/i18n/mn.po (+1/-1)
account_voucher/i18n/nl.po (+1/-1)
account_voucher/i18n/nl_BE.po (+1/-1)
account_voucher/i18n/oc.po (+1/-1)
account_voucher/i18n/pl.po (+2/-2)
account_voucher/i18n/pt.po (+3/-3)
account_voucher/i18n/pt_BR.po (+2/-2)
account_voucher/i18n/ro.po (+3/-3)
account_voucher/i18n/ru.po (+1/-1)
account_voucher/i18n/sl.po (+1/-1)
account_voucher/i18n/sq.po (+1/-1)
account_voucher/i18n/sr.po (+2/-2)
account_voucher/i18n/sr@latin.po (+2/-2)
account_voucher/i18n/sv.po (+1/-1)
account_voucher/i18n/tlh.po (+1/-1)
account_voucher/i18n/tr.po (+3/-3)
account_voucher/i18n/uk.po (+1/-1)
account_voucher/i18n/vi.po (+1/-1)
account_voucher/i18n/zh_CN.po (+3/-3)
account_voucher/i18n/zh_TW.po (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Released → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
It seems the date attribute is missing from the onchange_partner_id call.
Not sure where it is used (seems to end up in context for multicurrency bookings) so I have just inserted the current date, maybe it would be better to change account_voucher module to not make date a required attribute instead.