add different origins
This commit is contained in:
parent
4193fe3c56
commit
6420dce7c1
|
@ -552,7 +552,8 @@ class PurchaseLine(metaclass=PoolMeta):
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_origin(cls):
|
def _get_origin(cls):
|
||||||
'Return list of Model names for origin Reference'
|
'Return list of Model names for origin Reference'
|
||||||
return [cls.__name__, 'production.operation']
|
return [cls.__name__, 'production.operation', 'production',
|
||||||
|
'stock.order_point', 'purchase.request']
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_origin(cls):
|
def get_origin(cls):
|
||||||
|
|
Loading…
Reference in New Issue