Purpose ======= The Contact form is one of the most used/important view. It is quite important to find the piece of information easily and to navigate in a few clicks to the related views. Specification ============= Stat buttons ------------ - Restructure stat buttons with the following order: Opportunities -> sales user Meetings -> sales users Sales -> Sales users POS Sales -> pos users Subscriptions -> Subscription users Events -> event user Tasks -> project user TIckets -> helpdesk user Purchases -> purchase user Due -> billing: user Invoiced -> billing: user Vendor Bills -> billing: user Customer/Vendor Partner Ledger -> accounting: billing Analytic Accounts -> accounting: billing Credit Cards -> sales user Direct Debit Mandates -> accounting: billing user Publish - Use better/more relevant icons - Check that the proper access rights are set - Remove the bank accounts stat buttons and replace it by a one2many tree on the Invoicing page. Fields ------ Move some res.partner fields from the "Accouting" page to the "sale & Purchase" page: - Fiscal positions - Payment terms Miscellaneous ------------- - Remove dead code. - Display nothing instead "Please complete customer's informations and email" on the popup when sending an email to a contact without email address.
23 lines
938 B
XML
23 lines
938 B
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="res_partner_view_tree" model="ir.ui.view">
|
|
<field name="name">view.res.partner.form.event.inherited</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="priority" eval="6"/>
|
|
<field name="arch" type="xml">
|
|
<button name="toggle_active" position="before">
|
|
<button class="oe_stat_button"
|
|
groups="event.group_event_user"
|
|
type="object"
|
|
icon="fa-ticket"
|
|
name="action_event_view" attrs="{'invisible': [('event_count','=', 0)]}">
|
|
<field string="Events" name="event_count" widget="statinfo"/>
|
|
</button>
|
|
</button>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|