diff --git a/README.md b/README.md
index e6612a33ce..1fb0836e70 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ addon | version | maintainers | summary
[project_operating_unit](project_operating_unit/) | 16.0.1.0.0 |
| This module adds operating unit information to projects and tasks.
[report_qweb_operating_unit](report_qweb_operating_unit/) | 16.0.1.0.0 | | Qweb Report With Operating Unit
[sale_operating_unit](sale_operating_unit/) | 16.0.1.0.0 | | An operating unit (OU) is an organizational entity part of a company
-[sale_stock_operating_unit](sale_stock_operating_unit/) | 16.0.1.0.0 | | An operating unit (OU) is an organizational entity part of a company
+[sale_stock_operating_unit](sale_stock_operating_unit/) | 16.0.1.0.1 | | An operating unit (OU) is an organizational entity part of a company
[sales_team_operating_unit](sales_team_operating_unit/) | 16.0.1.0.0 | | Sales Team Operating Unit
[stock_operating_unit](stock_operating_unit/) | 16.0.1.2.2 | | Adds the concept of operating unit (OU) in stock management
[stock_operating_unit_access_all](stock_operating_unit_access_all/) | 16.0.1.0.0 |
| Access all OUs' Stock
diff --git a/sale_stock_operating_unit/README.rst b/sale_stock_operating_unit/README.rst
index 7cfd984ea0..441b2e7547 100644
--- a/sale_stock_operating_unit/README.rst
+++ b/sale_stock_operating_unit/README.rst
@@ -11,7 +11,7 @@ Operating Unit in Sales Stock
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:b62593310c5251ad31057d727066b4e6573c9044b09c03212841c8bf92833345
+ !! source digest: sha256:484cca7f27b6eab67a696ef1c3cc7628fddef254e74f81c6f361b930d988b297
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
diff --git a/sale_stock_operating_unit/__manifest__.py b/sale_stock_operating_unit/__manifest__.py
index 34b47c1751..a829fcd130 100644
--- a/sale_stock_operating_unit/__manifest__.py
+++ b/sale_stock_operating_unit/__manifest__.py
@@ -7,7 +7,7 @@
"name": "Operating Unit in Sales Stock",
"summary": "An operating unit (OU) is an organizational entity part of a "
"company",
- "version": "16.0.1.0.0",
+ "version": "16.0.1.0.1",
"author": "ForgeFlow, Serpent Consulting Services Pvt. Ltd., "
"Odoo Community Association (OCA)",
"license": "LGPL-3",
diff --git a/sale_stock_operating_unit/models/sale_order.py b/sale_stock_operating_unit/models/sale_order.py
index 74a05e0c02..88afac8634 100644
--- a/sale_stock_operating_unit/models/sale_order.py
+++ b/sale_stock_operating_unit/models/sale_order.py
@@ -35,9 +35,9 @@ def _default_warehouse_id(self):
comodel_name="stock.warehouse", default=_default_warehouse_id
)
- @api.depends("team_id")
- def _compute_team_id(self):
- res = super()._compute_team_id()
+ @api.onchange("team_id")
+ def onchange_team_id(self):
+ res = super(SaleOrder, self).onchange_team_id()
if (
self.team_id
and self.team_id.operating_unit_id
diff --git a/sale_stock_operating_unit/static/description/index.html b/sale_stock_operating_unit/static/description/index.html
index 6f271037a9..fee90e79f2 100644
--- a/sale_stock_operating_unit/static/description/index.html
+++ b/sale_stock_operating_unit/static/description/index.html
@@ -372,7 +372,7 @@
This module was written to extend the Sales and the Stock capabilities of Odoo.