- Create journal entries as soon as bank/cash statement lines are created, temporary booked on a suspense account set on the journal.
- Simplify the management of "blue" lines in the reconciliation widget. A "blue" line is now a journal item using a temporary liquidity account (outstanding payment/receipt accounts, set on the journal).
- Adapt and simplify the bank reconciliation report.
- Remove the bank reconciliation threshold date. The reconciliation report will show the not already reconciled journal entries using a liquidity account and the not already reconciled journal entries using a temporary liquidity account. Without accounting, an account.payment will involve directly the liquidity account and then, will be considered as a statement line directly.
- Remove the post_at bank reconciliation feature. The "paid" state will be set on the invoices only if reconciled with a journal entry involving the journal's liquidity account.
With invoicing, the payment will do that so the "in_payment" state should never be shown up.
With accounting, only the statement lines have the power to move an invoice to the "paid" state.
- Fix various corner cases about the management of multi-currency in bank statement lines.
- Fix the conversion dates in multi-currency: Since the bank/cash is always used on the statement lines, it will use always the real "bank" date instead of the fictive payment one.
- Ensure the 'reconcile' method will raise an error if the involved moves are not posted.
related enterprise PR odoo/enterprise#7019
closes odoo/odoo#41301
--task: 2092096
Related: odoo/upgrade#1018
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
49 lines
2.2 KiB
XML
49 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_bank_statement_pos_session" model="ir.ui.view">
|
|
<field name="name">view.bank.statement.pos.session</field>
|
|
<field name="model">account.bank.statement</field>
|
|
<field name="mode">primary</field>
|
|
<field name="priority">1000</field>
|
|
<field name="inherit_id" ref="account.view_bank_statement_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@name='button_validate_or_action']" position="replace"/>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_account_bnk_stmt_cashbox" model="ir.ui.view">
|
|
<field name="name">account.bnk_stmt_cashbox.form</field>
|
|
<field name="model">account.bank.statement.cashbox</field>
|
|
<field name="inherit_id" ref="account.view_account_bnk_stmt_cashbox"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//sheet" position="inside">
|
|
<field name="is_a_template" invisible="1"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_account_bnk_stmt_cashbox_footer" model="ir.ui.view">
|
|
<field name="name">account.bnk_stmt_cashbox.form.close.modal</field>
|
|
<field name="model">account.bank.statement.cashbox</field>
|
|
<field name="inherit_id" ref="account.view_account_bnk_stmt_cashbox_footer"/>
|
|
<field name="mode">primary</field>
|
|
<field name="priority">1000</field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='cashbox_lines_ids']" position="before">
|
|
<button name="set_default_cashbox" type="object" string="Set Default Cash Opening" />
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_account_journal_pos_user_form" model="ir.ui.view">
|
|
<field name="name">account.journal.pos.user.form.inherit</field>
|
|
<field name="model">account.journal</field>
|
|
<field name="inherit_id" ref="account.view_account_journal_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//notebook[last()]" position="inside">
|
|
<page string="Point of Sale" name="point_of_sale" invisible="1"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|