From 2aed9bca6e922e7001c9b25cbf5b41821736e86a Mon Sep 17 00:00:00 2001 From: Przemek Kaminski Date: Wed, 27 Dec 2017 09:50:58 +0000 Subject: [PATCH] res_company: fix intrastat_dispatches selection function --- intrastat_product/models/res_company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intrastat_product/models/res_company.py b/intrastat_product/models/res_company.py index 46618e6..08d8b9a 100644 --- a/intrastat_product/models/res_company.py +++ b/intrastat_product/models/res_company.py @@ -20,7 +20,7 @@ class ResCompany(models.Model): '_intrastat_arrivals', string='Arrivals', default='extended', required=True) intrastat_dispatches = fields.Selection( - '_intrastat_arrivals', string='Dispatches', + '_intrastat_dispatches', string='Dispatches', default='extended', required=True) intrastat_transport_id = fields.Many2one( 'intrastat.transport_mode',