Files
odoo_source/addons/purchase/views/analytic_account_views.xml
T
Noe Antoine 2c9a76e3a5 [IMP] mass_mailing_sale, * : make fa icons (cart, card, ...) consistent
*: mrp_subcontracting_purchase,payment,purchase_(stock)

BEFORE THIS COMMIT

fa-shopping-cart was used for different purchase-related contexts.
This icon should only be used for online shopping / ecommerce.

AFTER THIS COMMIT

Wa make sure one icon is used for one concept.
- fa-shopping-cart : ecommerce / add to cart
- fa-credit-card : purchases
- fa-credit-card-alt : replaces other uses of fa-credit-card
- fa-pencil-square-o : quotations in marketing modules

Icons are updated accordingly. Other icons are also changed to
increase readablity.

--- Links ---

Task Id - 2593306
COM PR - odoo/odoo#75694
ENT PR - odoo/enterprise#20478

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-09-08 07:55:53 +00:00

19 lines
865 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="account_analytic_account_view_form_purchase" model="ir.ui.view">
<field name="name">account.analytic.account.form.purchase</field>
<field name="model">account.analytic.account</field>
<field name="inherit_id" ref="analytic.view_account_analytic_account_form"/>
<field eval="10" name="priority"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button" type="object" name="action_view_purchase_orders"
icon="fa-credit-card" attrs="{'invisible': [('purchase_order_count', '=', 0)]}">
<field string="Purchase Orders" name="purchase_order_count" widget="statinfo"/>
</button>
</div>
</field>
</record>
</odoo>