Skip to content

Commit

Permalink
[15.0][MIG] stock_production_lot_active: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BT-dmontull committed Mar 10, 2022
1 parent aff3321 commit af6b62a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion stock_production_lot_active/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Stock Production Lot Active",
"summary": """
Allow to archive/unarchive a lot.""",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"development_status": "Beta",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion stock_production_lot_active/models/stock_production_lot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
class StockProductionLot(models.Model):
_inherit = "stock.production.lot"

active = fields.Boolean(string="Active", default=True)
active = fields.Boolean(default=True)
1 change: 1 addition & 0 deletions stock_production_lot_active/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* Thomas Binsfeld <thomas.binsfeld@acsone.eu>
* Janik von Rotz <janik.vonrotz@mint-system.ch>
* David Montull Guasch <david.montull@bt-group.com>
8 changes: 4 additions & 4 deletions stock_production_lot_active/views/stock_production_lot.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
</field>
</record>

<record model="ir.ui.view" id="stock_production_lot_search_view">
<record model="ir.ui.view" id="stock_production_lot_tree_view">
<field
name="name"
>stock.production.lot.search (in stock_production_lot_active)</field>
>stock.production.lot.tree (in stock_production_lot_active)</field>
<field name="model">stock.production.lot</field>
<field name="inherit_id" ref="stock.view_production_lot_tree" />
<field name="arch" type="xml">
Expand All @@ -35,10 +35,10 @@
</field>
</record>

<record model="ir.ui.view" id="stock_production_lot_tree_view">
<record model="ir.ui.view" id="stock_production_lot_search_view">
<field
name="name"
>stock.production.lot.tree (in stock_production_lot_active)</field>
>stock.production.lot.search (in stock_production_lot_active)</field>
<field name="model">stock.production.lot</field>
<field name="inherit_id" ref="stock.search_product_lot_filter" />
<field name="arch" type="xml">
Expand Down

0 comments on commit af6b62a

Please sign in to comment.