Task-id : 2791237 PR : https://github.com/odoo/odoo/pull/87636 Allows customers to see a list of delivery carriers as shops in the website page; A delivery carrier may now be an onsite one, which means the client comes to the corresponding store to pickup the products. Also adds a payment acquirer based on wire transfer, for paying on site. The customer can only pay on site if he also comes to pick the product on site Notes : - If a warehouse is set on a delivery carrier, the sales order will take it's address. closes odoo/odoo#87636 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
15 lines
729 B
XML
15 lines
729 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record id="view_delivery_carrier_form_with_onsite_picking" model="ir.ui.view">
|
|
<field name="inherit_id" ref="delivery.view_delivery_carrier_form"/>
|
|
<field name="name">Delivery Carrier with Onsite Picking</field>
|
|
<field name="model">delivery.carrier</field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='integration_level']" position="before">
|
|
<field attrs="{'invisible': [('delivery_type', '!=', 'onsite')]}" name="warehouse_id" options="{'no_quick_create': True}"
|
|
domain="[('company_id', '=?', company_id)]"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|