Don't use the deprecated 'WITH OIDS' option when creating many2many tables

Bug #1087332 reported by Christophe CHAUVET
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Wishlist
OpenERP's Framework R&D

Bug Description

When create a M2M table, the syntax in orm.py is WITH OIDS, as PostgreSQL documentation said, use WITHOUT OIDS and a add a real primary key (we have already a primary key)

Regards,

Related branches

no longer affects: openobject-server/trunk
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Good suggestion, thanks posting it and providing a working patch! (see also the review on the merge proposal)

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
summary: - Don't use OIDS when create table
+ Don't use the deprecated 'WITH OIDS' option when creating many2many
+ tables
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

You patch was merged at revision 4646 rev-id: <email address hidden>
Thanks a lot!

Changed in openobject-server:
milestone: none → 7.0
status: Confirmed → 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.