Commits

Raimon Esteve (Zikzakmedia) committed c6326c0

Add stock.shipment.out origin when is not in models

Comments (0)

Files changed (1)

     @classmethod
     def _get_origin(cls):
         models = super(Move, cls)._get_origin()
-        models.append('stock.shipment.out')
+        if not 'stock.shipment.out' in models:
+            models.append('stock.shipment.out')
         return models