mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
Now it's possible to configure if the portal RMA request form is loaded in a popup or in a single page. In that page, we can add custom blocks (if the website is installed) a customize the form text. In this commit, we also add the possibility to extend the form view to allow custom fields that will show up in the RMA description. TT29670
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="sale.res_config_settings_view_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath
|
|
expr="//div[@data-key='sale_management']/div[hasclass('o_settings_container')]"
|
|
position="inside"
|
|
>
|
|
<div
|
|
class="col-12 col-lg-6 o_setting_box"
|
|
title="Show portal RMA request in a single page"
|
|
>
|
|
<div class="o_setting_left_pane">
|
|
<field name="show_full_page_sale_rma" />
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label
|
|
for="show_full_page_sale_rma"
|
|
string="Single page RMA request"
|
|
/>
|
|
<span
|
|
class="fa fa-lg fa-building-o"
|
|
title="Values set here are company-specific."
|
|
groups="base.group_multi_company"
|
|
/>
|
|
<div class="text-muted">
|
|
When we hit the RMA request button from the portal sale page, open in a single page instead of a popup.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|