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
14 lines
416 B
Python
14 lines
416 B
Python
# Copyright 2021 Tecnativa - David Vidal
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResCompany(models.Model):
|
|
_inherit = "res.company"
|
|
|
|
show_full_page_sale_rma = fields.Boolean(
|
|
string="Full page RMA creation",
|
|
help="From the frontend sale order page go to a single RMA page "
|
|
"creation instead of the usual popup",
|
|
)
|