| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="res_config_settings_view_form_purchase" model="ir.ui.view"> |
| 5 | <field name="name">res.config.settings.view.form.inherit.purchase</field> |
| 6 | <field name="model">res.config.settings</field> |
| 7 | <field name="priority" eval="25"/> |
| 8 | <field name="inherit_id" ref="purchase.res_config_settings_view_form_purchase"/> |
| 9 | <field name="arch" type="xml"> |
| 10 | <xpath expr="//app[@name='purchase']" position="inside"> |
| 11 | <field name="is_installed_sale" invisible="1"/> |
| 12 | <block title="Logistics" invisible="not is_installed_sale" name="request_vendor_setting_container"> |
| 13 | <setting 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." help="Request your vendors to deliver to your customers" |
| 14 | documentation="/applications/inventory_and_mrp/inventory/shipping/operation/dropshipping.html"> |
| 15 | <field name="module_stock_dropshipping"/> |
| 16 | </setting> |
| 17 | <setting title="This adds a Replenish On Order (MTO) route to apply on products in order to generate on-demand replenishment linked to your sales orders (for example) as soon as they are confirmed, with a direct link. Purchase orders, manufacturing orders, etc. are triggered based on what way to replenish is set on the product (Buy or Manufacture route)." |
| 18 | help="Allow Make to Order, or automate PO, when a product is sold and get direct links between documents." |
| 19 | documentation="/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment/mto.html" |
| 20 | groups="stock.group_stock_manager"> |
| 21 | <field name="replenish_on_order"/> |
| 22 | </setting> |
| 23 | </block> |
| 24 | </xpath> |
| 25 | </field> |
| 26 | </record> |
| 27 | |
| 28 | <record id="res_config_settings_view_form_stock" model="ir.ui.view"> |
| 29 | <field name="name">res.config.settings.view.form.inherit.purchase.stock</field> |
| 30 | <field name="model">res.config.settings</field> |
| 31 | <field name="inherit_id" ref="stock.res_config_settings_view_form"/> |
| 32 | <field name="arch" type="xml"> |
| 33 | <div id="purchase_po_lead" position="replace"> |
| 34 | <setting company_dependent="1" help="Days needed to confirm a PO"> |
| 35 | <field name="days_to_purchase" class="oe_inline"/><span> days</span> |
| 36 | </setting> |
| 37 | </div> |
| 38 | </field> |
| 39 | </record> |
| 40 | |
| 41 | </odoo> |