Impossibile duplicare stock.picking
Bug #1271907 reported by
Davide Corio
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Italia |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Provando a duplicare un DDT (stock.picking) dopo aver installato l10n_it_sale, si ottiene questo errore:
File "/Users/
default.
TypeError: super(type, obj): obj must be an instance or subtype of type
Related branches
lp:~enlightx-deactivatedaccount/openobject-italia/7.0-fix-1271907
- Lorenzo Battistini: Approve (code review)
-
Diff: 35 lines (+6/-4)1 file modifiedl10n_it_sale/stock/picking.py (+6/-4)
Changed in openobject-italia: | |
status: | New → Fix Released |
To post a comment you must log in.
Davide,
while fixing that, I suggest also using using
def copy(... default=None ... )
if default is None:
default = {}
the same way we do for the context (and for the same reasons).
Thanks!