e088762a21
- Affected Modules: website_sale, website_blog, website_partner, website_crm_partner_assign, website_customer, website_slides, website_links, website_membership, website_hr, website_hr_recruitment, website_payment, website_sale_delivery, website_forum, website_event - Remove unnecessary model `website.product.pricelist` from website_sale, All its mechanism already transferd to existing model `product.pricelist` - Change in `product.pricelist` model, make website_id(o2m) to website_ids(m2m), As user can choose that same pricelist can be used in multiple websites - Added `default_website` as default values in `website_ids(m2m)` & `website_id(m2o)` field in almost all affected modules (mentioned above!!) - To use/publish things(like... product, pricelist, blog, forum, events, etc...) in website, User have to set `website_published` mechanism `on` (if it's available for that model/object), Also have to set/assign different websites in `website_ids` field as per needs
64 lines
2.7 KiB
XML
64 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
|
|
<record id="event_type_view_form_inherit_website" model="ir.ui.view">
|
|
<field name="name">event.type.view.form.inherit.website</field>
|
|
<field name="model">event.type</field>
|
|
<field name="inherit_id" ref="event.view_event_type_form"/>
|
|
<field name="arch" type="xml">
|
|
<div name="event_type_visibility_seats" position="after">
|
|
<div class="col-xs-12 col-md-6 o_setting_box" name="event_type_visibility_website">
|
|
<div class="o_setting_left_pane">
|
|
<field name="website_menu"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="website_menu"/>
|
|
<div class="row">
|
|
<div class="col-md-8 mt16 text-muted">
|
|
Check this option to have menus for your event on the
|
|
website: registrations, schedule, map, ...
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="event_event_view_form_inherit_website" model="ir.ui.view">
|
|
<field name="name">event.event.view.form.inherit.website</field>
|
|
<field name="model">event.event</field>
|
|
<field name="inherit_id" ref="event.view_event_form"/>
|
|
<field name="arch" type="xml">
|
|
<button name="toggle_active" position="before">
|
|
<field name="website_url" invisible="1"/>
|
|
<button name="website_publish_button"
|
|
type="object"
|
|
class="oe_stat_button"
|
|
icon="fa-globe">
|
|
<field name="website_published" widget="website_button"/>
|
|
</button>
|
|
</button>
|
|
<label for="is_online" position="after">
|
|
<field name="website_menu"/>
|
|
<label for="website_menu" string="Website Menu"/>
|
|
</label>
|
|
<xpath expr="//button[@name='button_done']" position="before">
|
|
<button name="action_open_badge_editor"
|
|
type="object"
|
|
states="confirm"
|
|
string="Edit Badges"
|
|
class="oe_highlight"/>
|
|
<button name="action_open_badge_editor"
|
|
type="object"
|
|
states="done"
|
|
string="Edit Badges"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='auto_confirm']" position="before">
|
|
<field name="website_id"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|