[6.0.3] audit-name-create

Bug #949231 reported by OpenBias
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Publisher's Warranty Team

Bug Description

On the audit module, when you want to audit an object that has no name column or that in that precise record creation you are not sending the name field, it crashes. The audit create, asumes that you will always create objects with the name field.

So, if it does not has a name field on the creation, it only adds that key, so the audit module can get the name form the name_get function or the _rec_name option...

Related branches

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

If you want to contribute this to trunk:

$ bzr branch lp:openobject-addons trunk-addons
$ cd trunk-addons
$ bzr merge -r-1.. lp:~openbias/bias-trunk/bias-bugs (this will 'cherry-pick' the change onto trunk, fix up any merge conflicts)
$ bzr commit --fixes lp:949231
$ bzr push lp:~openbias/openobject-addons/fix-949231 (this pushes a branch under your team name for added recognition)

And file a merge proposal into lp:openobject-addons

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

I will ask to solve this with ur oup it is happening to us too!

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello ,

I have checked this issue with trunk as well as stable.
Currently Its working fine with latest trunk.Its only reproducible with
stable 6.0.3.

Thank you!

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
summary: - audit-name-create
+ [6.0.3] audit-name-create
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Fixed in following branch,
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-572587-rha
Revision 5140
Revision ID: <email address hidden>

Thanks for bug report!

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Landed on stable 6.0,
Revision ID: <email address hidden>
Revision 5174

Thanks!

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.