mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Add patch for issue4054
This commit is contained in:
parent
dde1c5edbc
commit
93b95fc9aa
16
issue7421002_1.diff
Normal file
16
issue7421002_1.diff
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
Index: trytond/trytond/modules/stock/product.py
|
||||||
|
===================================================================
|
||||||
|
|
||||||
|
--- a/trytond/trytond/modules/stock/product.py
|
||||||
|
+++ b/trytond/trytond/modules/stock/product.py
|
||||||
|
@@ -299,7 +299,8 @@
|
||||||
|
class ProductQuantitiesByWarehouseStart(ModelView):
|
||||||
|
'Product Quantities By Warehouse'
|
||||||
|
__name__ = 'stock.product_quantities_warehouse.start'
|
||||||
|
- warehouse = fields.Many2One('stock.location', 'Warehouse', domain=[
|
||||||
|
+ warehouse = fields.Many2One('stock.location', 'Warehouse', required=True,
|
||||||
|
+ domain=[
|
||||||
|
('type', '=', 'warehouse'),
|
||||||
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue