Start work to port account_move_base_import and base_transaction_id to v10
parent
f81a4290d3
commit
1fc2a2a54d
|
@ -1,4 +1,3 @@
|
||||||
# -*- coding: utf-8 -*# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# © 2012-2015 Yannick Vaucher (Camptocamp)
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
from . import models
|
from . import models
|
||||||
|
|
|
@ -1,27 +1,21 @@
|
||||||
# -*- coding: utf-8 -*# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*
|
||||||
# © 2012 Yannick Vaucher (Camptocamp)
|
# © 2012 Yannick Vaucher (Camptocamp)
|
||||||
# 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': '9.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'author': "Camptocamp,Odoo Community Association (OCA)",
|
'author': "Camptocamp,Odoo Community Association (OCA)",
|
||||||
'maintainer': 'Camptocamp',
|
'maintainer': 'Camptocamp',
|
||||||
'category': 'Hidden/Dependency',
|
'category': 'Hidden/Dependency',
|
||||||
'complexity': 'easy',
|
|
||||||
'depends': [
|
'depends': [
|
||||||
'account',
|
'sale',
|
||||||
'stock_account',
|
|
||||||
'sale_stock',
|
|
||||||
],
|
],
|
||||||
'website': 'http://www.openerp.com',
|
'website': 'https://www.odoo-community.org/',
|
||||||
'data': [
|
'data': [
|
||||||
'views/invoice.xml',
|
'views/invoice.xml',
|
||||||
'views/sale.xml',
|
'views/sale.xml',
|
||||||
'views/account_move_line.xml',
|
'views/account_move_line.xml',
|
||||||
'views/base_transaction_id.xml',
|
'views/base_transaction_id.xml',
|
||||||
],
|
],
|
||||||
'test': [],
|
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'images': [],
|
|
||||||
'auto_install': False,
|
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# © 2016 Yannick Vaucher (Camptocamp)
|
# © 2016 Yannick Vaucher (Camptocamp)
|
||||||
# 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 openerp import api, models
|
from odoo import api, models
|
||||||
|
|
||||||
|
|
||||||
class AccountBankStatementLine(models.Model):
|
class AccountBankStatementLine(models.Model):
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# © 2014 Guewen Baconnier (Camptocamp)
|
# © 2014 Guewen Baconnier (Camptocamp)
|
||||||
# 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 openerp import models, fields, api
|
from odoo import models, fields, api
|
||||||
from openerp.osv import expression
|
from odoo.osv import expression
|
||||||
|
|
||||||
|
|
||||||
class AccountMoveLine(models.Model):
|
class AccountMoveLine(models.Model):
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# © 2011-2012 Nicolas Bessi (Camptocamp)
|
# © 2011-2012 Nicolas Bessi (Camptocamp)
|
||||||
# © 2012-2015 Yannick Vaucher (Camptocamp)
|
# © 2012-2015 Yannick Vaucher (Camptocamp)
|
||||||
# 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 openerp import models, fields, api
|
from odoo import models, fields, api
|
||||||
|
|
||||||
|
|
||||||
class AccountInvoice(models.Model):
|
class AccountInvoice(models.Model):
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# © 2011-2012 Nicolas Bessi (Camptocamp)
|
# © 2011-2012 Nicolas Bessi (Camptocamp)
|
||||||
# © 2012-2015 Yannick Vaucher (Camptocamp)
|
# © 2012-2015 Yannick Vaucher (Camptocamp)
|
||||||
from openerp import models, fields, api
|
from odoo import models, fields, api
|
||||||
|
|
||||||
|
|
||||||
class SaleOrder(models.Model):
|
class SaleOrder(models.Model):
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data noupdate="0">
|
|
||||||
<record id="view_move_line_form" model="ir.ui.view">
|
<record id="view_move_line_form" model="ir.ui.view">
|
||||||
<field name="name">account.move.line.form</field>
|
<field name="name">account.move.line.form</field>
|
||||||
<field name="model">account.move.line</field>
|
<field name="model">account.move.line</field>
|
||||||
|
@ -11,5 +10,4 @@
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</odoo>
|
||||||
</openerp>
|
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
|
||||||
<template id="assets_backend" name="account assets" inherit_id="web.assets_backend">
|
<template id="assets_backend" name="account assets" inherit_id="web.assets_backend">
|
||||||
<xpath expr="." position="inside">
|
<xpath expr="." position="inside">
|
||||||
<script type="text/javascript" src="/base_transaction_id/static/src/js/account_widgets.js"></script>
|
<script type="text/javascript" src="/base_transaction_id/static/src/js/account_widgets.js"></script>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
</data>
|
</odoo>
|
||||||
</openerp>
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
|
||||||
<record model="ir.ui.view" id="invoice_view_custom">
|
<record model="ir.ui.view" id="invoice_form">
|
||||||
<field name="name">customer.invoice.transaction.inherit</field>
|
<field name="name">base_transaction_id.customer.invoice.form</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">
|
||||||
|
@ -12,8 +12,8 @@
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="invoice_tree_custom">
|
<record model="ir.ui.view" id="invoice_tree">
|
||||||
<field name="name">account.invoice.tree.inherit</field>
|
<field name="name">base_transaction_id.customer.account.invoice.tree</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">
|
||||||
|
@ -22,5 +22,5 @@
|
||||||
</field>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
|
||||||
</openerp>
|
</odoo>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
|
||||||
<record id="view_order_form_transaction" model="ir.ui.view">
|
<record id="view_order_form" model="ir.ui.view">
|
||||||
<field name="name">sale.order.form.transaction</field>
|
<field name="name">base_transaction_id.sale.order.form</field>
|
||||||
<field name="model">sale.order</field>
|
<field name="model">sale.order</field>
|
||||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
|
@ -11,5 +11,5 @@
|
||||||
</group>
|
</group>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
|
||||||
</openerp>
|
</odoo>
|
||||||
|
|
Loading…
Reference in New Issue