Skip to content

Commit

Permalink
[MIG][16.0] stock_location_zone
Browse files Browse the repository at this point in the history
  • Loading branch information
rousseldenis committed Dec 7, 2022
1 parent aa29464 commit 525f420
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions stock_location_zone/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@

{
"name": "Stock Location Zone",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"author": "BCIM, Okia, Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"summary": "Classify locations with zones.",
"category": "Stock Management",
"category": "Warehouse",
"depends": ["stock"],
"data": ["views/stock_location.xml"],
"installable": True,
"development_status": "Alpha",
"license": "AGPL-3",
}
3 changes: 2 additions & 1 deletion stock_location_zone/models/stock_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ class StockLocation(models.Model):
compute="_compute_zone_location_id",
store=True,
index=True,
recursive=True,
)
area_location_id = fields.Many2one(
"stock.location",
string="Location Area",
compute="_compute_zone_location_id",
store=True,
recursive=True,
)

location_kind = fields.Selection(
Expand All @@ -35,7 +37,6 @@ class StockLocation(models.Model):
("stock", "Main Stock"),
("other", "Other"),
],
string="Location Kind",
compute="_compute_location_kind",
store=True,
help="Group location according to their kinds: "
Expand Down
1 change: 1 addition & 0 deletions stock_location_zone/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
* Guewen Baconnier (Camptocamp) <[email protected]>
* Akim Juillerat <[email protected]>
* Phuc Tran Thanh <[email protected]>
* Denis Roussel <[email protected]>

0 comments on commit 525f420

Please sign in to comment.