This commit is contained in:
gsinghpal
2026-02-25 09:40:41 -05:00
parent 0e1aebe60b
commit e71bc503f9
69 changed files with 7537 additions and 82 deletions

View 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 &gt; Configuration &gt; 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>