[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 -*
# © 2012 Yannick Vaucher (Camptocamp)
# © 2012 Yannick Vaucher, Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{'name': 'Base transaction id for financial institutes',
'version': '10.0.1.0.0',

View File

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

View File

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

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="invoice_form">
<field name="name">base_transaction_id.customer.invoice.form</field>
<record model="ir.ui.view" id="invoice_view_custom">
<field name="name">customer.invoice.transaction.inherit</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/>
<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>
</xpath>
</field>
</record>
<record model="ir.ui.view" id="invoice_tree">
<field name="name">base_transaction_id.customer.account.invoice.tree</field>
<record model="ir.ui.view" id="invoice_tree_custom">
<field name="name">account.invoice.tree_inherit</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_tree"/>
<field name="arch" type="xml">