summaryrefslogtreecommitdiff
path: root/addons/purchase_stock/views
diff options
context:
space:
mode:
authorYenthe666 <yenthevg@gmail.com>2019-11-21 15:02:23 +0000
committerMartin Trigaux <mat@odoo.com>2019-12-09 10:38:59 +0000
commit78ae3da90213261071fdadb06cbb0507182303e2 (patch)
tree70c748aee0b65f6bb050b3f3ff92d274cdd782e7 /addons/purchase_stock/views
parent9f7c8d305ea62f550636c5cc77544fbbae06edc8 (diff)
[IMP] *: set name element on main containers in configuration views
This will improve the extendibility of view inheritance closes odoo/odoo#41398 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/purchase_stock/views')
-rw-r--r--addons/purchase_stock/views/res_config_settings_views.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/purchase_stock/views/res_config_settings_views.xml b/addons/purchase_stock/views/res_config_settings_views.xml
index 6dbfe20f88d..5e18e9e9eca 100644
--- a/addons/purchase_stock/views/res_config_settings_views.xml
+++ b/addons/purchase_stock/views/res_config_settings_views.xml
@@ -10,7 +10,7 @@
<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">
+ <div class="row mt16 o_settings_container" name="request_vendor_setting_container">
<div class="col-12 col-lg-6 o_setting_box" attrs="{'invisible': [('is_installed_sale', '=', False)]}" title="This adds a dropshipping route to apply on products in order to request your vendors to deliver to your customers. A product to dropship will generate a purchase request for quotation once the sales order confirmed. This is a on-demand flow. The requested delivery address will be the customer delivery address and not your warehouse.">
<div class="o_setting_left_pane">
<field name="module_stock_dropshipping"/>
@@ -36,7 +36,9 @@
<attribute name="invisible">0</attribute>
</xpath>
<div id="purchase_po_lead" position="replace">
- <div class="col-12 col-lg-6 o_setting_box" title="Margin of error for vendor lead times. When the system generates Purchase Orders for reordering products,they will be scheduled that many days earlier to cope with unexpected vendor delays.">
+ <div class="col-12 col-lg-6 o_setting_box"
+ title="Margin of error for vendor lead times. When the system generates Purchase Orders for reordering products,they will be scheduled that many days earlier to cope with unexpected vendor delays."
+ name="schedule_receivings_setting_container">
<div class="o_setting_left_pane">
<field name="use_po_lead"/>
</div>