IMP base_usa: sequence view and FIX module view

- add prefix field in sequence search view
- replace @class by hasclass() in module view
This commit is contained in:
David Beal
2019-10-10 10:38:06 +02:00
parent 92a4b0d6ac
commit 1812c7f5af
3 changed files with 13 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ Account Usability
================= =================
The usability enhancements include: The usability enhancements include:
* show the supplier invoice number in the tree view of supplier invoices * show the supplier invoice number in the tree view of supplier invoices
* add an *Overdue* filter on invoice search view (this feature was previously * add an *Overdue* filter on invoice search view (this feature was previously
located in te module *account_invoice_overdue_filter*) located in te module *account_invoice_overdue_filter*)
@@ -23,6 +24,7 @@ The usability enhancements include:
https://www.service-public.fr/professionnels-entreprises/vosdroits/F31808 https://www.service-public.fr/professionnels-entreprises/vosdroits/F31808
Together with this module, I recommend the use of the following modules: Together with this module, I recommend the use of the following modules:
* account_invoice_supplier_ref_unique (OCA project account-invoicing) * account_invoice_supplier_ref_unique (OCA project account-invoicing)
* account_move_line_no_default_search (OCA project account-financial-tools) * account_move_line_no_default_search (OCA project account-financial-tools)
* invoice_fiscal_position_update (OCA project account-invoicing) * invoice_fiscal_position_update (OCA project account-invoicing)

View File

@@ -12,4 +12,14 @@
</field> </field>
</record> </record>
<record id="view_sequence_search" model="ir.ui.view">
<field name="model">ir.sequence</field>
<field name="inherit_id" ref="base.view_sequence_search"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="prefix"/>
</field>
</field>
</record>
</odoo> </odoo>

View File

@@ -12,7 +12,7 @@
<field name="model">ir.module.module</field> <field name="model">ir.module.module</field>
<field name="inherit_id" ref="base.module_view_kanban"/> <field name="inherit_id" ref="base.module_view_kanban"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//h4[@class='o_kanban_record_title']/code[@groups='base.group_no_one']" position="before"> <xpath expr="//h4[hasclass('o_kanban_record_title')]/code[@groups='base.group_no_one']" position="before">
<br/> <br/>
</xpath> </xpath>
</field> </field>