mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG][16.0] stock_location_zone
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
@@ -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: "
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user