mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[ADD] website_sale: new module
This module adds a website form to allows to create an RMA from scratch
This commit is contained in:
committed by
Nikolaus Weingartmair
parent
fe7f66a530
commit
1d84cdca60
24
website_rma/data/ir_model_data.xml
Normal file
24
website_rma/data/ir_model_data.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="rma.model_rma" model="ir.model">
|
||||
<field name="website_form_default_field_id" ref="rma.field_rma__description" />
|
||||
<field name="website_form_access">True</field>
|
||||
<field name="website_form_label">Request RMA</field>
|
||||
</record>
|
||||
</data>
|
||||
<function model="ir.model.fields" name="formbuilder_whitelist">
|
||||
<value>rma</value>
|
||||
<value eval="[
|
||||
'partner_id',
|
||||
'product_id',
|
||||
'product_uom_qty',
|
||||
'product_uom',
|
||||
'operation_id',
|
||||
'description',
|
||||
'state',
|
||||
]"/>
|
||||
</function>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user