From 960cb664034587108e9c61409e55bdbc87b9eac2 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Tue, 23 Jun 2015 01:54:52 +0200 Subject: [PATCH] Fix review comments --- pos_with_tax/README.rst | 16 +++++++++------- pos_with_tax/__init__.py | 21 --------------------- pos_with_tax/__openerp__.py | 4 ++-- pos_with_tax/views/pos_template.xml | 22 ++++++++++++---------- pos_with_tax/views/report_receipt.xml | 19 +++++++++++++++++++ pos_with_tax/views/report_receipt_view.xml | 12 ------------ 6 files changed, 42 insertions(+), 52 deletions(-) create mode 100644 pos_with_tax/views/report_receipt.xml delete mode 100644 pos_with_tax/views/report_receipt_view.xml diff --git a/pos_with_tax/README.rst b/pos_with_tax/README.rst index 6476aa3d..c314a535 100644 --- a/pos_with_tax/README.rst +++ b/pos_with_tax/README.rst @@ -1,16 +1,18 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :alt: AGPLv3 License -Point of sale with tax -====================== +Product prices in POS with taxes +================================ -Include tax in price on POS. +This addon shows the correct price indepently of the tax configuration +(with or without the "Tax included in price" check) -This addons takes care of tax configuration: price_include, showing prices -with tax included even price_include == True or price_include == False +It takes care of tax configuration: price_include, showing prices +with tax included even "Tax included in price" is checked (price_include == True) +or unchecked (price_include == False) -This helps to shop owner because he can set product prices with taxes -or without taxes, but prices are always shown in POS with taxes +This helps to shop owner because he can set product prices with or without taxes, +but prices are always shown in POS with taxes Credits diff --git a/pos_with_tax/__init__.py b/pos_with_tax/__init__.py index f3ebd3ec..4eb8bc8f 100644 --- a/pos_with_tax/__init__.py +++ b/pos_with_tax/__init__.py @@ -1,24 +1,3 @@ # -*- coding: utf-8 -*- # Python source code encoding : https://www.python.org/dev/peps/pep-0263/ ############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright : -# (c) 2014 Antiun Ingenieria, SL (Madrid, Spain, http://www.antiun.com) -# Endika Iglesias -# Antonio Espinosa -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## diff --git a/pos_with_tax/__openerp__.py b/pos_with_tax/__openerp__.py index 423acdde..46631fcd 100644 --- a/pos_with_tax/__openerp__.py +++ b/pos_with_tax/__openerp__.py @@ -23,7 +23,7 @@ # ############################################################################## { - 'name': 'Point of sale with tax', + 'name': 'Product prices in POS with taxes', 'category': 'Point Of Sale', 'version': '1.0', 'depends': [ @@ -31,7 +31,7 @@ ], 'data': [ 'views/pos_template.xml', - 'views/report_receipt_view.xml', + 'views/report_receipt.xml', ], 'qweb': [ 'static/src/xml/pos.xml', diff --git a/pos_with_tax/views/pos_template.xml b/pos_with_tax/views/pos_template.xml index 4a7f8986..a0ada675 100644 --- a/pos_with_tax/views/pos_template.xml +++ b/pos_with_tax/views/pos_template.xml @@ -1,13 +1,15 @@ + - - + - + + + \ No newline at end of file diff --git a/pos_with_tax/views/report_receipt.xml b/pos_with_tax/views/report_receipt.xml new file mode 100644 index 00000000..9dc15e20 --- /dev/null +++ b/pos_with_tax/views/report_receipt.xml @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/pos_with_tax/views/report_receipt_view.xml b/pos_with_tax/views/report_receipt_view.xml deleted file mode 100644 index f10775cf..00000000 --- a/pos_with_tax/views/report_receipt_view.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -