[IMP] account: Reconciliation models UX
- Add group bys, columns, and filters to Bank Reconciliation models for better navigation and organization - Trigger auto-validate cron on saving Reconciliation model with auto-validate enabled - Restore pre-filled elements when creating Reconciliation model through bank reconciliation widget (V15.2 functionality) - Remove text ellipsis from Reconciliation model buttons in bank reconciliation widget for better readability closes odoo/odoo#122657 Task-id: 3253304 X-original-commit: 6d0ffce1390d9c73042e39ab637c4c88ccb0e711 Related: odoo/enterprise#41570 Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: Erradi Mohammed (moer) <moer@odoo.com>
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
<field name="name"/>
|
||||
<field name="rule_type"/>
|
||||
<field name="auto_reconcile"/>
|
||||
<field name="match_journal_ids" optional="hidden" widget="many2many_tags"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -232,11 +233,21 @@
|
||||
<field name="model">account.reconcile.model</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Bank Reconciliation Move preset">
|
||||
<filter string="With tax" name="withtax" domain="[('line_ids.tax_ids', '!=', False)]"/>
|
||||
<filter string="Auto Reconcile" name="auto_reconcile" domain="[('auto_reconcile', '=', True)]"/>
|
||||
<field name="rule_type"/>
|
||||
<separator/>
|
||||
<filter name="inactive" string="Archived" domain="[('active', '=', False)]"/>
|
||||
<filter string="Matching rules" name="matching_rules" domain="[('rule_type', '=', 'invoice_matching')]"/>
|
||||
<filter string="Counterpart rules" name="counterpart_rules" domain="[('rule_type', '=', 'writeoff_suggestion')]"/>
|
||||
<filter string="Counterpart buttons" name="counterpart_buttons" domain="[('rule_type', '=', 'writeoff_button')]"/>
|
||||
<separator />
|
||||
<filter string="Auto validate" name="auto_validate" domain="[('auto_reconcile', '=', True)]"/>
|
||||
<separator />
|
||||
<filter string="With Partner matching" name="with_partner_matching" domain="[('match_partner', '=', True)]"/>
|
||||
<filter string="With tax" name="withtax" domain="[('line_ids.tax_ids', '!=', False)]"/>
|
||||
<separator/>
|
||||
<filter name="inactive" string="Archived" domain="[('active', '=', False)]"/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter string="Type" name="group_by_type" context="{'group_by': 'rule_type'}"/>
|
||||
<filter string="Journals Availability" name="group_by_journal" context="{'group_by': 'match_journal_ids'}"/>
|
||||
<filter string="Auto-validate" name="group_by_auto_validate" context="{'group_by': 'auto_reconcile'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user