** Tags added: invoicing

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1190823

Title:
  KeyError: 'date_original'

Status in OpenERP Canada:
  Fix Released
Status in OpenERP Addons (modules):
  Confirmed

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.tools.safe_eval: Cannot eval 
"formatLang(l['date_original'] ,date=True) or ''"
  Traceback (most recent call last):
    File "/home/max/openerp/server/7.0/openerp/tools/safe_eval.py", line 241, 
in safe_eval
      return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, 
locals_dict)
    File "", line 1, in <module>
  KeyError: 'date_original'
  2013-06-14 02:11:50,524 5256 ERROR Check openerp.tools.safe_eval: Cannot eval 
"formatLang( l['amount_due'])"
  Traceback (most recent call last):
    File "/home/max/openerp/server/7.0/openerp/tools/safe_eval.py", line 241, 
in safe_eval
      return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, 
locals_dict)
    File "", line 1, in <module>
  KeyError: 'amount_due'
  2013-06-14 02:11:50,527 5256 WARNING Check 
openerp.report.render.rml2pdf.trml2pdf: Warning: style not found, P26 - setting 
default!

  2013-06-14 02:11:50,527 5256 ERROR Check openerp.tools.safe_eval: Cannot eval 
'str(fill_stars(voucher.amount_in_word))'
  Traceback (most recent call last):
    File "/home/max/openerp/server/7.0/openerp/tools/safe_eval.py", line 241, 
in safe_eval
      return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, 
locals_dict)
    File "", line 1, in <module>
    File 
"/home/max/openerp/addons/7.0/account_check_writing/report/check_print.py", 
line 37, in fill_stars
      amount = amount.replace('Dollars','')
  AttributeError: 'bool' object has no attribute 'replace'
  2013-06-14 02:11:50,532 5256 ERROR Check openerp.tools.safe_eval: Cannot eval 
"formatLang(l['date_original'] ,date=True) or ''"
  Traceback (most recent call last):
    File "/home/max/openerp/server/7.0/openerp/tools/safe_eval.py", line 241, 
in safe_eval
      return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, 
locals_dict)
    File "", line 1, in <module>
  KeyError: 'date_original'
  2013-06-14 02:11:50,533 5256 ERROR Check openerp.tools.safe_eval: Cannot eval 
"formatLang (l['amount_due'])"
  Traceback (most recent call last):
    File "/home/max/openerp/server/7.0/openerp/tools/safe_eval.py", line 241, 
in safe_eval
      return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, 
locals_dict)
    File "", line 1, in <module>
  KeyError: 'amount_due'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-canada/+bug/1190823/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to