Contributors mailing list archives


report changes:upgrading modules from v9 to v10 (swiss bank payment slip)

redCOR AG, Robert Rottermann
- 26/12/2016 10:43:57
Hi tehere,

I would like to upgrade to upgrade some modules from v9 to v10. Having an actual 
need, I wanted to start with l10n_ch_payment_slip and therefore base_transaction_id.

Now I found out, that the layout of the files needed to create the reposts has 
been altered significantly.

So I had to change the import statement in l10n_ch_payment_slip like so:

# -*- coding: utf-8 -*-
# © 2012-2016 Camptocamp SA
# License AGPL-3.0 or later (
from openerp import models
     # v9
     from import ir_actions_report_xml as root
except ImportError:
     # v10
     from import 
ir_actions_report as root

however this does not help much, as later on the module fails complaining that 
ir_actions_report has no attribute _columns.

Is there some documentation to be found, how to tackle such a task?


and happy holidays ..