KeyError: 'date_original'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 3 | ||
OpenERP Canada |
Fix Released
|
Undecided
|
David Cormier |
Bug Description
On OpenERP 7, install check_writing module
Choose your chart of accounts template
Using the check form and the payment method field, create a new journal with 'Allow check writing' on
Create a supplier invoice, validate it and pay with the payment method created before.
In the list of checks, select your check and print it (any of top, middle or bottom).
PDF file is generated but there is some data missing due to those error messages in the log :
2013-06-14 02:11:50,523 5256 ERROR Check openerp.
Traceback (most recent call last):
File "/home/
return eval(test_
File "", line 1, in <module>
KeyError: 'date_original'
2013-06-14 02:11:50,524 5256 ERROR Check openerp.
Traceback (most recent call last):
File "/home/
return eval(test_
File "", line 1, in <module>
KeyError: 'amount_due'
2013-06-14 02:11:50,527 5256 WARNING Check openerp.
2013-06-14 02:11:50,527 5256 ERROR Check openerp.
Traceback (most recent call last):
File "/home/
return eval(test_
File "", line 1, in <module>
File "/home/
amount = amount.
AttributeError: 'bool' object has no attribute 'replace'
2013-06-14 02:11:50,532 5256 ERROR Check openerp.
Traceback (most recent call last):
File "/home/
return eval(test_
File "", line 1, in <module>
KeyError: 'date_original'
2013-06-14 02:11:50,533 5256 ERROR Check openerp.
Traceback (most recent call last):
File "/home/
return eval(test_
File "", line 1, in <module>
KeyError: 'amount_due'
Related branches
- Joao Alfredo Gama Batista: Approve
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve
- OpenERP Community Reviewer/Maintainer: Pending requested
-
Diff: 52 lines (+5/-5)2 files modifiedl10n_ca_account_check_writing/report/l10n_ca_check_print.py (+1/-1)
l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml (+4/-4)
- OpenERP Core Team: Pending requested
-
Diff: 79 lines (+8/-8)2 files modifiedaccount_check_writing/report/check_print_bottom.rml (+4/-4)
account_check_writing/report/check_print_middle.rml (+4/-4)
Changed in openerp-canada: | |
assignee: | nobody → David Cormier (david-cormier-j) |
Changed in openerp-canada: | |
status: | New → Fix Committed |
summary: |
- [7.0] KeyError: 'date_original' + KeyError: 'date_original' |
Changed in openerp-canada: | |
status: | Fix Committed → Fix Released |
tags: | added: invoicing |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello Maxime,
I have checked your issue with latest trunk as well as with 7.0. But Its working fine at all.
So, would you please check it again with and notify me if you still face any issue.
Thank you.