diff --git a/stock_cycle_count/models/stock_cycle_count.py b/stock_cycle_count/models/stock_cycle_count.py
index 36086dea1..53284762f 100644
--- a/stock_cycle_count/models/stock_cycle_count.py
+++ b/stock_cycle_count/models/stock_cycle_count.py
@@ -25,13 +25,13 @@ class StockCycleCount(models.Model):
string="Assigned to",
readonly=True,
states={"draft": [("readonly", False)]},
- track_visibility="onchange",
+ tracking=True,
)
date_deadline = fields.Date(
string="Required Date",
readonly=True,
states={"draft": [("readonly", False)]},
- track_visibility="onchange",
+ tracking=True,
)
cycle_count_rule_id = fields.Many2one(
comodel_name="stock.cycle.count.rule",
@@ -39,7 +39,7 @@ class StockCycleCount(models.Model):
required=True,
readonly=True,
states={"draft": [("readonly", False)]},
- track_visibility="onchange",
+ tracking=True,
)
state = fields.Selection(
selection=[
@@ -50,13 +50,13 @@ class StockCycleCount(models.Model):
],
string="State",
default="draft",
- track_visibility="onchange",
+ tracking=True,
)
stock_adjustment_ids = fields.One2many(
comodel_name="stock.inventory",
inverse_name="cycle_count_id",
string="Inventory Adjustment",
- track_visibility="onchange",
+ tracking=True,
)
inventory_adj_count = fields.Integer(compute="_compute_inventory_adj_count")
company_id = fields.Many2one(
diff --git a/stock_cycle_count/reports/stock_cycle_count_report.xml b/stock_cycle_count/reports/stock_cycle_count_report.xml
index 1791204ae..38ee7ce46 100644
--- a/stock_cycle_count/reports/stock_cycle_count_report.xml
+++ b/stock_cycle_count/reports/stock_cycle_count_report.xml
@@ -43,12 +43,11 @@
-
+
+ stock.cycle.count
+ stock_cycle_count.report_cyclecount
+ Cycle Count
+ qweb-pdf
+
+
diff --git a/stock_cycle_count/reports/stock_location_accuracy_report.xml b/stock_cycle_count/reports/stock_location_accuracy_report.xml
index 231e7dac0..df6c239cd 100644
--- a/stock_cycle_count/reports/stock_location_accuracy_report.xml
+++ b/stock_cycle_count/reports/stock_location_accuracy_report.xml
@@ -53,12 +53,11 @@
-
+
+ stock.location
+ stock_location_accuracy
+ Accuracy Report
+ qweb-pdf
+
+
diff --git a/stock_cycle_count/views/stock_cycle_count_rule_view.xml b/stock_cycle_count/views/stock_cycle_count_rule_view.xml
index bdaf84922..747eea242 100644
--- a/stock_cycle_count/views/stock_cycle_count_rule_view.xml
+++ b/stock_cycle_count/views/stock_cycle_count_rule_view.xml
@@ -84,12 +84,11 @@
-
+
+ Stock Cycle Count Rules
+ stock.cycle.count.rule
+ tree,form
+