trytond-patches/do_not_lock_on_assign_try.diff

13 lines
536 B
Diff

diff -r 95ad0421e638 trytond/trytond/modules/stock/move.py
--- a/trytond/trytond/modules/stock/move.py Wed May 11 11:24:37 2016 +0200
+++ b/trytond/trytond/modules/stock/move.py Mon May 30 13:46:54 2016 +0200
@@ -773,7 +773,7 @@
Date = pool.get('ir.date')
Location = pool.get('stock.location')
- Transaction().database.lock(Transaction().connection, cls._table)
+ # Transaction().database.lock(Transaction().connection, cls._table)
if with_childs:
locations = Location.search([