[IMP] pylint
parent
fee65b9d9e
commit
edd06e734f
|
@ -17,13 +17,13 @@ Account Reconcile Oca
|
||||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
:alt: License: AGPL-3
|
:alt: License: AGPL-3
|
||||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github
|
||||||
:target: https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca
|
:target: https://github.com/OCA/account-reconcile/tree/18.0/account_reconcile_oca
|
||||||
:alt: OCA/account-reconcile
|
:alt: OCA/account-reconcile
|
||||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||||
:target: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca
|
:target: https://translation.odoo-community.org/projects/account-reconcile-18-0/account-reconcile-18-0-account_reconcile_oca
|
||||||
:alt: Translate me on Weblate
|
:alt: Translate me on Weblate
|
||||||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
||||||
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=17.0
|
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=18.0
|
||||||
:alt: Try me on Runboat
|
:alt: Try me on Runboat
|
||||||
|
|
||||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||||
|
@ -65,7 +65,7 @@ Bug Tracker
|
||||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/issues>`_.
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/issues>`_.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
In case of trouble, please check there if your issue has already been reported.
|
||||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||||
`feedback <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_reconcile_oca%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
`feedback <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_reconcile_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||||
|
|
||||||
Do not contact contributors directly about support or help with technical issues.
|
Do not contact contributors directly about support or help with technical issues.
|
||||||
|
|
||||||
|
@ -104,6 +104,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
||||||
|
|
||||||
|maintainer-etobella|
|
|maintainer-etobella|
|
||||||
|
|
||||||
This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca>`_ project on GitHub.
|
This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/18.0/account_reconcile_oca>`_ project on GitHub.
|
||||||
|
|
||||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||||
|
|
|
@ -3,5 +3,4 @@
|
||||||
<record id="base.user_admin" model="res.users">
|
<record id="base.user_admin" model="res.users">
|
||||||
<field name="groups_id" eval="[(4,ref('account.group_account_user'))]" />
|
<field name="groups_id" eval="[(4,ref('account.group_account_user'))]" />
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
|
@ -369,7 +369,7 @@ ul.auto-toc {
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:fa8f7f5af2e7a631cb39b699ebbc41f1bc6cca067be28665f5d4590c752f3054
|
!! source digest: sha256:fa8f7f5af2e7a631cb39b699ebbc41f1bc6cca067be28665f5d4590c752f3054
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-reconcile/tree/18.0/account_reconcile_oca"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-18-0/account-reconcile-18-0-account_reconcile_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||||
<p>This addon allows to reconcile bank statements and account marked as
|
<p>This addon allows to reconcile bank statements and account marked as
|
||||||
reconcile.</p>
|
reconcile.</p>
|
||||||
<p><strong>Table of contents</strong></p>
|
<p><strong>Table of contents</strong></p>
|
||||||
|
@ -416,7 +416,7 @@ You can access the same widget from accounts and Partners.</p>
|
||||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-reconcile/issues">GitHub Issues</a>.
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-reconcile/issues">GitHub Issues</a>.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
In case of trouble, please check there if your issue has already been reported.
|
||||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||||
<a class="reference external" href="https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_reconcile_oca%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
<a class="reference external" href="https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_reconcile_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="credits">
|
<div class="section" id="credits">
|
||||||
|
@ -445,7 +445,7 @@ mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.</p>
|
promote its widespread use.</p>
|
||||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
||||||
<p><a class="reference external image-reference" href="https://github.com/etobella"><img alt="etobella" src="https://github.com/etobella.png?size=40px" /></a></p>
|
<p><a class="reference external image-reference" href="https://github.com/etobella"><img alt="etobella" src="https://github.com/etobella.png?size=40px" /></a></p>
|
||||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca">OCA/account-reconcile</a> project on GitHub.</p>
|
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/18.0/account_reconcile_oca">OCA/account-reconcile</a> project on GitHub.</p>
|
||||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -71,8 +71,8 @@
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//Layout" position="inside">
|
<xpath expr="//Layout" position="inside">
|
||||||
<div class="o_account_reconcile_oca_info">
|
<div class="o_account_reconcile_oca_info">
|
||||||
<t t-if="state.selectedRecordId">
|
<t t-if="state.selectedRecordId">
|
||||||
<View t-props="viewReconcileInfo" t-key="state.selectedRecordId" />
|
<View t-props="viewReconcileInfo" t-key="state.selectedRecordId" />
|
||||||
</t>
|
</t>
|
||||||
</div>
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
|
@ -1371,7 +1371,7 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
||||||
)
|
)
|
||||||
# check that adding a partner does not recompute the amounts on accounting
|
# check that adding a partner does not recompute the amounts on accounting
|
||||||
# entries, but is still synchronized with accounting entries
|
# entries, but is still synchronized with accounting entries
|
||||||
f.manual_reference = "account.move.line;%s" % liquidity_lines.id
|
f.manual_reference = f"account.move.line;{liquidity_lines.id}"
|
||||||
f.manual_partner_id = inv1.partner_id
|
f.manual_partner_id = inv1.partner_id
|
||||||
self.assertEqual(f.partner_id, inv1.partner_id)
|
self.assertEqual(f.partner_id, inv1.partner_id)
|
||||||
self.assertEqual(liquidity_lines.debit, 83.33)
|
self.assertEqual(liquidity_lines.debit, 83.33)
|
||||||
|
@ -1380,7 +1380,7 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
||||||
# partner change
|
# partner change
|
||||||
self.assertEqual(liquidity_lines.debit, 83.33)
|
self.assertEqual(liquidity_lines.debit, 83.33)
|
||||||
self.assertEqual(liquidity_lines.partner_id, inv1.partner_id)
|
self.assertEqual(liquidity_lines.partner_id, inv1.partner_id)
|
||||||
f.manual_reference = "account.move.line;%s" % line["id"]
|
f.manual_reference = f"account.move.line;{line['id']}"
|
||||||
# simulate click on statement line, check amount does not recompute
|
# simulate click on statement line, check amount does not recompute
|
||||||
f.manual_partner_id = inv1.partner_id
|
f.manual_partner_id = inv1.partner_id
|
||||||
self.assertEqual(f.manual_amount, 83.33)
|
self.assertEqual(f.manual_amount, 83.33)
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="view_account_list">
|
<record model="ir.ui.view" id="view_account_list">
|
||||||
<field name="name">account.account.list (in account_reconcile_oca)</field>
|
<field name="name">account.account.list (in account_reconcile_oca)</field>
|
||||||
<field name="model">account.account</field>
|
<field name="model">account.account</field>
|
||||||
|
@ -19,5 +18,4 @@
|
||||||
</list>
|
</list>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="account_account_reconcile_form_view">
|
<record model="ir.ui.view" id="account_account_reconcile_form_view">
|
||||||
<field
|
<field
|
||||||
name="name"
|
name="name"
|
||||||
|
@ -36,7 +35,7 @@
|
||||||
<field name="is_reconciled" invisible="1" />
|
<field name="is_reconciled" invisible="1" />
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="partner_id" />
|
<field name="partner_id" />
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<field name="account_id" />
|
<field name="account_id" />
|
||||||
|
@ -160,5 +159,4 @@
|
||||||
<field name="action" ref="account_account_reconcile_act_window" />
|
<field name="action" ref="account_account_reconcile_act_window" />
|
||||||
<field name="sequence" eval="140" />
|
<field name="sequence" eval="140" />
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="account_bank_statement_form_edit" model="ir.ui.view">
|
<record id="account_bank_statement_form_edit" model="ir.ui.view">
|
||||||
<field name="name">Edit Bank statement</field>
|
<field name="name">Edit Bank statement</field>
|
||||||
<field name="model">account.bank.statement</field>
|
<field name="model">account.bank.statement</field>
|
||||||
|
@ -27,7 +26,6 @@
|
||||||
<field name="line_ids" invisible="1" />
|
<field name="line_ids" invisible="1" />
|
||||||
</group>
|
</group>
|
||||||
</sheet>
|
</sheet>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="bank_statement_line_reconcile_view" model="ir.ui.view">
|
<record id="bank_statement_line_reconcile_view" model="ir.ui.view">
|
||||||
<field name="name">account.bank.statement.line.reconcile</field>
|
<field name="name">account.bank.statement.line.reconcile</field>
|
||||||
<field name="model">account.bank.statement.line</field>
|
<field name="model">account.bank.statement.line</field>
|
||||||
|
@ -151,7 +150,7 @@
|
||||||
<form js_class="reconcile_form">
|
<form js_class="reconcile_form">
|
||||||
<div class="o_form_statusbar o_account_reconcile_oca_statusbar">
|
<div class="o_form_statusbar o_account_reconcile_oca_statusbar">
|
||||||
<div class="o_statusbar_buttons">
|
<div class="o_statusbar_buttons">
|
||||||
<button
|
<button
|
||||||
name="reconcile_bank_line"
|
name="reconcile_bank_line"
|
||||||
type="object"
|
type="object"
|
||||||
string="Validate"
|
string="Validate"
|
||||||
|
@ -306,23 +305,23 @@
|
||||||
insible="manual_move_type not in ['in_invoice', 'in_refund', 'out_invoice', 'out_refund'] or manual_original_amount == 0"
|
insible="manual_move_type not in ['in_invoice', 'in_refund', 'out_invoice', 'out_refund'] or manual_original_amount == 0"
|
||||||
>
|
>
|
||||||
Invoice <field
|
Invoice <field
|
||||||
class="oe_inline"
|
class="oe_inline"
|
||||||
name="manual_move_id"
|
name="manual_move_id"
|
||||||
/>
|
/>
|
||||||
with an open amount <field
|
with an open amount <field
|
||||||
class="oe_inline"
|
class="oe_inline"
|
||||||
name="manual_original_amount"
|
name="manual_original_amount"
|
||||||
/> will be reduced by <field
|
/> will be reduced by <field
|
||||||
class="oe_inline"
|
class="oe_inline"
|
||||||
name="manual_amount"
|
name="manual_amount"
|
||||||
readonly="1"
|
readonly="1"
|
||||||
/>.
|
/>.
|
||||||
<br />
|
<br />
|
||||||
You might want to set the invoice as <button
|
You might want to set the invoice as <button
|
||||||
name="button_manual_reference_full_paid"
|
name="button_manual_reference_full_paid"
|
||||||
type="object"
|
type="object"
|
||||||
method_args="[1]"
|
method_args="[1]"
|
||||||
>fully paid</button>.
|
>fully paid</button>.
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
@ -334,7 +333,7 @@
|
||||||
</group>
|
</group>
|
||||||
</page>
|
</page>
|
||||||
<page name="chatter" string="Chatter">
|
<page name="chatter" string="Chatter">
|
||||||
<field name="move_id" widget="account_reconcile_oca_chatter" />
|
<field name="move_id" widget="account_reconcile_oca_chatter" />
|
||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="view_account_journal_form" model="ir.ui.view">
|
<record id="view_account_journal_form" model="ir.ui.view">
|
||||||
<field name="name">account.journal.form.inherit</field>
|
<field name="name">account.journal.form.inherit</field>
|
||||||
<field name="model">account.journal</field>
|
<field name="model">account.journal</field>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="account_move_form_view">
|
<record model="ir.ui.view" id="account_move_form_view">
|
||||||
<field name="name">account.move.form (in account_reconcile_oca)</field>
|
<field name="name">account.move.form (in account_reconcile_oca)</field>
|
||||||
<field name="model">account.move</field>
|
<field name="model">account.move</field>
|
||||||
|
@ -21,7 +20,4 @@
|
||||||
</div>
|
</div>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2023 Dixmit
|
<!-- Copyright 2023 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="account_move_line_tree_reconcile_view" model="ir.ui.view">
|
<record id="account_move_line_tree_reconcile_view" model="ir.ui.view">
|
||||||
<field name="name">account.move.line.list.reconcile</field>
|
<field name="name">account.move.line.list.reconcile</field>
|
||||||
<field name="model">account.move.line</field>
|
<field name="model">account.move.line</field>
|
||||||
|
@ -42,69 +41,69 @@
|
||||||
<field name="priority">99</field>
|
<field name="priority">99</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search string="Search Journal Items">
|
<search string="Search Journal Items">
|
||||||
<field
|
<field
|
||||||
name="name"
|
name="name"
|
||||||
string="Journal Item"
|
string="Journal Item"
|
||||||
filter_domain="['|','|','|','|','|',('name', 'ilike', self), ('ref', 'ilike', self), ('account_id', 'ilike', self), ('partner_id', 'ilike', self),('amount_residual', 'ilike', self),('amount_residual_currency', 'ilike', self)]"
|
filter_domain="['|','|','|','|','|',('name', 'ilike', self), ('ref', 'ilike', self), ('account_id', 'ilike', self), ('partner_id', 'ilike', self),('amount_residual', 'ilike', self),('amount_residual_currency', 'ilike', self)]"
|
||||||
/>
|
/>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="ref" />
|
<field name="ref" />
|
||||||
<field name="date" />
|
<field name="date" />
|
||||||
<field name="account_id" />
|
<field name="account_id" />
|
||||||
<field name="account_root_id" />
|
<field name="account_root_id" />
|
||||||
<field name="account_type" />
|
<field name="account_type" />
|
||||||
<field name="partner_id" domain="[('parent_id', '=', False)]" />
|
<field name="partner_id" domain="[('parent_id', '=', False)]" />
|
||||||
<field name="journal_id" />
|
<field name="journal_id" />
|
||||||
<field
|
<field
|
||||||
name="move_id"
|
name="move_id"
|
||||||
string="Journal Entry"
|
string="Journal Entry"
|
||||||
filter_domain="[ '|', '|', ('move_id.name', 'ilike', self), ('move_id.ref', 'ilike', self), ('move_id.partner_id', 'ilike', self)]"
|
filter_domain="[ '|', '|', ('move_id.name', 'ilike', self), ('move_id.ref', 'ilike', self), ('move_id.partner_id', 'ilike', self)]"
|
||||||
/>
|
/>
|
||||||
<separator />
|
<separator />
|
||||||
<filter
|
<filter
|
||||||
string="Sales"
|
string="Sales"
|
||||||
name="sales"
|
name="sales"
|
||||||
domain="[('journal_id.type', '=', 'sale')]"
|
domain="[('journal_id.type', '=', 'sale')]"
|
||||||
context="{'default_journal_type': 'sale'}"
|
context="{'default_journal_type': 'sale'}"
|
||||||
/>
|
/>
|
||||||
<filter
|
<filter
|
||||||
string="Purchases"
|
string="Purchases"
|
||||||
name="purchases"
|
name="purchases"
|
||||||
domain="[('journal_id.type', '=', 'purchase')]"
|
domain="[('journal_id.type', '=', 'purchase')]"
|
||||||
context="{'default_journal_type': 'purchase'}"
|
context="{'default_journal_type': 'purchase'}"
|
||||||
/>
|
/>
|
||||||
<filter
|
<filter
|
||||||
string="Bank"
|
string="Bank"
|
||||||
name="bank"
|
name="bank"
|
||||||
domain="[('journal_id.type', '=', 'bank')]"
|
domain="[('journal_id.type', '=', 'bank')]"
|
||||||
context="{'default_journal_type': 'bank'}"
|
context="{'default_journal_type': 'bank'}"
|
||||||
/>
|
/>
|
||||||
<filter
|
<filter
|
||||||
string="Cash"
|
string="Cash"
|
||||||
name="cash"
|
name="cash"
|
||||||
domain="[('journal_id.type', '=', 'cash')]"
|
domain="[('journal_id.type', '=', 'cash')]"
|
||||||
context="{'default_journal_type': 'cash'}"
|
context="{'default_journal_type': 'cash'}"
|
||||||
/>
|
/>
|
||||||
<filter
|
<filter
|
||||||
string="Miscellaneous"
|
string="Miscellaneous"
|
||||||
domain="[('journal_id.type', '=', 'general')]"
|
domain="[('journal_id.type', '=', 'general')]"
|
||||||
name="misc_filter"
|
name="misc_filter"
|
||||||
context="{'default_journal_type': 'general'}"
|
context="{'default_journal_type': 'general'}"
|
||||||
/>
|
/>
|
||||||
<separator />
|
<separator />
|
||||||
<filter
|
<filter
|
||||||
string="Payable"
|
string="Payable"
|
||||||
domain="[('account_id.account_type', '=', 'liability_payable'), ('account_id.non_trade', '=', False)]"
|
domain="[('account_id.account_type', '=', 'liability_payable'), ('account_id.non_trade', '=', False)]"
|
||||||
help="From Trade Payable accounts"
|
help="From Trade Payable accounts"
|
||||||
name="trade_payable"
|
name="trade_payable"
|
||||||
/>
|
/>
|
||||||
<filter
|
<filter
|
||||||
string="Receivable"
|
string="Receivable"
|
||||||
domain="[('account_id.account_type', '=', 'asset_receivable'), ('account_id.non_trade', '=', False)]"
|
domain="[('account_id.account_type', '=', 'asset_receivable'), ('account_id.non_trade', '=', False)]"
|
||||||
help="From Trade Receivable accounts"
|
help="From Trade Receivable accounts"
|
||||||
name="trade_receivable"
|
name="trade_receivable"
|
||||||
/>
|
/>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<!-- Copyright 2024 Dixmit
|
<!-- Copyright 2024 Dixmit
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="res_config_settings_form_view">
|
<record model="ir.ui.view" id="res_config_settings_form_view">
|
||||||
<field name="model">res.config.settings</field>
|
<field name="model">res.config.settings</field>
|
||||||
<field name="inherit_id" ref="account.res_config_settings_view_form" />
|
<field name="inherit_id" ref="account.res_config_settings_view_form" />
|
||||||
|
@ -18,7 +17,4 @@
|
||||||
</block>
|
</block>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
Loading…
Reference in New Issue