[FIX] purchase_stock: correctly set dropshipping settings

Currently settings for purchase stock dropshipping are added by
classname 'app_settings_block'. But there are so many classes with this name
that by default it takes first class. First found application receives this
settings.

This commit fixes that by correctly putting the settings in the purchase
settings.

Related to task: 1858217
Closes PR #25267.
This commit is contained in:
Priyanka Kakadiya
2018-07-26 10:32:06 +02:00
committed by Thibault Delavallée
parent e167f63dba
commit c315d9ffc8
@@ -7,7 +7,7 @@
<field name="priority" eval="25"/>
<field name="inherit_id" ref="purchase.res_config_settings_view_form_purchase"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('app_settings_block')]" position="inside">
<xpath expr="//div[@data-key='purchase']" position="inside">
<field name="is_installed_sale" invisible="1"/>
<h2 attrs="{'invisible': [('is_installed_sale', '=', False)]}">Logistics</h2>
<div class="row mt16 o_settings_container">