Don't use the deprecated 'WITH OIDS' option when creating many2many tables
Bug #1087332 reported by
Christophe CHAUVET
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
lp://qastaging/~syleam/openobject-server/trunk-dont-use-with-oids
- Olivier Dony (Odoo): Approve
- Christophe CHAUVET (community): Needs Resubmitting
-
Diff: 21 lines (+2/-2)1 file modifiedopenerp/osv/orm.py (+2/-2)
no longer affects: | openobject-server/trunk |
Changed in openobject-server: | |
milestone: | none → 7.0 |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Good suggestion, thanks posting it and providing a working patch! (see also the review on the merge proposal)