mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
make stock_reserve owner-aware
This commit is contained in:
@@ -43,11 +43,15 @@ stock below the minimum, the orderpoint will be triggered and new
|
||||
purchase orders will be generated. It also implies that the max may be
|
||||
exceeded if the reservations are canceled.
|
||||
|
||||
If ownership of stock is active in the stock settings, you can specify the
|
||||
owner on the reservation.
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
|
||||
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
|
||||
* Leonardo Pistone <leonardo.pistone@camptocamp.com>
|
||||
|
||||
""",
|
||||
'depends': ['stock',
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
<field name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
widget="selection"/>
|
||||
<field name="restrict_partner_id" groups="stock.group_tracking_owner"/>
|
||||
</group>
|
||||
<group name="location" string="Locations"
|
||||
groups="stock.group_locations">
|
||||
@@ -63,6 +64,7 @@
|
||||
<field name="product_uom_qty" sum="Total" />
|
||||
<field name="product_uom" />
|
||||
<field name="date_validity" />
|
||||
<field name="restrict_partner_id" groups="stock.group_tracking_owner"/>
|
||||
<field name="state"/>
|
||||
<button name="reserve" type="object"
|
||||
string="Reserve"
|
||||
@@ -93,6 +95,7 @@
|
||||
<field name="name" />
|
||||
<field name="product_id" />
|
||||
<field name="move_id" />
|
||||
<field name="restrict_partner_id" groups="stock.group_tracking_owner"/>
|
||||
<group expand="0" string="Group By...">
|
||||
<filter string="Status"
|
||||
name="groupby_state"
|
||||
|
||||
Reference in New Issue
Block a user