PURPOSE This module enables the Booths registration on the frontend by adding a dedicated page on the related event. The user will have to first select a booth category and then select one or more booths to book. He will then be asked to provide his contact informations. The booths will directly be set to unavailable... First come, first served. LINKS Task-2318655 Closes : odoo/odoo#71104
16 lines
684 B
XML
16 lines
684 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo><data noupdate="1">
|
|
|
|
<record id="ir_rule_event_booth_public" model="ir.rule">
|
|
<field name="name">Event Booth: public/portal: published read</field>
|
|
<field name="model_id" ref="event_booth.model_event_booth"/>
|
|
<field name="domain_force">[('event_id.website_published', '=', True)]</field>
|
|
<field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_unlink" eval="False"/>
|
|
</record>
|
|
|
|
</data></odoo>
|