Minor fix
This commit is contained in:
parent
13996b0065
commit
e789719066
|
@ -2,6 +2,7 @@
|
||||||
# copyright notices and license terms.
|
# copyright notices and license terms.
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
import sale
|
import sale
|
||||||
|
import dash
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
|
@ -9,4 +10,5 @@ def register():
|
||||||
sale.Sale,
|
sale.Sale,
|
||||||
sale.DashAppDelivery,
|
sale.DashAppDelivery,
|
||||||
sale.DashAppSaleOrder,
|
sale.DashAppSaleOrder,
|
||||||
|
dash.DashApp,
|
||||||
module='dash_sale', type_='model')
|
module='dash_sale', type_='model')
|
||||||
|
|
4
sale.xml
4
sale.xml
|
@ -28,7 +28,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
<field name="view" ref="dash_app_delivery_view_form"/>
|
<field name="view" ref="dash_app_delivery_view_form"/>
|
||||||
<field name="act_window" ref="act_dash_app_delivery_form"/>
|
<field name="act_window" ref="act_dash_app_delivery_form"/>
|
||||||
</record>
|
</record>
|
||||||
<menuitem parent="dash.menu_dash" sequence="10"
|
<menuitem parent="dash.menu_configuration" sequence="20"
|
||||||
action="act_dash_app_delivery_form" id="menu_dash_app_delivery_form"/>
|
action="act_dash_app_delivery_form" id="menu_dash_app_delivery_form"/>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="dash_app_sale_order_view_form">
|
<record model="ir.ui.view" id="dash_app_sale_order_view_form">
|
||||||
|
@ -55,7 +55,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
<field name="view" ref="dash_app_sale_order_view_form"/>
|
<field name="view" ref="dash_app_sale_order_view_form"/>
|
||||||
<field name="act_window" ref="act_dash_app_sale_order_form"/>
|
<field name="act_window" ref="act_dash_app_sale_order_form"/>
|
||||||
</record>
|
</record>
|
||||||
<menuitem parent="dash.menu_dash" sequence="10"
|
<menuitem parent="dash.menu_configuration" sequence="30"
|
||||||
action="act_dash_app_sale_order_form" id="menu_dash_app_sale_order_form"/>
|
action="act_dash_app_sale_order_form" id="menu_dash_app_sale_order_form"/>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
|
Loading…
Reference in New Issue