[MIG][16.0] stock_location_zone

This commit is contained in:
Denis Roussel
2022-12-07 11:58:27 +01:00
parent aa294647a0
commit 525f42035a
3 changed files with 5 additions and 4 deletions

View File

@@ -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",
}

View File

@@ -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(
@@ -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: "

View File

@@ -3,3 +3,4 @@
* Guewen Baconnier (Camptocamp) <guewen.baconnier@camptocamp.com>
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Phuc Tran Thanh <phuc@trobz.com>
* Denis Roussel <denis.roussel@acsone.eu>