changes
This commit is contained in:
39
fusion_rental/views/res_config_settings_views.xml
Normal file
39
fusion_rental/views/res_config_settings_views.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="res_config_settings_view_form_inherit_fusion_rental" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.fusion.rental</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="sale_renting.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//app[@name='sale_renting']" position="inside">
|
||||
<block title="Rental Enhancement" name="rental_enhancement_settings">
|
||||
<setting string="Google Review URL"
|
||||
help="Google Review link shown in thank-you emails after rental close.">
|
||||
<div class="content-group">
|
||||
<div class="mt-2">
|
||||
<field name="rental_google_review_url"
|
||||
placeholder="https://g.page/r/YOUR_REVIEW_LINK/review"/>
|
||||
</div>
|
||||
<div class="text-muted mt-1">
|
||||
For multiple locations, set the URL per warehouse in
|
||||
Inventory > Configuration > Warehouses.
|
||||
</div>
|
||||
</div>
|
||||
</setting>
|
||||
<setting string="Security Deposit Hold Period"
|
||||
help="How many days to hold the security deposit after product pickup before processing the refund.">
|
||||
<div class="content-group">
|
||||
<div class="row mt-2">
|
||||
<label class="col-lg-3 o_light_label" for="rental_deposit_hold_days"/>
|
||||
<field name="rental_deposit_hold_days" class="col-lg-2"/>
|
||||
<span class="col-lg-4 text-muted">days after pickup</span>
|
||||
</div>
|
||||
</div>
|
||||
</setting>
|
||||
</block>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user