mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] sale_planner: do not allow creating carriers from carrier selection fields
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
For example, you should add 1 FedEx carrier here and let us build up the
|
||||
rates for your other FedEx shipping methods.
|
||||
</div>
|
||||
<field name="sale_planner_carrier_ids" class="oe_inline" />
|
||||
<field name="sale_planner_carrier_ids" class="oe_inline" options="{'no_create_edit': True, 'no_create': True}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="sale_planner_warehouses">
|
||||
@@ -29,7 +29,7 @@
|
||||
Warehouses you typically ship inventory out of that you want to
|
||||
include in the planning of sale orders.
|
||||
</div>
|
||||
<field name="sale_planner_warehouse_ids" class="oe_inline" />
|
||||
<field name="sale_planner_warehouse_ids" class="oe_inline" options="{'no_create_edit': True, 'no_create': True}" />
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='partner_id']" position="after">
|
||||
<field name="shipping_calendar_id" />
|
||||
<field name="sale_planner_carrier_ids" />
|
||||
<field name="sale_planner_carrier_ids" options="{'no_create_edit': True, 'no_create': True}" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user