From f5c6c68165e00f7c014846469cdc4a26eebd8c07 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Tue, 9 Apr 2019 20:06:03 +0000 Subject: [PATCH] [FIX] stock: Fix typo on field's attribute closes odoo/odoo#32562 Signed-off-by: Raphael Collet (rco) --- addons/stock/models/res_company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):