diff --git a/addons/stock/models/res_company.py b/addons/stock/models/res_company.py index 3fcbad0079f..838359ea63b 100644 --- a/addons/stock/models/res_company.py +++ b/addons/stock/models/res_company.py @@ -9,7 +9,7 @@ class Company(models.Model): propagation_minimum_delta = fields.Integer('Minimum Delta for Propagation of a Date Change on moves linked together', default=1) internal_transit_location_id = fields.Many2one( - 'stock.location', 'Internal Transit Location', on_delete="restrict", + 'stock.location', 'Internal Transit Location', ondelete="restrict", help="Technical field used for resupply routes between warehouses that belong to this company") def _create_transit_location(self):