diff --git a/.travis.yml b/.travis.yml index dc05837ea..a4ff7b9df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,15 +27,17 @@ install: - pip install xlrd - git clone https://github.com/CompassionCH/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools -b r2 - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} + - git clone https://github.com/CompassionCH/compassion-modules.git ${HOME}/build/CompassionCH/compassion-modules -b 8.0 - git clone https://github.com/OCA/bank-statement-reconcile.git ${HOME}/build/CompassionCH/bank-statement-reconcile -b 8.0 - git clone https://github.com/OCA/bank-statement-import.git ${HOME}/build/CompassionCH/bank-statement-import -b 8.0 - - git clone https://github.com/steveferry/l10n-switzerland.git ${HOME}/build/CompassionCH/l10n-switzerland -b port-statement-import + - git clone https://github.com/OCA/l10n-switzerland.git ${HOME}/build/CompassionCH/l10n-switzerland -b 8.0 - git clone https://github.com/OCA/web.git ${HOME}/build/CompassionCH/web -b 8.0 - - git clone https://github.com/CompassionCH/compassion-modules.git ${HOME}/build/CompassionCH/compassion-modules -b 8.0 - git clone https://github.com/OCA/bank-payment.git ${HOME}/build/CompassionCH/bank-payment -b 8.0 - git clone https://github.com/OCA/account-financial-tools.git ${HOME}/build/CompassionCH/account-financial-tools -b 8.0 - git clone https://github.com/OCA/partner-contact.git ${HOME}/build/CompassionCH/partner-contact -b 8.0 - git clone https://github.com/OCA/connector.git ${HOME}/build/CompassionCH/connector -b 8.0 + - rm -rf ${HOME}/build/CompassionCH/compassion-modules/sbc_compassion + - rm -rf ${HOME}/build/CompassionCH/compassion-modules/onramp_compassion - travis_install_nightly before_script: diff --git a/account_analytic_attribution/data/install.xml b/account_analytic_attribution/data/install.xml index 56568c770..bfdc7cc45 100644 --- a/account_analytic_attribution/data/install.xml +++ b/account_analytic_attribution/data/install.xml @@ -7,8 +7,7 @@ - - + diff --git a/account_reconcile_compassion/data/statement_operation.xml b/account_reconcile_compassion/data/statement_operation.xml index 24ee1b051..8fe0145b6 100644 --- a/account_reconcile_compassion/data/statement_operation.xml +++ b/account_reconcile_compassion/data/statement_operation.xml @@ -1,6 +1,6 @@ - + +
diff --git a/recurring_contract/wizard/recurring_invoicer_wizard.py b/recurring_contract/wizard/recurring_invoicer_wizard.py index 5ba81d9fc..82e88d632 100644 --- a/recurring_contract/wizard/recurring_invoicer_wizard.py +++ b/recurring_contract/wizard/recurring_invoicer_wizard.py @@ -20,9 +20,6 @@ class recurring_invoicer_wizard(models.TransientModel): ''' _name = 'recurring.invoicer.wizard' - invoice_ids = fields.One2many( - 'account.invoice', 'recurring_invoicer_id', - _('Generated invoices'), readonly=True) generation_date = fields.Date(_('Generation date'), readonly=True) @api.multi @@ -31,7 +28,8 @@ def generate(self): contract_groups = self.env['recurring.contract.group'].search([]) invoicer = recurring_invoicer_obj.create({'source': self._name}) - contract_groups.generate_invoices(invoicer) + contract_groups.with_context(async_mode=False).generate_invoices( + invoicer) return { 'name': 'recurring.invoicer.form',