[IMP] improve icons and views
bzr revid: rma@tinyerp.com-20140328133051-2amm63n2vy3bj3xe
This commit is contained in:
parent
457a62dee6
commit
77ff3a69b8
|
@ -84,7 +84,7 @@
|
|||
</header>
|
||||
<sheet>
|
||||
<div class="oe_button_box oe_right">
|
||||
<button class="oe_inline oe_stat_button" name="open_entries" type="object" icon="fa-pencil-square-o">
|
||||
<button class="oe_inline oe_stat_button" name="open_entries" type="object" icon="fa-pencil">
|
||||
<field string="Entries" name="entry_count" widget="statinfo" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -78,18 +78,18 @@
|
|||
<field name="model">res.partner</field>
|
||||
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/>
|
||||
<field name="arch" type="xml" >
|
||||
<xpath expr="//div[@name='buttons']" position="inside" groups="account.group_account_invoice">
|
||||
<button class="oe_inline oe_stat_button" type="object" name="do_button_print"
|
||||
icon="fa-print" string="Print Overdue" widget="statinfo" groups="account.group_account_user"
|
||||
help="Print overdue payments report independent of follow-up line"
|
||||
attrs="{'invisible':[('payment_amount_due', '<=', 0.0)]}"/>
|
||||
<button class="oe_inline oe_stat_button" type="object" name="do_partner_mail"
|
||||
icon="fa-envelope-o" string="Mail Overdue" widget="statinfo"
|
||||
help="If not specified by the latest follow-up level, it will send from the default email template"
|
||||
attrs="{'invisible':[('payment_amount_due', '<=', 0.0)]}" groups="account.group_account_user"/>
|
||||
</xpath>
|
||||
<page string="Accounting" position="before" version="7.0">
|
||||
<page string="Payment Follow-up" groups="account.group_account_invoice" name="followup_tab">
|
||||
<div class="oe_right oe_button_box" name="followup_button">
|
||||
<button class="oe_inline oe_stat_button" type="object" name="do_button_print"
|
||||
icon="fa-mail" string="Print Overdue Payments" widget="statinfo" groups="account.group_account_user"
|
||||
help="Print overdue payments report independent of follow-up line"
|
||||
attrs="{'invisible':[('payment_amount_due', '<=', 0.0)]}"/>
|
||||
<button class="oe_inline oe_stat_button" type="object" name="do_partner_mail"
|
||||
icon="fa-print" string="Send Overdue Email" widget="statinfo"
|
||||
help="If not specified by the latest follow-up level, it will send from the default email template"
|
||||
attrs="{'invisible':[('payment_amount_due', '<=', 0.0)]}" groups="account.group_account_user"/>
|
||||
</div>
|
||||
<p attrs="{'invisible':[('latest_followup_date','=', False)]}">
|
||||
The <field name="latest_followup_date" class = "oe_inline"/>, the latest payment follow-up
|
||||
was: <field name="latest_followup_level_id" class="oe_inline"/>
|
||||
|
|
|
@ -69,14 +69,14 @@
|
|||
<field name="state" widget="statusbar" statusbar_visible="draft,open"/>
|
||||
</header>
|
||||
<sheet string="Payment order">
|
||||
<div class="oe_button_box">
|
||||
<button class="oe_inline oe_stat_button oe_right" name="%(action_create_payment_order)d" string="Select Invoices to Pay"
|
||||
type="action" attrs="{'invisible':[('state','=','done')]}" icon="fa-search" widget="statinfo"/>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
<label for="reference" class="oe_edit_only"/>
|
||||
<h1><field name="reference"/></h1>
|
||||
</div>
|
||||
<div class=" oe_right oe_button_box">
|
||||
<button class="oe_inline oe_stat_button oe_right" name="%(action_create_payment_order)d" string="Invoices" Help="Select Invoices to Pay"
|
||||
type="action" attrs="{'invisible':[('state','=','done')]}" icon="fa-pencil-square-o" widget="statinfo"/>
|
||||
</div>
|
||||
<group>
|
||||
<group>
|
||||
<field name="user_id" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'account.group_account_invoice']}"/>
|
||||
|
@ -292,7 +292,7 @@
|
|||
<field name="inherit_id" ref="account.view_bank_statement_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='import_buttons']" position="inside">
|
||||
<button class="oe_inline oe_stat_button" name="%(action_account_populate_statement_confirm)d" attrs="{'invisible':[('state','=','confirm')]}" string="Import Payment Lines" type="action" icon="fa-cogs" widget="statinfo"/>
|
||||
<button class="oe_inline oe_stat_button" name="%(action_account_populate_statement_confirm)d" attrs="{'invisible':[('state','=','confirm')]}" string="Import Lines" help="Import Payment Lines" type="action" icon="fa-cogs" widget="statinfo"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='import_buttons']" position="inside">
|
||||
<button class="oe_inline oe_stat_button" name="%(action_view_account_statement_from_invoice_lines)d"
|
||||
string="Import Invoices" type="action"
|
||||
string="Import Invoice" type="action"
|
||||
attrs="{'invisible':[('state','=','confirm')]}" widget="statinfo" icon="fa-pencil-square-o"/>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
<sheet>
|
||||
<div class="oe_right oe_button_box" name="buttons">
|
||||
<button class="oe_inline oe_stat_button" type="action" name="%(opportunity2phonecall_act)d" icon="fa-phone"
|
||||
widget="statinfo" string="Schedule/Log Call"/>
|
||||
widget="statinfo" string="Calls"/>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
<label for="name" class="oe_edit_only"/>
|
||||
|
@ -389,11 +389,11 @@
|
|||
<sheet>
|
||||
<div class="oe_right oe_button_box">
|
||||
<button class="oe_inline oe_stat_button" type="action" name="%(opportunity2phonecall_act)d" icon="fa-phone"
|
||||
widget="statinfo" string="Schedule/Log Call"/>
|
||||
widget="statinfo" string="Calls"/>
|
||||
<button class="oe_inline oe_stat_button" type="object"
|
||||
context="{'search_default_attendee_id': active_id, 'default_attendee_id' : active_id}"
|
||||
name="action_makeMeeting" icon="fa-calendar">
|
||||
<field string="Meeting" name="meeting_count" widget="statinfo"/>
|
||||
<field string="Meetings" name="meeting_count" widget="statinfo"/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
|
|
|
@ -66,12 +66,13 @@
|
|||
<sheet string="Phone Call">
|
||||
<div class="oe_right oe_button_box">
|
||||
<button class="oe_inline oe_stat_button" type="object" name="action_button_convert2opportunity"
|
||||
icon="fa fa-star fa-fw" string="Convert to Opportunity"
|
||||
attrs="{'invisible':[ '|', ('opportunity_id','!=',False), ('state', 'not in', ('open', 'done'))]}" widget="statinfo"/>
|
||||
icon="fa-star" string="Opportunity"
|
||||
attrs="{'invisible':[ '|', ('opportunity_id','!=',False), ('state', 'not in', ('open', 'done'))]}"
|
||||
help="Convert to Opportunity" widget="statinfo"/>
|
||||
<button class="oe_inline oe_stat_button" type="action"
|
||||
name="%(phonecall_to_phonecall_act)d" icon="fa-phone fa-fw" string="Schedule Other Call" widget="statinfo"/>
|
||||
name="%(phonecall_to_phonecall_act)d" icon="fa-phone" string="Other Call" widget="statinfo"/>
|
||||
<button class="oe_inline oe_stat_button" name="action_make_meeting" type="object" icon="fa-calendar fa-fw">
|
||||
<field string="Schedule a Meeting" name="meeting_count" widget="statinfo" />
|
||||
<field string="Plan Meeting" name="meeting_count" widget="statinfo" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='buttons']/button" position="after">
|
||||
<button class="oe_inline oe_stat_button" type="action" name="%(convert_lead2projectissue_wizard_action)d" icon="fa-bug"
|
||||
help="Convert to Issue" widget="statinfo" string="Convert to Issue"/>
|
||||
help="Convert to Issue" widget="statinfo" string="Move to Issue"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
</div>
|
||||
<div class="oe_right oe_button_box" name="buttons">
|
||||
<field name="ref_ir_act_window" invisible="1"/>
|
||||
<button class="oe_inline oe_stat_button" name="create_action" string="Add context action" type="object"
|
||||
attrs="{'invisible':[('ref_ir_act_window','!=',False)]}" icon="fa-adn"
|
||||
<button class="oe_inline oe_stat_button" name="create_action" string="Add action" type="object"
|
||||
attrs="{'invisible':[('ref_ir_act_window','!=',False)]}" icon="fa-plus"
|
||||
help="Display an option on related documents to open a composition wizard with this template" widget="statinfo"/>
|
||||
<button name="unlink_action" string="Remove context action" type="object"
|
||||
<button name="unlink_action" string="Drop action" type="object"
|
||||
class="oe_stat_button" icon="fa-minus"
|
||||
attrs="{'invisible':[('ref_ir_act_window','=',False)]}"
|
||||
help="Remove the contextual action to use this template on related documents" widget="statinfo"/>
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
<button name="return_action_to_open"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-thumbs-o-up"
|
||||
icon="fa-book"
|
||||
context="{'xml_id':'fleet_vehicle_log_contract_act'}"
|
||||
help="show the contract for this vehicle">
|
||||
<field name="contract_count" widget="statinfo" string="Contracts"/>
|
||||
|
@ -222,7 +222,7 @@
|
|||
<button name="act_show_log_cost"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-money"
|
||||
icon="fa-usd"
|
||||
help="show all the costs for this vehicle"
|
||||
groups="fleet.group_fleet_manager">
|
||||
<field name="cost_count" widget="statinfo" string="Costs"/>
|
||||
|
@ -241,7 +241,7 @@
|
|||
icon="fa-flask"
|
||||
context="{'xml_id':'fleet_vehicle_log_fuel_act'}"
|
||||
help="show the fuel logs for this vehicle" >
|
||||
<field name="fuel_logs_count" widget="statinfo" string="Fuel Logs"/>
|
||||
<field name="fuel_logs_count" widget="statinfo" string="Fuel"/>
|
||||
</button>
|
||||
<button name="return_action_to_open"
|
||||
type="object"
|
||||
|
@ -249,7 +249,7 @@
|
|||
icon="fa-tachometer"
|
||||
context="{'xml_id':'fleet_vehicle_odometer_act'}"
|
||||
help="show the odometer logs for this vehicle" >
|
||||
<field name="odometer_count" widget="statinfo" string="odometer Logs"/>
|
||||
<field name="odometer_count" widget="statinfo" string="Odometer"/>
|
||||
</button>
|
||||
</div>
|
||||
<group col="2" string="General Properties">
|
||||
|
|
|
@ -56,9 +56,9 @@
|
|||
<button type="action"
|
||||
name="%(goals_from_challenge_act)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-globe"
|
||||
icon="fa-gift"
|
||||
attrs="{'invisible': [('state','=','draft')]}">
|
||||
<field name="goals_count" widget="statinfo" string="Related Goals"/>
|
||||
<field name="goals_count" widget="statinfo" string="Goals" help="Related Goals"/>
|
||||
</button>
|
||||
</div>
|
||||
<group>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button name="%(act_hr_employee_2_hr_contract)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-thumbs-o-up"
|
||||
icon="fa-book"
|
||||
type="action"
|
||||
groups="base.group_hr_manager">
|
||||
<field name="contracts_count" widget="statinfo" string="Contracts"/>
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button name="%(act_hr_employee_2_hr__evaluation_interview)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-briefcase"
|
||||
icon="fa-sitemap"
|
||||
type="action">
|
||||
<field name="appraisal_count" widget="statinfo" string="Appraisal Interviews"/>
|
||||
</button>
|
||||
|
|
|
@ -224,9 +224,9 @@
|
|||
<div class="oe_right oe_button_box">
|
||||
<button name="%(act_payslip_lines)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-comment"
|
||||
icon="fa-money"
|
||||
type="action">
|
||||
<field name="payslip_count" widget="statinfo" string="Payslip Computation Details"/>
|
||||
<field name="payslip_count" widget="statinfo" string="Payslip" help="Payslip Computation Details"/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
|
|
|
@ -75,23 +75,23 @@
|
|||
<sheet>
|
||||
<div class="oe_right oe_button_box">
|
||||
<button name="action_makeMeeting" class="oe_stat_button" icon="fa-calendar" type="object"
|
||||
string="Schedule Meeting" help="Schedule interview with this applicant"/>
|
||||
string="Meeting" help="Schedule interview with this applicant"/>
|
||||
<button name="%(survey.action_view_survey_question_message)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
icon="fa-user"
|
||||
type="action"
|
||||
string="Start Interview" help="Answer related job question"
|
||||
string="Interview" help="Answer related job question"
|
||||
context="{'survey_id': survey, 'response_id': [response], 'response_no':0 ,'active' : response, 'object' : 'hr.applicant'}"
|
||||
attrs="{'invisible':[('survey','=',False)]}"/>
|
||||
<button name="action_print_survey"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
icon="fa-print"
|
||||
type="object"
|
||||
string="Print Interview" help="Print interview report"
|
||||
string="Print" help="Print interview report"
|
||||
attrs="{'invisible':[('survey','=',False)]}"/>
|
||||
<button name="action_get_attachment_tree_view"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
icon="fa-book"
|
||||
type="object">
|
||||
<field name="attachment_number" widget="statinfo" string="Documents"/>
|
||||
</button>
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
</xpath>
|
||||
<xpath expr='//div[@name="buttons"]' position='inside'>
|
||||
<button class="oe_inline oe_stat_button" type="action" name="%(act_analytic_cost_revenue)d"
|
||||
icon="fa-suitcase" string="Costs and Revenues" widget="statinfo"/>
|
||||
icon="fa-usd" string="Cost/Revenue" widget="statinfo"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -74,8 +74,8 @@
|
|||
<button type="action"
|
||||
name="%(act_hr_timesheet_sheet_sheet_2_hr_analytic_timesheet)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-times">
|
||||
<field name="timesheet_activity_count" widget="statinfo" string="Timesheet Activities"/>
|
||||
icon="fa-clock-o">
|
||||
<field name="timesheet_activity_count" widget="statinfo" string="Timesheet" help="Timesheet Activities"/>
|
||||
</button>
|
||||
<button type="action" groups="base.group_hr_attendance"
|
||||
class="oe_stat_button" icon="fa-users"
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
name="%(act_marketing_campaing_stat)d"
|
||||
class="oe_stat_button"
|
||||
icon="fa-keyboard-o"
|
||||
string="Campaign Statistics"/>
|
||||
string="Statistics" help="Marketing Campaign Statistics"/>
|
||||
<button type="action"
|
||||
name="%(act_marketing_campaing_segment_opened)d"
|
||||
class="oe_stat_button"
|
||||
|
|
|
@ -843,10 +843,10 @@
|
|||
</header>
|
||||
<sheet>
|
||||
<div class="oe_right oe_button_box">
|
||||
<button class="oe_stat_button" name="%(action_pos_box_in)d" string="Put Money In"
|
||||
type="action" states="opened,closing_control" icon="fa-money"/>
|
||||
<button class="oe_stat_button" name="%(action_pos_box_out)d" string="Take Money Out"
|
||||
type="action" states="opened,closing_control" icon="fa-money"/>
|
||||
<button class="oe_stat_button" name="%(action_pos_box_in)d" string="Put Money"
|
||||
type="action" states="opened,closing_control" icon="fa-level-down"/>
|
||||
<button class="oe_stat_button" name="%(action_pos_box_out)d" string="Take Money"
|
||||
type="action" states="opened,closing_control" icon="fa-level-up"/>
|
||||
</div>
|
||||
<h1 class="oe_title">
|
||||
Session:
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
<sheet>
|
||||
<div class="oe_button_box oe_right">
|
||||
<button class=" oe_inline oe_stat_button " name= "%(project_phase_task_list)d" type="action" icon="fa-tasks">
|
||||
<field string="Related Tasks" name="tasks_count" widget="statinfo"/>
|
||||
<field string="Tasks" name="tasks_count" widget="statinfo"/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<button class="oe_inline oe_stat_button" name="%(purchase.act_res_partner_2_purchase_order)d" type="action"
|
||||
attrs="{'invisible': [('supplier', '=', False)]}"
|
||||
groups="purchase.group_purchase_user" icon="fa-list-alt">
|
||||
<field string="Purchase Orders" name="purchase_order_count" widget="statinfo"/>
|
||||
<field string="Purchase Order" name="purchase_order_count" widget="statinfo"/>
|
||||
</button>
|
||||
<button class="oe_inline oe_stat_button" name="%(purchase.act_res_partner_2_supplier_invoices)d" type="action"
|
||||
attrs="{'invisible': [('supplier', '=', False)]}" icon="fa-pencil-square-o">
|
||||
|
|
|
@ -50,11 +50,11 @@
|
|||
class="oe_stat_button"
|
||||
icon="fa-truck"
|
||||
states="approved">
|
||||
<field name="shipment_count" widget="statinfo" string="Incoming Shipments"/>
|
||||
<field name="shipment_count" widget="statinfo" string="In Shipments" help="Incoming Shipments"/>
|
||||
</button>
|
||||
<button type="object" name="invoice_open"
|
||||
class="oe_stat_button"
|
||||
icon="fa-file-o"
|
||||
icon="fa-pencil-square-o"
|
||||
attrs="{'invisible': [('state', 'in', ['draft','sent'])]}">
|
||||
<field name="invoice_count" widget="statinfo" string="Invoices"/>
|
||||
</button>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<button class="oe_inline oe_stat_button" type="action" name="%(sale.act_res_partner_2_sale_order)d"
|
||||
attrs="{'invisible': [('customer', '=', False)]}"
|
||||
icon="fa-strikethrough" groups="base.group_sale_salesman">
|
||||
<field string="Quot. and Sales" name="sale_order_count" widget="statinfo"/>
|
||||
<field string="Sales" name="sale_order_count" widget="statinfo"/>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
|
@ -239,15 +239,17 @@
|
|||
<field name="date"/>
|
||||
<field name="active"/>
|
||||
</group>
|
||||
<group groups="stock.group_tracking_lot" string="Traceability">
|
||||
<div class="oe_button_box">
|
||||
<group class="oe_right" groups="stock.group_tracking_lot" string="Traceability">
|
||||
<div class="oe_right oe_button_box">
|
||||
<button name="action_traceability"
|
||||
string="Upstream Traceability"
|
||||
string="Upstream"
|
||||
help="Upstream Traceability"
|
||||
class="oe_stat_button"
|
||||
icon="fa-arrow-up"
|
||||
type="object" colspan="2"/>
|
||||
<button name="action_traceability"
|
||||
string="Downstream Traceability"
|
||||
string="Downstream"
|
||||
help="Downstream Traceability"
|
||||
class="oe_stat_button"
|
||||
icon="fa-arrow-down"
|
||||
type="object"
|
||||
|
@ -353,10 +355,16 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Serial Number" version="7.0">
|
||||
<div class="oe_button_box oe_right">
|
||||
<button name="action_traceability" string="Upstream Traceability" class="oe_stat_button"
|
||||
icon="fa-arrow-up" type="object" context="{'type': 'move_history_ids2', 'field': 'prodlot_id'}"/>
|
||||
<button name="action_traceability" string="Downstream Traceability" class="oe_stat_button"
|
||||
icon="fa-arrow-down" type="object" context="{'type': 'move_history_ids', 'field': 'prodlot_id'}"/>
|
||||
<button name="action_traceability"
|
||||
string="Upstream" class="oe_stat_button"
|
||||
help="Upstream Traceability"
|
||||
icon="fa-arrow-up" type="object"
|
||||
context="{'type': 'move_history_ids2', 'field': 'prodlot_id'}"/>
|
||||
<button name="action_traceability"
|
||||
string="Downstream" class="oe_stat_button"
|
||||
icon="fa-arrow-down" type="object"
|
||||
help="Downstream Traceability"
|
||||
context="{'type': 'move_history_ids', 'field': 'prodlot_id'}"/>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
<label for="name" class="oe_edit_only"/>
|
||||
|
|
Loading…
Reference in New Issue