*: 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>
19 lines
865 B
XML
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>
|