Skip to content

Commit

Permalink
[MIG] pos_product_template: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zamberjo authored and docker-odoo committed Oct 18, 2023
1 parent 7b189ce commit 4b56e93
Show file tree
Hide file tree
Showing 13 changed files with 571 additions and 680 deletions.
8 changes: 6 additions & 2 deletions pos_product_template/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ POS - Product Template
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4a1b25e7f68d82e67c53ff742cadd7fdbd84e7af503e639c4e1972a713a18772
!! source digest: sha256:db57e93b7dc8c62c24c51e03b823c331eac215f8938027e6c0949f97e7f6e202
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand All @@ -20,7 +20,7 @@ POS - Product Template
: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
: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
Expand Down Expand Up @@ -87,6 +87,10 @@ Contributors

* Giovanni Serra <[email protected]>

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

* Jose Zambudio <[email protected]>

Funders
-------

Expand Down
12 changes: 7 additions & 5 deletions pos_product_template/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
"point_of_sale",
],
"data": [
"views/assets.xml",
"views/pos_config_view.xml",
],
"qweb": [
"static/src/xml/ppt.xml",
"static/src/xml/SelectVariantPopup.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",
Expand Down
4 changes: 4 additions & 0 deletions pos_product_template/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

* Giovanni Serra <[email protected]>

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

* Jose Zambudio <[email protected]>

Funders
-------

Expand Down
55 changes: 31 additions & 24 deletions pos_product_template/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
<title>POS - Product Template</title>
<style type="text/css">

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/

Expand Down Expand Up @@ -367,9 +367,9 @@ <h1 class="title">POS - Product Template</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4a1b25e7f68d82e67c53ff742cadd7fdbd84e7af503e639c4e1972a713a18772
!! source digest: sha256:db57e93b7dc8c62c24c51e03b823c331eac215f8938027e6c0949f97e7f6e202
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/pos/tree/14.0/pos_product_template"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_product_template"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/pos&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/pos/tree/15.0/pos_product_template"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_product_template"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runboat.odoo-community.org/builds?repo=OCA/pos&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<blockquote>
<ul class="simple">
<li><dl class="first docutils">
Expand Down Expand Up @@ -399,49 +399,49 @@ <h1 class="title">POS - Product Template</h1>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a><ul>
<li><a class="reference internal" href="#funders" id="toc-entry-7">Funders</a></li>
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a><ul>
<li><a class="reference internal" href="#funders" id="id7">Funders</a></li>
</ul>
</li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-8">Maintainers</a></li>
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
<p>Open the Point of Sale, search an article with variants.
You will see one article instead of all the variants.</p>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>Templates with lot of variants are not shown. See <a class="reference external" href="https://github.com/OCA/pos/pull/135">https://github.com/OCA/pos/pull/135</a></li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/pos/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/pos/issues/new?body=module:%20pos_product_template%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="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**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
<h1><a class="toc-backref" href="#id4">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
<h2><a class="toc-backref" href="#id5">Authors</a></h2>
<ul class="simple">
<li>Akretion</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<h2><a class="toc-backref" href="#id6">Contributors</a></h2>
<ul>
<li><p class="first">Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</p>
</li>
Expand All @@ -460,23 +460,30 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
</ul>
</blockquote>
</li>
<li><p class="first"><a class="reference external" href="https://aurestic.es">Aures Tic</a>:</p>
<blockquote>
<ul class="simple">
<li>Jose Zambudio &lt;<a class="reference external" href="mailto:jose&#64;aurestic.es">jose&#64;aurestic.es</a>&gt;</li>
</ul>
</blockquote>
</li>
</ul>
<div class="section" id="funders">
<h3><a class="toc-backref" href="#toc-entry-7">Funders</a></h3>
<h3><a class="toc-backref" href="#id7">Funders</a></h3>
<p>The development of this module has been financially supported by:</p>
<ul class="simple">
<li>Akretion</li>
</ul>
</div>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
<h2><a class="toc-backref" href="#id8">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/pos/tree/14.0/pos_product_template">OCA/pos</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/pos/tree/15.0/pos_product_template">OCA/pos</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
60 changes: 0 additions & 60 deletions pos_product_template/static/src/css/ppt.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,48 +20,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/

/* ********* Variant Selector PopUp ************************************** */
.pos .modal-dialog .popup-select-variant {
margin-left: 0;
margin-top: 0;
left: 5%;
width: 90%;
top: 5%;
height: 85%;
}

.pos .modal-dialog .popup-select-variant .variant-title {
height: 8%;
}

.pos .modal-dialog .popup-select-variant .variant-title #variant-popup-cancel {
margin: -10px 3px 3px 3px;
}

.pos .modal-dialog .popup-select-variant .container-attribute-list {
width: 100%;
height: 40%;
overflow: hidden;
overflow-y: auto;
border-bottom: 1px dashed #444;
-webkit-overflow-scrolling: touch;
}

.pos .modal-dialog .popup-select-variant .container-variant-list {
width: 100%;
height: 50%;
overflow: hidden;
overflow-y: auto;

-webkit-overflow-scrolling: touch;
}

.pos .variant-list {
padding: 10px;
text-align: left;
-webkit-transform: translate3d(0, 0, 0);
}

/* ********* Attribut Display ******************************************** */
.pos .attribute {
position: relative;
Expand Down Expand Up @@ -204,10 +162,6 @@
rgba(255, 255, 255, 1),
rgba(255, 255, 255, 1)
);
/* troublesome in latest webkit
background: linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
*/
/*background:#FFF;*/
padding: 3px;
padding-top: 15px;
}
Expand All @@ -219,17 +173,3 @@
opacity: 0.5;
cursor: not-allowed;
}

/*.pos .variant-list-scroller{*/
/* -webkit-box-sizing: border-box;*/
/* -moz-box-sizing: border-box;*/
/* -ms-box-sizing: border-box;*/
/* box-sizing: border-box;*/
/* width:50%;*/
/* height:50%;*/
/* overflow: hidden;*/
/* overflow-y: auto;*/
/* -webkit-overflow-scrolling: touch;*/
/* -webkit-transform: translate3d(0,0,0);*/

/*}*/
Loading

0 comments on commit 4b56e93

Please sign in to comment.