46 lines
2.1 KiB
XML
46 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- Copyright <2020> PESOL <info@pesol.es>
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) -->
|
|
<odoo>
|
|
<record id="view_account_invoice_filter" model="ir.ui.view">
|
|
<field name="name">account.move.select - account_move_tier_validation</field>
|
|
<field name="model">account.move</field>
|
|
<field name="inherit_id" ref="account.view_account_invoice_filter" />
|
|
<field name="arch" type="xml">
|
|
<filter name="duedate" position="after">
|
|
<separator />
|
|
<filter
|
|
name="needs_review"
|
|
string="Needs my Review"
|
|
domain="[('reviewer_ids','in',uid), ('state', 'not in', ['posted', 'cancel'])]"
|
|
help="My Accounts to review"
|
|
/>
|
|
<filter
|
|
name="no_validation_requested"
|
|
string="No Validation Requested"
|
|
domain="[('review_ids', '=', False), ('state', 'not in', ['posted', 'cancel'])]"
|
|
help="Invoices where no validation has been requested"
|
|
/>
|
|
<filter
|
|
name="validation_not_started"
|
|
string="Validation Not Started"
|
|
domain="[('reviewer_ids', '=', False), ('state', 'not in', ['posted', 'cancel']), ('validated', '=', False), ('rejected', '=', False)]"
|
|
help="Invoices where validation has not started"
|
|
/>
|
|
<filter
|
|
name="validation_in_progress"
|
|
string="Validation In Progress"
|
|
domain="[('reviewer_ids', '!=', False), ('state', 'not in', ['posted', 'cancel'])]"
|
|
help="Invoices Pending to Validate"
|
|
/>
|
|
<filter
|
|
name="tier_validated"
|
|
string="Validated"
|
|
domain="[('validated', '=', True)]"
|
|
help="Invoices validated and ready to be confirmed"
|
|
/>
|
|
</filter>
|
|
</field>
|
|
</record>
|
|
</odoo>
|