Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions pos_fixed_discount/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
=============================
Point of Sale Fixed Discounts
=============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/14.0/pos_fixed_discount
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_fixed_discount
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/184/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

In point of sale allow to apply discount with fixed amount.

**Table of contents**

.. contents::
:local:

Usage
=====

Just click on "Discount (Amount)" and set the amount.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_fixed_discount%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* TAKOBI

Contributors
~~~~~~~~~~~~

* Lorenzo Battistini - https://takobi.online
* Foram Shah <[email protected]>
* Helly kapatel <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-eLBati| image:: https://github.com/eLBati.png?size=40px
:target: https://github.com/eLBati
:alt: eLBati

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-eLBati|

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/14.0/pos_fixed_discount>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added pos_fixed_discount/__init__.py
Empty file.
24 changes: 24 additions & 0 deletions pos_fixed_discount/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2020 Lorenzo Battistini @ TAKOBI
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
{
"name": "Point of Sale Fixed Discounts",
"summary": "Allow to apply discounts with fixed amount",
"version": "15.0.1.0.1",
"development_status": "Beta",
"category": "Point of Sale",
"website": "https://github.com/OCA/pos",
"author": "TAKOBI, Odoo Community Association (OCA)",
"maintainers": ["eLBati"],
"license": "LGPL-3",
"application": False,
"installable": True,
"depends": ["pos_discount"],
"assets": {
"point_of_sale.assets": [
"pos_fixed_discount/static/src/js/FixedDiscountButton.js",
],
"web.assets_qweb": [
"pos_fixed_discount/static/src/xml/**/*",
],
},
}
54 changes: 54 additions & 0 deletions pos_fixed_discount/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_fixed_discount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-10-26 11:08+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/xml/discount_templates.xml:7
#, python-format
msgid "Discount (%)"
msgstr "Descuento (%)"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/xml/discount_templates.xml:14
#, python-format
msgid "Discount (Amount)"
msgstr "Descuento (Importe)"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/discount.js:15
#, python-format
msgid "Discount Amount"
msgstr "Importe de descuento"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/discount.js:28
#, python-format
msgid "No discount product found"
msgstr "No se ha encontrado ningún producto con descuento"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/discount.js:29
#, python-format
msgid "The discount product seems misconfigured. Make sure it is flagged as 'Can be Sold' and 'Available in Point of Sale'."
msgstr ""
"El producto con descuento parece estar mal configurado. Asegúrese de que "
"esté marcado como 'Se puede vender' y 'Disponible en el punto de venta'."
56 changes: 56 additions & 0 deletions pos_fixed_discount/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_fixed_discount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-28 09:20+0000\n"
"PO-Revision-Date: 2020-07-28 09:20+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/xml/discount_templates.xml:7
#, python-format
msgid "Discount (%)"
msgstr "Sconto (%)"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/xml/discount_templates.xml:14
#, python-format
msgid "Discount (Amount)"
msgstr "Sconto (importo)"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/discount.js:15
#, python-format
msgid "Discount Amount"
msgstr "Importo sconto"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/discount.js:28
#, python-format
msgid "No discount product found"
msgstr "Nessun prodotto sconto trovato"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/discount.js:29
#, python-format
msgid ""
"The discount product seems misconfigured. Make sure it is flagged as 'Can be "
"Sold' and 'Available in Point of Sale'."
msgstr ""
"Il prodotto sconto sembra mal configurato. Assicurarsi che sia impostato "
"come 'può essere venduto' e 'disponibile nel punto vendita'."
51 changes: 51 additions & 0 deletions pos_fixed_discount/i18n/pos_fixed_discount.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_fixed_discount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/xml/discount_templates.xml:0
#, python-format
msgid "Discount (%)"
msgstr ""

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/xml/discount_templates.xml:0
#, python-format
msgid "Discount (Amount)"
msgstr ""

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/FixedDiscountButton.js:0
#, python-format
msgid "Discount Amount"
msgstr ""

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/FixedDiscountButton.js:0
#, python-format
msgid "No discount product found"
msgstr ""

#. module: pos_fixed_discount
#. openerp-web
#: code:addons/pos_fixed_discount/static/src/js/FixedDiscountButton.js:0
#, python-format
msgid ""
"The discount product seems misconfigured. Make sure it is flagged as 'Can be"
" Sold' and 'Available in Point of Sale'."
msgstr ""
3 changes: 3 additions & 0 deletions pos_fixed_discount/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Lorenzo Battistini - https://takobi.online
* Foram Shah <[email protected]>
* Helly kapatel <[email protected]>
1 change: 1 addition & 0 deletions pos_fixed_discount/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
In point of sale allow to apply discount with fixed amount.
1 change: 1 addition & 0 deletions pos_fixed_discount/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Just click on "Discount (Amount)" and set the amount.
Binary file added pos_fixed_discount/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading