summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2018-02-23 11:04:02 +0100
committerPierre Masereel <pim@odoo.com>2018-02-23 11:19:48 +0100
commit57f6c128343540b64ba4e4efa06e47ee7146331e (patch)
treef95f8dd78a0e76c7172276912be1269f21f48615
parentd6f5b7e2e608d5613fe70629011908519cb606ce (diff)
[FIX] point_of_sale: add menu taxes to POS
When only point_of sale module is installed, it is impossible to modify existing taxes because the One2many tags widget doesn't allow to open the taxes and edit them. So we add a menu item allowing to modify them. It is needed if we want to set a tax included in the price.
-rw-r--r--addons/point_of_sale/views/account_journal_view.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/point_of_sale/views/account_journal_view.xml b/addons/point_of_sale/views/account_journal_view.xml
index 7255a81cf0a..86c15e3135e 100644
--- a/addons/point_of_sale/views/account_journal_view.xml
+++ b/addons/point_of_sale/views/account_journal_view.xml
@@ -45,4 +45,13 @@
<field name="context">{'search_default_available_in_pos': 1, 'default_type': 'cash'}</field>
</record>
+
+ <!-- View Taxes -->
+
+ <menuitem id="menu_action_tax_form_open"
+ action="account.action_tax_form"
+ parent="point_of_sale.menu_point_config_product"
+ groups="base.group_no_one"
+ sequence="40"/>
+
</odoo>