Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] base_transaction_id: Migrated to 10.0
- Loading branch information
Showing
10 changed files
with
62 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# -*- coding: utf-8 -*# -*- coding: utf-8 -*- | ||
# © 2012-2015 Yannick Vaucher (Camptocamp) | ||
# © 2012-2016 Yannick Vaucher (Camptocamp SA) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data noupdate="0"> | ||
<record id="view_move_line_form" model="ir.ui.view"> | ||
<field name="name">account.move.line.form</field> | ||
<field name="model">account.move.line</field> | ||
<field name="inherit_id" ref="account.view_move_line_form"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='reconciled']/.." position="after"> | ||
<field name="transaction_ref"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
<odoo> | ||
<record id="view_move_line_form" model="ir.ui.view"> | ||
<field name="name">account.move.line.form</field> | ||
<field name="model">account.move.line</field> | ||
<field name="inherit_id" ref="account.view_move_line_form"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='reconciled']/.." position="after"> | ||
<field name="transaction_ref"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<template id="assets_backend" name="account assets" inherit_id="web.assets_backend"> | ||
<xpath expr="." position="inside"> | ||
<script type="text/javascript" src="/base_transaction_id/static/src/js/account_widgets.js"></script> | ||
</xpath> | ||
</template> | ||
</data> | ||
</openerp> | ||
|
||
<odoo> | ||
<template id="assets_backend" name="account assets" inherit_id="web.assets_backend"> | ||
<xpath expr="." position="inside"> | ||
<script type="text/javascript" src="/base_transaction_id/static/src/js/account_widgets.js"></script> | ||
</xpath> | ||
</template> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<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"> | ||
<field name="transaction_id"/> | ||
</field> | ||
<odoo> | ||
<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"> | ||
<field name="transaction_id"/> | ||
</field> | ||
</record> | ||
</field> | ||
</record> | ||
|
||
<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"> | ||
<field name="origin" position="after"> | ||
<field name="transaction_id"/> | ||
</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"> | ||
<field name="origin" position="after"> | ||
<field name="transaction_id"/> | ||
</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<record id="view_order_form_transaction" model="ir.ui.view"> | ||
<field name="name">sale.order.form.transaction</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_order_form"/> | ||
<field name="arch" type="xml"> | ||
<group name="sale_pay" position="inside"> | ||
<field name="transaction_id"/> | ||
</group> | ||
</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
<odoo> | ||
|
||
<record id="view_order_form" model="ir.ui.view"> | ||
<field name="name">base_transaction_id.sale.order.form</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_order_form"/> | ||
<field name="arch" type="xml"> | ||
<group name="sale_pay" position="inside"> | ||
<field name="transaction_id"/> | ||
</group> | ||
</field> | ||
</record> | ||
|
||
</odoo> |