From 4a2432dad6e8e32ee5cbb669ddef879543ba83c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 11 Oct 2022 00:44:49 +0200 Subject: [PATCH] Use declarative index definition for ModelSQL issue5757 review361251002 --- price_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/price_list.py b/price_list.py index dd2934fc39..0450759499 100644 --- a/price_list.py +++ b/price_list.py @@ -46,7 +46,7 @@ class PriceList(DeactivableMixin, ModelSQL, ModelView): name = fields.Char('Name', required=True, translate=True, help="The main identifier of the price list.") company = fields.Many2One( - 'company.company', "Company", required=True, select=True, + 'company.company', "Company", required=True, help="Make the price list belong to the company.\n" "It defines the currency of the price list.") tax_included = fields.Boolean('Tax Included',