2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<data>
|
|
|
|
<record id="website_settings_payment" model="ir.ui.view">
|
|
|
|
<field name="name">website.form</field>
|
|
|
|
<field name="model">website</field>
|
|
|
|
<field name="inherit_id" ref="website.view_website_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//div[@name='other']" position='before'>
|
|
|
|
<div name="shop">
|
|
|
|
<separator string="E-Commerce"/>
|
|
|
|
<group name="shop">
|
|
|
|
<button type="action"
|
|
|
|
name="%(payment.action_payment_acquirer)d"
|
|
|
|
string="Configure payment acquirers" class="oe_link"/>
|
|
|
|
</group>
|
|
|
|
</div>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2018-01-17 11:40:51 +01:00
|
|
|
|
|
|
|
<record id="website_acquirer_form" model="ir.ui.view">
|
|
|
|
<field name="name">payment.acquirer.form</field>
|
|
|
|
<field name="model">payment.acquirer</field>
|
|
|
|
<field name="inherit_id" ref="payment.acquirer_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='provider']" position='after'>
|
[IMP] Improve Multi-Website Functionalities:-
- 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
2018-02-06 10:43:31 +01:00
|
|
|
<field name="website_id"/>
|
2018-01-17 11:40:51 +01:00
|
|
|
</xpath>
|
|
|
|
<xpath expr="//group[@name='acquirer_left']" position="after">
|
|
|
|
<group nama="acquirer_right">
|
|
|
|
<div class="panel panel-danger">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<span>
|
|
|
|
Website is required in order to use payment gateway in e-commerce store.
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</group>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2018-01-16 06:58:15 +01:00
|
|
|
</data>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|