openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12544
[Bug 1013229] [NEW] Audittrail y groub_by cause error
Public bug reported:
Having installed Audittrail:
1.- I'll Administration > Configuration > Audit Rules
2.- I think a new rule on Journal Items, scoring: Log Writes, Log Deletes, Log Creates and Action Log.
3.- I'll Accounting > Journal Entries > Journal Items
4.- I select Group by...
And anyone who select generate the following error.
Traceback (most recent call last):
File "/home/xxxx/oerp/6.0/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/xxxx/oerp/6.0/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/xxxx/oerp/6.0/modules/audittrail/audittrail.py", line 522, in execute
res = my_fct(db, uid, model, method, *args)
File "/home/xxxx/oerp/6.0/modules/audittrail/audittrail.py", line 518, in my_fct
return self.log_fct(db, uid_orig, model, method, fct_src, *args)
File "/home/xxxx/oerp/6.0/modules/audittrail/audittrail.py", line 423, in log_fct
for resource in resource_pool.read(cr, uid, res_ids):
File "/home/xxxx/oerp/6.0/server/bin/osv/orm.py", line 2944, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/xxxx/oerp/6.0/server/bin/osv/orm.py", line 3003, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/xxxx/oerp/6.0/server/bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/home/xxxx/oerp/6.0/server/bin/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
ProgrammingError: arguments IN must be expressions of records registration
LÍNEA 1: ...OM "account_move_line" WHERE account_move_line.id IN ((E'mov...
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1013229
Title:
Audittrail y groub_by cause error
Status in OpenERP Addons (modules):
New
Bug description:
Having installed Audittrail:
1.- I'll Administration > Configuration > Audit Rules
2.- I think a new rule on Journal Items, scoring: Log Writes, Log Deletes, Log Creates and Action Log.
3.- I'll Accounting > Journal Entries > Journal Items
4.- I select Group by...
And anyone who select generate the following error.
Traceback (most recent call last):
File "/home/xxxx/oerp/6.0/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/xxxx/oerp/6.0/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/xxxx/oerp/6.0/modules/audittrail/audittrail.py", line 522, in execute
res = my_fct(db, uid, model, method, *args)
File "/home/xxxx/oerp/6.0/modules/audittrail/audittrail.py", line 518, in my_fct
return self.log_fct(db, uid_orig, model, method, fct_src, *args)
File "/home/xxxx/oerp/6.0/modules/audittrail/audittrail.py", line 423, in log_fct
for resource in resource_pool.read(cr, uid, res_ids):
File "/home/xxxx/oerp/6.0/server/bin/osv/orm.py", line 2944, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/xxxx/oerp/6.0/server/bin/osv/orm.py", line 3003, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/xxxx/oerp/6.0/server/bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/home/xxxx/oerp/6.0/server/bin/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
ProgrammingError: arguments IN must be expressions of records registration
LÍNEA 1: ...OM "account_move_line" WHERE account_move_line.id IN ((E'mov...
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1013229/+subscriptions
Follow ups
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Serpent Consulting Services, 2012-09-30
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Fabien (Open ERP), 2012-09-30
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Launchpad Bug Tracker, 2012-06-21
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Serpent Consulting Services, 2012-06-21
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Launchpad Bug Tracker, 2012-06-21
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Serpent Consulting Services, 2012-06-21
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Launchpad Bug Tracker, 2012-06-21
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Serpent Consulting Services, 2012-06-21
-
[Bug 1013229] Re: [6.0/6.1/trunk] Audittrail : read_group should be skipped just like others!
From: Serpent Consulting Services, 2012-06-21
-
[Bug 1013229] Re: Audittrail y groub_by cause error
From: Serpent Consulting Services, 2012-06-21
-
[Bug 1013229] Re: Audittrail y groub_by cause error
From: Ravish(OpenERP), 2012-06-21
-
[Bug 1013229] Re: Audittrail y groub_by cause error
From: [SISB] Edgar Rivero, 2012-06-20
-
[Bug 1013229] Re: Audittrail y groub_by cause error
From: Ravish(OpenERP), 2012-06-18
-
[Bug 1013229] [NEW] Audittrail y groub_by cause error
From: [SISB] Edgar Rivero, 2012-06-14
References