20 lines
764 B
Python
20 lines
764 B
Python
from odoo import api, fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
rental_google_review_url = fields.Char(
|
|
string="Google Review URL",
|
|
config_parameter='fusion_rental.google_review_url',
|
|
help="Google Review link shown in thank-you emails after rental close. "
|
|
"For multi-location, set per warehouse in Inventory > Configuration > Warehouses.",
|
|
)
|
|
rental_deposit_hold_days = fields.Integer(
|
|
string="Deposit Hold Period (Days)",
|
|
config_parameter='fusion_rental.deposit_hold_days',
|
|
default=3,
|
|
help="Number of days to hold the security deposit after pickup before "
|
|
"processing the refund. Default is 3 days.",
|
|
)
|