issue11181.diff at last patch series

This commit is contained in:
Raimon Esteve 2022-09-05 10:35:04 +02:00
parent fc18da25d5
commit c0a490c289
2 changed files with 11 additions and 11 deletions

View file

@ -3,21 +3,21 @@ index b2856d6..1d10f49 100644
--- a/trytond/trytond/modules/stock/move.py
+++ b/trytond/trytond/modules/stock/move.py
@@ -465,15 +465,15 @@ class Move(Workflow, ModelSQL, ModelView):
from_type = self.from_location.type if self.from_location else None
to_type = self.to_location.type if self.to_location else None
from_type = self.from_location.type if self.from_location else None
to_type = self.to_location.type if self.to_location else None
- if from_type == 'supplier' and to_type in {'storage', 'drop'}:
+ if from_type == 'supplier' and to_type in {'storage', 'drop', 'view'}:
return True
if from_type == 'production' and to_type != 'lost_found':
return True
return True
if from_type == 'production' and to_type != 'lost_found':
return True
- if from_type in {'storage', 'drop'} and to_type == 'customer':
+ if from_type in {'storage', 'drop', 'view'} and to_type == 'customer':
return True
return True
- if from_type in {'storage', 'drop'} and to_type == 'supplier':
+ if from_type in {'storage', 'drop', 'view'} and to_type == 'supplier':
return True
return True
- if from_type == 'customer' and to_type == {'storage', 'drop'}:
+ if from_type == 'customer' and to_type == {'storage', 'drop', 'view'}:
return True
return False
return True
return False

4
series
View file

@ -45,8 +45,6 @@ issue10161.diff # [sale] issue10161: Configuration of invoice_method and shipmen
issue8952.diff # [country] Use Tryton's CDN to download postal codes Remove on 6.4
issue11181.diff # [stock] Require unit price also for view location like for storage (only 6.0)
issue11051.diff # [account_invoice_defer] Add default company to invoice deferred (only 6.0)
issue11049.diff # [account_invoice_defer] Raise user error message for account not configured (only 6.0)
@ -60,3 +58,5 @@ issue11306.diff # [analytic_invocie] Add compatibility between the analytic_invo
issue4440.diff # [party_relationship] Add start and end dates to relation
issue10532.diff # [stock_supply + stock_supply_production] Add warehouses selection to supply stock wizard
issue11181.diff # [stock] Require unit price also for view location like for storage (only 6.0)