[MIG] stock_picking_procure_method: Migration to 14.0

This commit is contained in:
Luis D. Lafaurie
2022-08-16 17:27:45 +02:00
parent 76e302fa56
commit e17df8cb0f
4 changed files with 6 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Stock Picking Procure Method",
"summary": "Allows to force the procurement method from the picking",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"category": "Warehouse",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",

View File

@@ -24,14 +24,14 @@ Common steps to `mrp` and `purchase` procurements:
- Propagate cancel and split: `True`
- 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
*Manufacture* on.
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
*Purchase* on.

View File

@@ -2,5 +2,6 @@
* David Vidal
* Pedro M. Baeza
* César A. Sánchez
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>

View File

@@ -4,7 +4,7 @@
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form" />
<field name="arch" type="xml">
<field name="scheduled_date" position="after">
<field name="date_deadline" position="before">
<field
name="procure_method"
attrs="{'readonly': [('state', '!=', 'draft')], 'invisible': [('state', '!=', 'draft')]}"