← Back to team overview

openerp-india team mailing list archive

[Bug 1012931] Re: audit trail one2many error

 

This bug doesn't exist anymore in the trunk. The bug is therefore
rejected.

Arnaud Pineux (API)

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
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/1012931

Title:
  audit trail one2many error

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
          I installed the modules hr、hr_expense and auddittrail,then made audit rule for hr_expense order  and hr_expense.line object for create,write and unlink method. Also I have subscribed both rules.
          And I have made a  hr_expense   order with 2 lines of expense.line in it,then saved the expense.line its completed,when I save the hr_expense order have some error:
          “” Traceback (most recent call last):
    File "C:\Program Files\OpenERP 6.2dev-20120612-230101\Server\server\.\openerp\osv\osv.py", line 121, in wrapper
    File "C:\Program Files\OpenERP 6.2dev-20120612-230101\Server\server\.\openerp\osv\osv.py", line 176, in execute
    File "C:\Program Files\OpenERP 6.2dev-20120612-230101\Server\server\openerp\addons\audittrail\audittrail.py", line 493, in execute_cr
    File "C:\Program Files\OpenERP 6.2dev-20120612-230101\Server\server\openerp\addons\audittrail\audittrail.py", line 300, in log_fct
    File "C:\Program Files\OpenERP 6.2dev-20120612-230101\Server\server\openerp\addons\audittrail\audittrail.py", line 440, in process_data
    File "C:\Program Files\OpenERP 6.2dev-20120612-230101\Server\server\openerp\addons\audittrail\audittrail.py", line 407, in prepare_audittrail_log_line
  KeyError: 'id'
  2012-06-14 09:17:06,108 992 ERROR None openerp.netsvc: id
  2012-06-14 09:17:06,140 992 INFO None werkzeug: 127.0.0.1 - - [14/Jun/2012 09:17:06] "POST /web/dataset/call_kw HTTP/1.1" 200 -“”
        its bug?!help me pls!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1012931/+subscriptions


References