mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG] stock_picking_procure_method: Migration to 14.0
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Stock Picking Procure Method",
|
"name": "Stock Picking Procure Method",
|
||||||
"summary": "Allows to force the procurement method from the picking",
|
"summary": "Allows to force the procurement method from the picking",
|
||||||
"version": "13.0.1.0.0",
|
"version": "14.0.1.0.0",
|
||||||
"category": "Warehouse",
|
"category": "Warehouse",
|
||||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||||
|
|||||||
@@ -24,14 +24,14 @@ Common steps to `mrp` and `purchase` procurements:
|
|||||||
- Propagate cancel and split: `True`
|
- Propagate cancel and split: `True`
|
||||||
- Warehouse to Propagate: *WH1*
|
- Warehouse to Propagate: *WH1*
|
||||||
|
|
||||||
Now if you want to trigger a manufacture:
|
Now, if you want to trigger a manufacture:
|
||||||
|
|
||||||
- Create a stockable product product with a BoM list.
|
- Create a stockable product with a BoM list.
|
||||||
- In the product's *Inventory > Routes section* set *Make To Order* and
|
- In the product's *Inventory > Routes section* set *Make To Order* and
|
||||||
*Manufacture* on.
|
*Manufacture* on.
|
||||||
|
|
||||||
Or if you want to trigger a purchase:
|
Or if you want to trigger a purchase:
|
||||||
|
|
||||||
- Create a stockable product product with a supplier.
|
- Create a stockable product with a vendor.
|
||||||
- In the product's *Inventory > Routes section* set *Make To Order* and
|
- In the product's *Inventory > Routes section* set *Make To Order* and
|
||||||
*Purchase* on.
|
*Purchase* on.
|
||||||
|
|||||||
@@ -2,5 +2,6 @@
|
|||||||
|
|
||||||
* David Vidal
|
* David Vidal
|
||||||
* Pedro M. Baeza
|
* Pedro M. Baeza
|
||||||
|
* César A. Sánchez
|
||||||
|
|
||||||
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
|
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<field name="model">stock.picking</field>
|
<field name="model">stock.picking</field>
|
||||||
<field name="inherit_id" ref="stock.view_picking_form" />
|
<field name="inherit_id" ref="stock.view_picking_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="scheduled_date" position="after">
|
<field name="date_deadline" position="before">
|
||||||
<field
|
<field
|
||||||
name="procure_method"
|
name="procure_method"
|
||||||
attrs="{'readonly': [('state', '!=', 'draft')], 'invisible': [('state', '!=', 'draft')]}"
|
attrs="{'readonly': [('state', '!=', 'draft')], 'invisible': [('state', '!=', 'draft')]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user