[FIX] delivery: allow to select delivery method which has no company
On shipping method company is not required field so having blank company on shipping method will be a shared method. so while adding shipping method on so also display the company on which the company is not set. Closes: #35808
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<field name='available_carrier_ids' invisible="1"/>
|
||||
<group>
|
||||
<group>
|
||||
<field name="carrier_id" domain="[('id', 'in', available_carrier_ids), ('company_id', '=', company_id)]" widget='radio'/>
|
||||
<field name="carrier_id" domain="[('id', 'in', available_carrier_ids), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" widget='radio'/>
|
||||
<field name="delivery_type" invisible="1"/>
|
||||
<field name="currency_id" invisible="1"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user