mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] account_exception: changes ready for gui
H11044
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="action_invoice_test_tree" model="ir.actions.act_window">
|
||||
<field name="name">Invoice Exception Rules</field>
|
||||
<record id="action_account_move_test_tree" model="ir.actions.act_window">
|
||||
<field name="name">Journal Entry Exception Rules</field>
|
||||
<field name="res_model">exception.rule</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="base_exception.view_exception_rule_tree"/>
|
||||
@@ -11,8 +11,8 @@
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
action="action_invoice_test_tree"
|
||||
id="menu_invoice_test"
|
||||
action="action_account_move_test_tree"
|
||||
id="menu_account_move_test"
|
||||
sequence="10"
|
||||
parent="account.menu_finance_configuration"
|
||||
groups="base_exception.group_exception_rule_manager"
|
||||
@@ -26,23 +26,22 @@
|
||||
<sheet position="before">
|
||||
<div class="alert alert-danger" role="alert" style="margin-bottom:0px;"
|
||||
attrs="{'invisible': [('exceptions_summary','=',False)]}">
|
||||
<p><strong>There are exceptions blocking the post of this Invoice:
|
||||
</strong></p>
|
||||
<p><strong>There are exceptions blocking the post of this Journal Entry:</strong></p>
|
||||
<field name="exceptions_summary"/>
|
||||
<button name="action_ignore_exceptions" type="object" class="btn-danger"
|
||||
string="Ignore Exceptions" help="Click here to be able to post this Invoice regardless of the exceptions."
|
||||
groups="base_exception.group_exception_rule_manager"/>
|
||||
</div>
|
||||
</sheet>
|
||||
<xpath expr="//field[@name='origin']/.." position="inside">
|
||||
<xpath expr="//field[@name='journal_id']/.." position="after">
|
||||
<field name="ignore_exception" states="done" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_move_tree" model="ir.ui.view">
|
||||
<field name="name">saccount.move.tree.inherit.exception</field>
|
||||
<field name="model">saccount.move</field>
|
||||
<field name="name">account.move.tree.inherit.exception</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="state" position="after">
|
||||
@@ -53,7 +52,7 @@
|
||||
|
||||
<record id="view_account_invoice_filter" model="ir.ui.view">
|
||||
<field name="name">account.invoice.select.inherit.exception</field>
|
||||
<field name="model">saccount.move</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_account_invoice_filter" />
|
||||
<field name="arch" type="xml">
|
||||
<filter name="late" position="after">
|
||||
|
||||
Reference in New Issue
Block a user