Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] pos_product_template: Migration to 14.0 #750

Closed
wants to merge 1 commit into from
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
90 changes: 90 additions & 0 deletions pos_product_template/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

====================
POS Product Template
====================


* 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;


Usage
=====

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

#. Go to ...

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/pos/10.0


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/{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://odoo-community.org/logo.png>`_.

Contributors
------------

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


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

Funders
-------

The development of this module has been financially supported by:

* Akretion


Maintainer
----------

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
20 changes: 20 additions & 0 deletions pos_product_template/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
##############################################################################
#
# 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/>.
#
##############################################################################
27 changes: 27 additions & 0 deletions pos_product_template/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "POS - Product Template",
"version": "14.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": [
"view/view.xml",
],
"qweb": [
"static/src/xml/ppt.xml",
"static/src/xml/SelectVariantPopup.xml",
],
"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>
44 changes: 44 additions & 0 deletions pos_product_template/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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: 2014-12-18 12:01+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/ppt.xml:13
#, python-format
msgid "Cancel"
msgstr "Cancelar"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/ppt.xml:11
#, python-format
msgid "Variant Selection of"
msgstr "Seleccina una variante de"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/ppt.xml:39
#: code:addons/pos_product_template/static/src/xml/ppt.xml:77
#, python-format
msgid "Variants"
msgstr "Variantes"
44 changes: 44 additions & 0 deletions pos_product_template/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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/ppt.xml:13
#, python-format
msgid "Cancel"
msgstr "Annuler"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/ppt.xml:11
#, python-format
msgid "Variant Selection of"
msgstr "Sélection d'une variante de"

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/ppt.xml:39
#: code:addons/pos_product_template/static/src/xml/ppt.xml:77
#, python-format
msgid "Variants"
msgstr "Variantes"
42 changes: 42 additions & 0 deletions pos_product_template/i18n/pos_product_template.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_product_template
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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_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/ppt.xml:13
#, python-format
msgid "Cancel"
msgstr ""

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/ppt.xml:11
#, python-format
msgid "Variant Selection of"
msgstr ""

#. module: pos_product_template
#. openerp-web
#: code:addons/pos_product_template/static/src/xml/ppt.xml:39
#: code:addons/pos_product_template/static/src/xml/ppt.xml:77
#, python-format
msgid "Variants"
msgstr ""

Binary file added pos_product_template/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