mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
Merge pull request #247 from Tonow-c2c/Fix_mis_dep_account_reconciliation
[11][FIX] Missing dependencies account.reconciliation
This commit is contained in:
@@ -1,20 +1,23 @@
|
||||
# Copyright 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': '11.0.1.0.0',
|
||||
'author': "Camptocamp,Odoo Community Association (OCA)",
|
||||
'maintainer': 'Camptocamp',
|
||||
'category': 'Hidden/Dependency',
|
||||
'depends': [
|
||||
'sale',
|
||||
],
|
||||
'website': 'https://github.com/OCA/account-reconcile',
|
||||
'data': [
|
||||
'views/invoice.xml',
|
||||
'views/sale.xml',
|
||||
'views/account_move_line.xml',
|
||||
'views/base_transaction_id.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
{
|
||||
'name': 'Base transaction ID for financial institutes',
|
||||
'version': '11.0.1.0.1',
|
||||
'author': "Camptocamp,Odoo Community Association (OCA)",
|
||||
'maintainer': 'Camptocamp',
|
||||
'category': 'Hidden/Dependency',
|
||||
'depends': [
|
||||
'sale',
|
||||
],
|
||||
'website': 'https://github.com/OCA/account-reconcile',
|
||||
'data': [
|
||||
'views/invoice.xml',
|
||||
'views/sale.xml',
|
||||
'views/account_move_line.xml',
|
||||
],
|
||||
"qweb": [
|
||||
"static/src/xml/account_reconciliation.xml",
|
||||
],
|
||||
'installable': True,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
odoo.define('base_transaction_id.base_transaction_id', function (require) {
|
||||
|
||||
var AccountReconciliation = require('account.reconciliation');
|
||||
|
||||
AccountReconciliation.bankStatementReconciliation.include({
|
||||
decorateMoveLine: function(line) {
|
||||
this._super(line);
|
||||
if (line.transaction_ref) {
|
||||
line.q_label += ' (' + line.transaction_ref + ')';
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-extend="reconciliation.line.mv_line">
|
||||
<t t-jquery=".cell_label" t-operation="append">
|
||||
<t t-if="line.transaction_ref"> (<t t-esc="line.transaction_ref"/>)</t>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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>
|
||||
Reference in New Issue
Block a user