[MOV] sale_stock: rename xml file according to content
closes odoo/odoo#91555 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -23,17 +23,21 @@ Preferences
|
||||
'data': [
|
||||
'security/sale_stock_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
|
||||
'views/sale_order_views.xml',
|
||||
'views/stock_views.xml',
|
||||
'views/stock_route_views.xml',
|
||||
'views/res_config_settings_views.xml',
|
||||
'views/sale_stock_portal_template.xml',
|
||||
'views/stock_lot_views.xml',
|
||||
'views/res_users_views.xml',
|
||||
|
||||
'report/report_stock_forecasted.xml',
|
||||
'report/sale_order_report_templates.xml',
|
||||
'report/stock_report_deliveryslip.xml',
|
||||
|
||||
'data/mail_templates.xml',
|
||||
'data/sale_stock_data.xml',
|
||||
|
||||
'wizard/stock_rules_report_views.xml',
|
||||
'wizard/sale_order_cancel_views.xml',
|
||||
],
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="stock_location_route_view_form_inherit_sale_stock" model="ir.ui.view">
|
||||
<field name="name">stock.route.form</field>
|
||||
<field name="model">stock.route</field>
|
||||
<field name="inherit_id" ref="stock.stock_location_route_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="warehouse_ids" position="after">
|
||||
<br/><field name="sale_selectable" string="Sales Order Lines"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="stock_location_route_view_form_inherit_sale_stock" model="ir.ui.view">
|
||||
<field name="name">stock.route.form</field>
|
||||
<field name="inherit_id" ref="stock.stock_location_route_form_view"/>
|
||||
<field name="model">stock.route</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='warehouse_ids']" position="after">
|
||||
<br/><field name="sale_selectable" string="Sales Order Lines"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user