You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
190 lines
11 KiB
190 lines
11 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.portal.dashboard</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="website.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[hasclass('settings')]" position="inside">
|
|
<!-- To set the records which shows in dashboard from settings-->
|
|
<div style="background:#e9ecef;height:31px;">
|
|
<h3 style="margin-left:40px;padding-top:7px;">Portal Dashboard
|
|
</h3>
|
|
</div>
|
|
<div class="row mt16 o_settings_container">
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="is_show_recent_so_q"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="is_show_recent_so_q"/>
|
|
<div class="text-muted">
|
|
show recent quotation and sale order
|
|
table in portal dashboard
|
|
</div>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86"
|
|
icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane"
|
|
attrs="{'invisible': [('is_show_recent_so_q', '=', False)]}">
|
|
<label for="sale_count"/>
|
|
<div class="text-muted">
|
|
How many recent/last records do you want
|
|
to show in portal dashboard
|
|
</div>
|
|
<field name="sale_count"/>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86"
|
|
icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="is_show_recent_po_rfq"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="is_show_recent_po_rfq"/>
|
|
<div class="text-muted">
|
|
show recent RFQ and Purchase order table
|
|
in portal dashboard
|
|
</div>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86"
|
|
icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane"
|
|
attrs="{'invisible': [('is_show_recent_po_rfq', '=', False)]}">
|
|
<label for="purchase_count"/>
|
|
<div class="text-muted">
|
|
How many recent/last records do you want
|
|
to show in portal dashboard
|
|
</div>
|
|
<field name="purchase_count"/>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86"
|
|
icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="o_setting_left_pane">
|
|
<field name="is_show_project"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="is_show_project"/>
|
|
<div class="text-muted">
|
|
Show project task table in portal
|
|
dashboard
|
|
</div>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86"
|
|
icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane"
|
|
attrs="{'invisible': [('is_show_project', '=', False)]}">
|
|
<label for="project_count"/>
|
|
<div class="text-muted">
|
|
How many recent/last records do you want
|
|
to show in portal dashboard
|
|
</div>
|
|
<field name="project_count"/>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86"
|
|
icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="is_show_recent_invoice_bill"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="is_show_recent_invoice_bill"/>
|
|
<div class="text-muted">
|
|
show recent invoice/bill table in portal
|
|
dashboard
|
|
</div>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86" icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane"
|
|
attrs="{'invisible': [('is_show_recent_invoice_bill', '=', False)]}">
|
|
<label for="account_count"/>
|
|
<div class="text-muted">
|
|
How many recent records do you want to show?
|
|
</div>
|
|
<field name="account_count"/>
|
|
<div class="content-group"
|
|
modifiers="{"invisible": [["group_uom", "=", false]]}">
|
|
<div class="mt8">
|
|
<button name="86" icon="fa-arrow-right"
|
|
type="action"
|
|
string="sale analysis"
|
|
class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|