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.
 
 
 
 
 

110 lines
5.8 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.delivery</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="//block[@id='website_settings']" position="after">
<!-- Portal Dashboard Settings -->
<h2>Portal Dashboard</h2>
<div class="row mt16 o_settings_container">
<div class="content-group mt16">
<!-- Recent Quotation / Sale Order -->
<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>
</div>
<div class="col-12 col-lg-6 o_setting_box" invisible="not is_show_recent_so_q">
<div class="o_setting_right_pane">
<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" options="{'required': True}" depends="is_show_recent_so_q"/>
</div>
</div>
<!-- Recent RFQ / Purchase Order -->
<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>
</div>
<div class="col-12 col-lg-6 o_setting_box" invisible="not is_show_recent_po_rfq">
<div class="o_setting_right_pane">
<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" options="{'required': True}" depends="is_show_recent_po_rfq"/>
</div>
</div>
<!-- Project Tasks -->
<div class="col-12 col-lg-6 o_setting_box">
<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>
</div>
<div class="col-12 col-lg-6 o_setting_box" invisible="not is_show_project">
<div class="o_setting_right_pane">
<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" options="{'required': True}" depends="is_show_project"/>
</div>
</div>
<!-- Recent Invoice / Bill -->
<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>
</div>
<div class="col-12 col-lg-6 o_setting_box" invisible="not is_show_recent_invoice_bill">
<div class="o_setting_right_pane">
<label for="account_count"/>
<div class="text-muted">
How many recent records do you want to show?
</div>
<field name="account_count" options="{'required': True}" depends="is_show_recent_invoice_bill"/>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>