← Back to team overview

openobject-italia-core-devs team mailing list archive

[Bug 1271907] Re: Impossibile duplicare stock.picking

 

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!

-- 
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/1271907

Title:
  Impossibile duplicare stock.picking

Status in OpenERP Italia:
  New

Bug description:
  Provando a duplicare un DDT (stock.picking) dopo aver installato
  l10n_it_sale, si ottiene questo errore:

  File "/Users/enlightx/Development/OpenERP/7.0/dev/parts/openobject-italia/l10n_it_sale/stock/picking.py", line 89, in copy
      default.update({'ddt_number': ''})
  TypeError: super(type, obj): obj must be an instance or subtype of type

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/1271907/+subscriptions


References