[ADD] website_sale: new module

This module adds a website form to allows to create an RMA from scratch
This commit is contained in:
Ernesto Tejeda
2020-09-03 09:11:45 -04:00
committed by Nikolaus Weingartmair
parent fe7f66a530
commit 1d84cdca60
22 changed files with 749 additions and 0 deletions

View 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>