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

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e2df25c
[ADD] 'pos_product_template'
legalsylvain Dec 9, 2014
ee32f4f
[IMP] better display of attributes values;
legalsylvain Dec 18, 2014
e845017
[ADD] fr translation;
legalsylvain Dec 18, 2014
ed9eebf
[REF] remove useless variable, courtesy to Sylvain C;
legalsylvain Jan 25, 2015
cb56487
[FIX] Typo
legalsylvain Jan 25, 2015
570c3e0
[ADD] 'pos_product_template' pot file
legalsylvain Jan 25, 2015
e9a62a4
[ADD] Add extra demo data that generate display bug
legalsylvain Jan 28, 2015
a3d1554
[FIX] hide product attribute value in POS if value has no product ass…
legalsylvain Jan 28, 2015
b8a1bf7
[IMP] description of the module in openerp.py file;
legalsylvain Jan 28, 2015
f4aa7f1
[REF]
legalsylvain Jan 28, 2015
fb21bd9
[IMP] Add screenshot descrption;
legalsylvain Jan 28, 2015
aff0abd
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
d6fdc5d
Move module icon in static/description
yvaucher Mar 3, 2015
ff82b6f
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
95d10ff
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
d364011
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
29b27a5
Updated pos_product_template addon to Odoo 9
navarromiguel Apr 12, 2016
22754ea
Added Spanish translation to pos_product_template (es.po)
navarromiguel Apr 12, 2016
56ff647
[FIX] Change the version number to 9 and make module installable.
damendieta Feb 5, 2017
8af8b47
Migrate to v10
hparfr Apr 12, 2018
cd06ae7
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
687b780
[UPD] Update pos_product_template.pot
oca-travis Jun 22, 2018
a48027b
[MIG] pos_product_template
hugosantosred Aug 16, 2018
dd49c46
[MIG] Migrated to odoo 12.0. No real changes done. Just splitted READ…
wpichler Nov 19, 2019
dbb50b0
[FIX] pos_product_template was incombatible with the pos_cache module…
wpichler May 7, 2019
65f8ef4
[FIX] Use xml demo fiels instead of yml files. Removed yml file which…
wpichler Nov 19, 2019
cd9a8e8
[FIX] Added pos_fix_search_limit dependency. Added base 10 to parseIn…
wpichler Nov 19, 2019
9f15b20
[UPD] Update pos_product_template.pot
oca-travis Dec 26, 2021
bcaeb69
[UPD] README.rst
OCA-git-bot Dec 26, 2021
900eb87
pos_product_template 12.0.1.0.1
OCA-git-bot Dec 26, 2021
ab334c0
[IMP] pos_product_template: black, isort, prettier
antoniocanovas Jun 20, 2022
dad7e30
[MIG] pos_product_template: Migration to 14.0
antoniocanovas Jun 20, 2022
0c4e787
[UPD] Update pos_product_template.pot
Jul 4, 2022
8889e51
Added translation using Weblate (Italian)
francesco-ooops Jul 5, 2022
247234e
Translated using Weblate (Italian)
francesco-ooops Jul 5, 2022
f5cc1f3
[14.0][FIX] pos_product_template, check variant product_template_attr…
GSLabIt Jul 6, 2022
1e153cd
[UPD] README.rst
OCA-git-bot Jul 6, 2022
bb1802b
pos_product_template 14.0.1.0.1
OCA-git-bot Jul 6, 2022
0af2c28
[IMP] pos_product_template: hint if variant exists
Jul 11, 2022
675a4d6
[IMP] allow to hide the variants in a product template selection
Jul 13, 2022
4f7550d
[UPD] Update pos_product_template.pot
Dec 19, 2022
81082eb
pos_product_template 14.0.1.0.2
OCA-git-bot Dec 19, 2022
a2bf720
Update translation files
weblate Dec 19, 2022
2802245
[IMP] pos_product_template: Sort product attribute by sequence
ygcarvalh Nov 8, 2022
7438cb7
[IMP] Allows SelectVariantPopup to be updated when chained to itself
luismalta Nov 17, 2022
9861787
Translated using Weblate (Italian)
mymage Mar 16, 2023
29d9da0
pos_product_template 14.0.1.0.3
OCA-git-bot Jul 18, 2023
138479d
Translated using Weblate (Spanish)
anmarmo1 Jul 26, 2023
1ae28b0
[UPD] README.rst
OCA-git-bot Sep 3, 2023
b7f3446
[IMP] pos_product_template: black, isort, prettier
Sep 18, 2023
f5635c5
[MIG] pos_product_template: Migration to 15.0
Sep 18, 2023
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
116 changes: 116 additions & 0 deletions pos_product_template/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
======================
POS - Product Template
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:db57e93b7dc8c62c24c51e03b823c331eac215f8938027e6c0949f97e7f6e202
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/15.0/pos_product_template
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_product_template
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=15.0
:alt: Try me on Runboat

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

* In Point Of Sale Front End - Products list:
* Display only one product per template;
* Display template name instead of product name;
* Display products quantity instead of price;
* Click on template displays an extra screen to select Variant;

* In Point Of Sale Front End - Variants list:
* Display all the products of the selected variant;
* Click on a attribute value filters products;
* Click on a product adds it to the current Order or display normal
extra screen if it is a weightable product;

**Table of contents**

.. contents::
:local:

Usage
=====

Open the Point of Sale, search an article with variants.
You will see one article instead of all the variants.

Known issues / Roadmap
======================

* Templates with lot of variants are not shown. See https://github.com/OCA/pos/pull/135

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_product_template%0Aversion:%2015.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
~~~~~~~

* Akretion

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

* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Navarromiguel (https://github.com/navarromiguel)
* Damendieta (https://github.com/damendieta)
* Raphaël Reverdy (https://akretion.com)
* Pedro Guirao (https://ingenieriacloud.com)

* `Ooops <https://www.ooops404.com>`_:

* Giovanni Serra <[email protected]>

* `Aures Tic <https://aurestic.es>`_:

* Jose Zambudio <[email protected]>

Funders
-------

The development of this module has been financially supported by:

* Akretion

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.

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions pos_product_template/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
30 changes: 30 additions & 0 deletions pos_product_template/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "POS - Product Template",
"version": "15.0.1.0.0",
"category": "Point Of Sale",
"author": "Akretion,Odoo Community Association (OCA)",
"summary": "Manage Product Template in Front End Point Of Sale",
"website": "https://github.com/OCA/pos",
"license": "AGPL-3",
"depends": [
"point_of_sale",
],
"data": [
"views/pos_config_view.xml",
],
"assets": {
"web.assets_qweb": ["pos_product_template/static/src/xml/**/*.xml"],
"point_of_sale.assets": [
"pos_product_template/static/src/**/*.js",
"pos_product_template/static/src/css/ppt.css",
],
},
"demo": [
"demo/product_attribute_value.xml",
"demo/product_product.xml",
],
"images": [
"static/src/img/screenshots/pos_product_template.png",
],
"installable": True,
}
31 changes: 31 additions & 0 deletions pos_product_template/demo/product_attribute_value.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
##############################################################################
#
# Point Of Sale - Product Template module for Odoo
# Copyright (C) 2014-Today Akretion (http://www.akretion.com)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
-->
<odoo>

<record id="attribute_wifi_extra" model="product.attribute.value">
<field name="attribute_id" eval="ref('product.product_attribute_3')" />
<field name="name">2.399GHz</field>
</record>

</odoo>
45 changes: 45 additions & 0 deletions pos_product_template/demo/product_product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
##############################################################################
#
# Point Of Sale - Product Template module for Odoo
# Copyright (C) 2014-Today Akretion (http://www.akretion.com)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
-->
<odoo>

<record id="product.product_product_4" model="product.product">
<field name="available_in_pos" eval="True" />
</record>

<record id="product.product_product_4b" model="product.product">
<field name="available_in_pos" eval="True" />
</record>

<record id="product.product_product_4c" model="product.product">
<field name="available_in_pos" eval="True" />
</record>

<record id="product.product_product_11" model="product.product">
<field name="available_in_pos" eval="True" />
</record>

<record id="product.product_product_11b" model="product.product">
<field name="available_in_pos" eval="True" />
</record>
</odoo>
80 changes: 80 additions & 0 deletions pos_product_template/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_product_template
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-12-18 12:01+0000\n"
"PO-Revision-Date: 2023-07-26 13:10+0000\n"
"Last-Translator: Anna Martínez <[email protected]>\n"
"Language-Team: \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 4.17\n"

#. module: pos_product_template
#: model:product.attribute.value,name:pos_product_template.attribute_wifi_extra
msgid "2.399GHz"
msgstr "2.399GHz"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/SelectVariantPopup.xml:0
#, python-format
msgid "Cancel"
msgstr "Cancelar"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/SelectVariantPopup.xml:0
#, python-format
msgid "Confirm"
msgstr "Confirmar"

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config__id
msgid "ID"
msgstr "ID"

#. module: pos_product_template
#: model:ir.model.fields,help:pos_product_template.field_pos_config__iface_product_template_show_variants
msgid ""
"If selected the product variant selection screen will show the variants, "
"else it will only allow to confirm once all the attributes are chosen."
msgstr ""
"Si de marca, la pantalla de selección de productos mostrará las variantes, "
"de lo contrario, solo permitirá confirmar una vez elegidos todos los "
"atributos."

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config____last_update
msgid "Last Modified on"
msgstr "Última Modificación en"

#. module: pos_product_template
#: model:ir.model,name:pos_product_template.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuración del punto de venta"

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config__iface_product_template_show_variants
msgid "Product template show variants"
msgstr "La plantilla de producto mostrará las variantes"

#, python-format
#~ msgid "Variant Selection of"
#~ msgstr "Seleccina una variante de"

#, python-format
#~ msgid "Variants"
#~ msgstr "Variantes"
76 changes: 76 additions & 0 deletions pos_product_template/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_product_template
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-12-18 11:57+0000\n"
"PO-Revision-Date: 2014-12-18 11:57+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_product_template
#: model:product.attribute.value,name:pos_product_template.attribute_wifi_extra
msgid "2.399GHz"
msgstr ""

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/SelectVariantPopup.xml:0
#, python-format
msgid "Cancel"
msgstr "Annuler"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/SelectVariantPopup.xml:0
#, python-format
msgid "Confirm"
msgstr ""

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config__display_name
msgid "Display Name"
msgstr ""

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config__id
msgid "ID"
msgstr ""

#. module: pos_product_template
#: model:ir.model.fields,help:pos_product_template.field_pos_config__iface_product_template_show_variants
msgid ""
"If selected the product variant selection screen will show the variants, "
"else it will only allow to confirm once all the attributes are chosen."
msgstr ""

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config____last_update
msgid "Last Modified on"
msgstr ""

#. module: pos_product_template
#: model:ir.model,name:pos_product_template.model_pos_config
msgid "Point of Sale Configuration"
msgstr ""

#. module: pos_product_template
#: model:ir.model.fields,field_description:pos_product_template.field_pos_config__iface_product_template_show_variants
msgid "Product template show variants"
msgstr ""

#, python-format
#~ msgid "Variant Selection of"
#~ msgstr "Sélection d'une variante de"

#, python-format
#~ msgid "Variants"
#~ msgstr "Variantes"
Loading