Skip to content
Snippets Groups Projects
Commit c2bc4ee7 authored by Hiral Bhavsar's avatar Hiral Bhavsar Committed by Thibault Delavallée
Browse files

[IMP] point_of_sale: clean the controlpanel actions menu

For the model 'pos.session'

- Remove the actions menu 'Put Money In', 'Take Money Out' and 'Orders'
  from the controlpanel actions menu.

For the model 'pos.config', remove 'Sessions' action menu.

Linked to task 1984526
Related to PR #33720
parent 9df284f5
Branches
Tags
No related merge requests found
......@@ -518,14 +518,6 @@
</field>
</record>
<act_window
id="act_pos_config_sessions"
name="Sessions"
binding_model="pos.config"
binding_views="form"
res_model="pos.session"
domain="[('config_id', '=', active_id)]" />
<record id="action_pos_config_pos" model="ir.actions.act_window">
<field name="name">Point of Sale</field>
<field name="type">ir.actions.act_window</field>
......
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<act_window
id="act_pos_session_orders"
name="Orders"
binding_model="pos.session"
binding_views="form"
res_model="pos.order"
context="{'search_default_session_id': active_id, 'default_session_id' : active_id }"/>
<record id="view_pos_session_form" model="ir.ui.view">
<field name="name">pos.session.form.view</field>
<field name="model">pos.session</field>
......
......@@ -4,7 +4,6 @@
id="action_pos_box_in"
name="Put Money In"
res_model="cash.box.in"
binding_model="pos.session"
view_mode="form"
target="new"/>
......@@ -12,7 +11,6 @@
id="action_pos_box_out"
name="Take Money Out"
res_model="cash.box.out"
binding_model="pos.session"
view_mode="form"
target="new"/>
</odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment