Skip to content

Commit

Permalink
[MIG] stock_picking_procure_method: Migration to 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis D. Lafaurie authored and micheledic committed Sep 21, 2023
1 parent 28ec2c1 commit 67545e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stock_picking_procure_method/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions stock_picking_procure_method/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
1 change: 1 addition & 0 deletions stock_picking_procure_method/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

* David Vidal
* Pedro M. Baeza
* César A. Sánchez

* Kitti Upariphutthiphong <[email protected]>
2 changes: 1 addition & 1 deletion stock_picking_procure_method/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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')]}"
Expand Down

0 comments on commit 67545e0

Please sign in to comment.