hparfr
7 years ago
5 changed files with 244 additions and 266 deletions
-
90pos_product_template/README.rst
-
57pos_product_template/__manifest__.py
-
283pos_product_template/static/src/js/ppt.js
-
24pos_product_template/static/src/xml/ppt.xml
-
52pos_product_template/view/view.xml
@ -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. |
@ -1,37 +1,19 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?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) --> |
|
||||
|
<!-- Copyright (C) 2014-Today Akretion (https://www.akretion.com) |
||||
|
@author Sylvain LE GAL (https://twitter.com/legalsylvain) |
||||
|
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). --> |
||||
|
<odoo> |
||||
|
<!-- Add: JS Files --> |
||||
|
<template id="assets_backend" name="point_of_sale assets2" inherit_id="web.assets_backend"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<script type="text/javascript" src="/pos_product_template/static/src/js/ppt.js"></script> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
<!--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/>. --> |
|
||||
<!-- ********************************************************************** --> |
|
||||
<openerp> |
|
||||
<data> |
|
||||
<!-- Add: JS Files --> |
|
||||
<template id="assets_backend" name="point_of_sale assets2" inherit_id="web.assets_backend"> |
|
||||
<xpath expr="." position="inside"> |
|
||||
<script type="text/javascript" src="/pos_product_template/static/src/js/ppt.js"></script> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
|
|
||||
<!-- Add: CSS Files --> |
|
||||
<template id="index" name="pos_product_template assets" inherit_id="point_of_sale.assets"> |
|
||||
<xpath expr="//link[@id='pos-stylesheet']" position="after"> |
|
||||
<link rel="stylesheet" href="/pos_product_template/static/src/css/ppt.css" id="pos_product_template-stylesheet"/> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
|
|
||||
</data> |
|
||||
</openerp> |
|
||||
|
<!-- Add: CSS Files --> |
||||
|
<template id="index" name="pos_product_template assets" inherit_id="point_of_sale.assets"> |
||||
|
<xpath expr="//link[@id='pos-stylesheet']" position="after"> |
||||
|
<link rel="stylesheet" href="/pos_product_template/static/src/css/ppt.css" id="pos_product_template-stylesheet"/> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue