[MIG] base_transaction_id: Migrated to 10.0

pull/524/head
Denis Leemann 2017-01-03 13:54:04 +01:00 committed by Dũng (Trần Đình)
parent 74537a9bee
commit 9f19a94725
4 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -* # -*- coding: utf-8 -*
# © 2012 Yannick Vaucher (Camptocamp) # © 2012 Yannick Vaucher, Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{'name': 'Base transaction id for financial institutes', {'name': 'Base transaction id for financial institutes',
'version': '10.0.1.0.0', 'version': '10.0.1.0.0',
@ -18,4 +18,4 @@
], ],
'installable': True, 'installable': True,
'license': 'AGPL-3', 'license': 'AGPL-3',
} }

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# © 2016 Yannick Vaucher (Camptocamp) # © 2016 Yannick Vaucher (Camptocamp SA)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models from odoo import api, models

View File

@ -6,4 +6,3 @@
</xpath> </xpath>
</template> </template>
</odoo> </odoo>

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<record model="ir.ui.view" id="invoice_form"> <record model="ir.ui.view" id="invoice_view_custom">
<field name="name">base_transaction_id.customer.invoice.form</field> <field name="name">customer.invoice.transaction.inherit</field>
<field name="model">account.invoice</field> <field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/> <field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="origin" position="after"> <xpath expr="//page[@name='other_info']/group/group/field[@name='origin']" position="after">
<field name="transaction_id"/> <field name="transaction_id"/>
</field> </xpath>
</field> </field>
</record> </record>
<record model="ir.ui.view" id="invoice_tree"> <record model="ir.ui.view" id="invoice_tree_custom">
<field name="name">base_transaction_id.customer.account.invoice.tree</field> <field name="name">account.invoice.tree_inherit</field>
<field name="model">account.invoice</field> <field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_tree"/> <field name="inherit_id" ref="account.invoice_tree"/>
<field name="arch" type="xml"> <field name="arch" type="xml">