Dictionary interface of OSV/Model class conflicts with OSV methods

Bug #1167796 reported by Sébastien Alix
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OERPLib
Undecided
Unassigned

Bug Description

As described here: https://answers.launchpad.net/oerplib/+question/226449

For instance, 'get()' method provided by the "collections.Mapping" (which the 'oerplib.service.osv.Model' class inherits from) conflicts with the 'get()' method of the 'ir.sequence' model:

>>> oerp.get('ir.sequence').get('stock.lot.serial') # Crash

To avoid any problems, it should be convenient to drop "collections.Mapping" inheritance.

description: updated
Changed in oerplib:
status: New → Fix Committed
Changed in oerplib:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions