[6.0][account] REGRESSION: referenced account.bank.statement.reconcile doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
Mustufa Rangwala (Open ERP) |
Bug Description
Hello,
in trunk revision #4989,
there are several references to the 'account.
An error example is when you create a new bank statement, then click on the "import invoice" button, then select some invoice and click OK, then you get that stack trace:
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
reconcile_id = statement_
AttributeError: 'NoneType' object has no attribute 'create'
But actually there might be other place where such bugs would occur as a simple grep shows other occurrences:
rvalyi@
grep: ./project_
./account_
./account/
./account/
./account_
./l10n_
./account_
Looks like some cowboy refactoring without even checking with a simple grep, that leads to critical accounting bugs where you can't even pay an invoice anymore guys!
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
assignee: | nobody → mra (Open ERP) (mra-tinyerp) |
Hello,
This is bug is already fixed in lp:~openerp-dev/openobject-addons/trunk-dev-addons3 branch and it will be merged soon with Trunk Addons.
Thank you,
Mustufa