[REF] *: get rid of o_visible and o_invisible in kanban
* account, hr, hr_recruitment, maintenance, mrp, point_of_sale, project, sales_team, stock
This commit is contained in:
@@ -108,7 +108,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.o_invisible .o_dashboard_graph {
|
||||
display: none; // This fix a bug on firefox
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<t t-value="JSON.parse(record.kanban_dashboard.raw_value)" t-set="dashboard"/>
|
||||
<t t-value="record.type.raw_value" t-set="journal_type"/>
|
||||
<t t-call="JournalTop"/>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<t t-if="(journal_type == 'bank' || journal_type == 'cash')" t-call="JournalBodyBankCash"/>
|
||||
<t t-if="journal_type == 'sale' || journal_type == 'purchase'" t-call="JournalBodySalePurchase"/>
|
||||
@@ -29,7 +29,7 @@
|
||||
</t>
|
||||
</div>
|
||||
<t t-if="journal_type == 'bank' || journal_type == 'cash' || journal_type == 'sale' || journal_type == 'purchase'" t-call="JournalBodyGraph"/>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<t t-call="JournalManage"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -288,13 +288,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<a type="object" t-if="journal_type == 'sale'" name="open_action"
|
||||
<div class="col-xs-6">
|
||||
<a type="object" t-if="journal_type == 'sale'" name="open_action"
|
||||
context="{'search_default_unpaid':1}" id="account_dashboard_sale_pay_link">
|
||||
<t t-esc="dashboard.number_waiting"/> Awaiting payments
|
||||
<t t-esc="dashboard.number_waiting"/> Awaiting payments
|
||||
</a>
|
||||
|
||||
<a type="object" t-if="journal_type == 'purchase'" name="open_action"
|
||||
|
||||
<a type="object" t-if="journal_type == 'purchase'" name="open_action"
|
||||
context="{'search_default_unpaid':1}" id="account_dashboard_purchase_pay_link">
|
||||
<t t-esc="dashboard.number_waiting"/> Payments to do
|
||||
</a>
|
||||
|
||||
@@ -526,7 +526,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
<button class="btn btn-primary" name="%(act_employee_from_department)d" type="action">Employees</button>
|
||||
@@ -534,7 +534,7 @@
|
||||
<div class="col-xs-6 o_kanban_primary_right">
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 o_kanban_card_manage_section o_kanban_manage_to_do">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<t t-if="record.state.raw_value == 'recruit'">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 o_kanban_card_manage_section o_kanban_manage_view">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
|
||||
@@ -755,7 +755,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
<button class="btn btn-primary" name="%(hr_equipment_todo_request_action_from_dashboard)d" type="action" context="{'search_default_todo': 1}">
|
||||
@@ -799,7 +799,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_card_manage_section o_kanban_manage_view">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
@@ -895,7 +895,7 @@
|
||||
sequence="0"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_m_request"
|
||||
id="menu_m_request"
|
||||
name="Maintenance"
|
||||
parent="menu_maintenance_title"
|
||||
groups="group_equipment_manager,base.group_user"
|
||||
@@ -926,7 +926,7 @@
|
||||
sequence="2"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_m_reports"
|
||||
id="menu_m_reports"
|
||||
name="Reporting"
|
||||
parent="menu_maintenance_title"
|
||||
groups="group_equipment_manager,base.group_user"
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<field name="res_model">mrp.workcenter.productivity</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form,graph,pivot</field>
|
||||
<field name="context">{'search_default_availability': '1',
|
||||
<field name="context">{'search_default_availability': '1',
|
||||
'search_default_performance': '1',
|
||||
'search_default_quality': '1',
|
||||
'default_workcenter_id': active_id,
|
||||
@@ -129,7 +129,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
<div class="btn-group" name="o_wo">
|
||||
@@ -203,7 +203,7 @@
|
||||
attrs="{'invisible': [('working_state','in',('normal','blocked'))]}"/>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_card_manage_section o_kanban_manage_view">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
@@ -375,7 +375,7 @@
|
||||
</p><p>
|
||||
Manufacturing operations are processed at Work Centers. A Work Center can be composed of
|
||||
workers and/or machines, they are used for costing, scheduling, capacity planning, etc.
|
||||
The Work Centers are defined on the Routing's operations.
|
||||
The Work Centers are defined on the Routing's operations.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
@@ -592,4 +592,4 @@
|
||||
groups="group_mrp_routings"
|
||||
sequence="12"/>
|
||||
</data>
|
||||
</odoo>
|
||||
</odoo>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
<button class="btn btn-primary" name="%(mrp_production_action_picking_deshboard)d" type="action" context="{'search_default_todo': 1}">
|
||||
@@ -55,7 +55,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_card_manage_section o_kanban_manage_view" name="picking_left_manage_pane">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
<button t-if="record.current_session_state.raw_value === 'opened'" class="btn btn-primary" name="open_ui" type="object">Resume</button>
|
||||
@@ -110,7 +110,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_card_manage_section o_kanban_manage_view">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
<t t-name="kanban-box">
|
||||
<div t-attf-class="#{kanban_color(record.color.raw_value)} oe_kanban_global_click o_has_icon">
|
||||
<div class="o_project_kanban_main">
|
||||
<div class="o_kanban_card_content o_visible">
|
||||
<div class="o_kanban_card_content">
|
||||
<div class="o_kanban_primary_left">
|
||||
<div class="o_primary">
|
||||
<span><t t-esc="record.name.value"/></span>
|
||||
@@ -281,7 +281,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="o_kanban_card_manage_pane o_invisible">
|
||||
<div class="o_kanban_card_manage_pane">
|
||||
<div class="o_kanban_card_manage_section o_kanban_manage_reports">
|
||||
<div groups="project.group_project_manager">
|
||||
<a type="edit">Settings</a>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row o_kanban_card_upper_content">
|
||||
<div class="col-xs-6 o_kanban_primary_left" name="to_replace_in_sale_crm">
|
||||
<button type="object" class="btn btn-primary" name="action_primary_channel_button"><field name="dashboard_button_name"/></button>
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="col-xs-12 o_kanban_primary_bottom bottom_block">
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 o_kanban_card_manage_section o_kanban_manage_view">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
|
||||
@@ -632,7 +632,7 @@
|
||||
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container o_kanban_card_content o_visible">
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_primary_left">
|
||||
<button class="btn btn-primary" name="get_action_picking_tree_ready" type="object">
|
||||
@@ -679,7 +679,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="container o_kanban_card_manage_pane o_invisible">
|
||||
</div><div class="container o_kanban_card_manage_pane">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 o_kanban_card_manage_section o_kanban_manage_view">
|
||||
<div class="o_kanban_card_manage_title">
|
||||
|
||||
Reference in New Issue
Block a user