From ed71019cd81bafd03dcb9e640111d008bb8d4f56 Mon Sep 17 00:00:00 2001 From: ygol Date: Wed, 20 Mar 2019 17:35:19 +0100 Subject: [PATCH] [FIX] flake8 + demo data --- agreement/demo/demo.xml | 6 ------ agreement/models/agreement.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/agreement/demo/demo.xml b/agreement/demo/demo.xml index c5e8f70a..5cc58077 100644 --- a/agreement/demo/demo.xml +++ b/agreement/demo/demo.xml @@ -11,7 +11,6 @@ C2C-IT0042 Hardware IT - sale 2017-09-10 2017-09-10 2018-09-10 @@ -21,7 +20,6 @@ C2C-IT0043 Fiber access office Lausanne - sale @@ -31,7 +29,6 @@ AGR-VETO001 Vétérinaire - sale 2017-08-01 2017-08-01 2018-08-01 @@ -41,7 +38,6 @@ AGR-TEL001 Wazo IPBX deployment and maintenance - sale 2017-05-05 2017-05-05 2018-09-10 @@ -51,7 +47,6 @@ BUY-VOIP012 SIP Phones supply - purchase @@ -61,7 +56,6 @@ BUY-VOIP013 SIP-ISDN gateways - purchase 2017-09-02 diff --git a/agreement/models/agreement.py b/agreement/models/agreement.py index da1066a7..dc975526 100644 --- a/agreement/models/agreement.py +++ b/agreement/models/agreement.py @@ -17,7 +17,7 @@ class Agreement(models.Model): company_id = fields.Many2one( 'res.company', string='Company', default=lambda self: self.env['res.company']._company_default_get( -'agreement')) + 'agreement')) active = fields.Boolean(default=True) signature_date = fields.Date() start_date = fields.Date()