mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Task #034658: Deactivate origin check for assigned stock movements
This commit is contained in:
parent
a85256399b
commit
8b53243211
|
@ -10,3 +10,14 @@ diff -r 36fa08276f66 modules/stock_consignment/stock.py
|
|||
def assign(cls, moves):
|
||||
super(Move, cls).assign(moves)
|
||||
|
||||
--- a/trytond/trytond/modules/stock/move.py 2018-06-06 10:34:21.750490990 +0200
|
||||
+++ b/trytond/trytond/modules/stock/move.py 2018-06-06 10:35:03.254705489 +0200
|
||||
@@ -621,7 +621,7 @@
|
||||
@ModelView.button
|
||||
@Workflow.transition('assigned')
|
||||
def assign(cls, moves):
|
||||
- cls.check_origin(moves)
|
||||
+ pass
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
|
|
Loading…
Reference in a new issue