mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[MIG] stock_quantity_history_location: Migration to 14.0
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Stock Quantity History Location",
|
"name": "Stock Quantity History Location",
|
||||||
"summary": "Provides stock quantity by location on past date",
|
"summary": "Provides stock quantity by location on past date",
|
||||||
"version": "13.0.1.1.1",
|
"version": "14.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "ForgeFlow," "Odoo Community Association (OCA)",
|
"author": "ForgeFlow," "Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/stock-logistics-reporting",
|
"website": "https://github.com/OCA/stock-logistics-reporting",
|
||||||
|
|||||||
@@ -14,11 +14,9 @@ odoo.define("stock.InventoryReportLocationListController", function (require) {
|
|||||||
if (this.context.no_at_date) {
|
if (this.context.no_at_date) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.modelName === "stock.quant") {
|
if (this.modelName === "stock.quant" && this.$buttons.length) {
|
||||||
$node
|
this.$buttons[0].firstElementChild.innerHTML =
|
||||||
.find(".o_list_buttons")
|
"Inventory at Date & Location";
|
||||||
.find(".btn-primary")
|
|
||||||
.html(_t("Inventory at Date & Location"));
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user