Files
odoo_source/addons/website_customer/views/res_partner_views.xml
T
Alexandre Kühn a87d761fdb [IMP] core: menu tip ux/ui improvement
We would like to make the "no item found" screens more appealing.

Before this commit, it shows a small help tip in the top-left
corner of the screen, just below the "Create" button.

With this commit, these help tips have been replaced by onboarding
screens, which consist of a picture and some text below, both of which
are horizontally centered.

The texts have been slightly changed, so that they are shorter and clearer.

Considered modules:

(A)
    account,
    account_asset,
    account_budget,
    account_test,
    account_voucher,
    analytic
(B)
    barcodes,
    base,
    base_automation,
    board
(C)
    calendar,
    contacts,
    crm
(D)
    delivery
(E)
    event
(F)
    fleet
(G)
    gamification,
    google_drive
(H)
    hr,
    hr_attendance,
    hr_contract,
    hr_expense,
    hr_gamification,
    hr_holidays,
    hr_payroll,
    hr_recruitment,
    hr_timesheet
(I)
    im_livechat
(L)
    l10n_fr_sale_closing,
    link_tracker,
    lunch
(M)
    mail,
    maintenance,
    mass_mailing,
    membership,
    mrp
(N)
    note
(P)
    payment,
    point_of_sale,
    post_mercury,
    pos_restaurant,
    product,
    project,
    purchase,
    purchase_requisition
(R)
    rating,
    repair,
    resource
(S)
    sale,
    sale_timesheet,
    sales_team,
    stock,
    stock_account,
    stock_landed_costs,
    stock_picking_batch,
    survey
(U)
    utm
(W)
    web,
    website,
    website_blog,
    website_customer,
    website_event_track,
    website_forum,
    website_quote,
    website_sale,
    website_sale_digital,
    website_slides
2018-01-18 21:43:29 +01:00

67 lines
2.6 KiB
XML

<?xml version="1.0"?>
<odoo>
<record id="view_partners_form_website" model="ir.ui.view">
<field name="name">view.res.partner.form.website.tags</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="website_partner.view_partners_form_website" />
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='company_id']" position="after">
<field name="website_tag_ids" widget="many2many_tags" string="Website Tags"/>
</xpath>
</data>
</field>
</record>
<record id="view_partner_tag_form" model="ir.ui.view">
<field name="name">Website Tags</field>
<field name="model">res.partner.tag</field>
<field name="arch" type="xml">
<form string="Partner Tag">
<group col="4">
<field name="name"/>
<field name="classname"/>
<field name="website_published"/>
<field name="active"/>
</group>
</form>
</field>
</record>
<record id="view_partner_tag_list" model="ir.ui.view">
<field name="name">Website Tags</field>
<field name="model">res.partner.tag</field>
<field eval="6" name="priority"/>
<field name="arch" type="xml">
<tree string="Website Tags">
<field name="name"/>
<field name="classname"/>
<field name="website_published"/>
<field name="active"/>
</tree>
</field>
</record>
<record id="action_partner_tag_form" model="ir.actions.act_window">
<field name="name">Website Tags</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.partner.tag</field>
<field name="view_type">form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a new contact tag
</p><p>
Manage contact tags to better classify them for tracking and analysis purposes.
</p>
</field>
</record>
<menuitem
action="action_partner_tag_form"
id="menu_partner_tag_form"
name="Website Tags"
sequence="2"
parent="contacts.res_partner_menu_config"
/>
</odoo>