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
40 lines
1.7 KiB
XML
40 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
|
|
<record id="hr.employee_niv" model="hr.employee">
|
|
<field name="website_published" eval="True"/>
|
|
<field name="public_info">Designer, UI Expert</field>
|
|
<field name="website_ids" eval="[(4, ref('website.default_website'))]"/>
|
|
</record>
|
|
|
|
<record id="hr.employee_root" model="hr.employee">
|
|
<field name="website_published" eval="True"/>
|
|
<field name="public_info">Lean Management Expert</field>
|
|
<field name="website_ids" eval="[(4, ref('website.default_website'))]"/>
|
|
</record>
|
|
|
|
<record id="hr.employee_qdp" model="hr.employee">
|
|
<field name="website_published" eval="True"/>
|
|
<field name="public_info">Designer, UI Expert</field>
|
|
<field name="website_ids" eval="[(4, ref('website.default_website'))]"/>
|
|
</record>
|
|
|
|
<record id="hr.employee_fpi" model="hr.employee">
|
|
<field name="website_published" eval="True"/>
|
|
<field name="public_info">Customer Service Oriented</field>
|
|
<field name="website_ids" eval="[(4, ref('website.default_website'))]"/>
|
|
</record>
|
|
|
|
<record id="hr.employee_al" model="hr.employee">
|
|
<field name="website_published" eval="True"/>
|
|
<field name="public_info">Like Coding</field>
|
|
<field name="website_ids" eval="[(4, ref('website.default_website'))]"/>
|
|
</record>
|
|
|
|
<record id="hr.employee_jgo" model="hr.employee">
|
|
<field name="website_published" eval="True"/>
|
|
<field name="public_info">Driven by Customer Satisfaction</field>
|
|
</record>
|
|
|
|
</flectra>
|