Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
7d23c7f
[ADD] pos_receipt_hide_price: Add module
paradoxxxzero Sep 16, 2021
f2fadc3
[FIX] pos_receipt_hide_price: Rename hpState -> hidePriceState for cl…
paradoxxxzero Oct 5, 2021
b9a4874
[FIX] pos_receipt_hide_price: Add screenshots to description
paradoxxxzero Oct 5, 2021
d0bbc1b
[UPD] Update pos_receipt_hide_price.pot
oca-travis Oct 6, 2021
90fc887
[UPD] README.rst
OCA-git-bot Oct 6, 2021
f566f49
[ADD] icon.png
OCA-git-bot Oct 6, 2021
5494cfb
pos_receipt_hide_price 14.0.1.0.1
OCA-git-bot Oct 6, 2021
e24f250
[MIG] pos_receipt_hide_price: Migration to 15.0
danielduqma Nov 14, 2022
a4b8f2d
[FIX] pos_receipt_hide_price: taxes
danielduqma Nov 14, 2022
9f08bb2
[MIG] pos_receipt_hide_price: Migration to 16.0
danielduqma Oct 7, 2022
9814085
[UPD] Update pos_receipt_hide_price.pot
Dec 20, 2022
13af37d
[UPD] README.rst
OCA-git-bot Dec 20, 2022
01d487d
Added translation using Weblate (Italian)
mymage Mar 9, 2023
5dd376b
Translated using Weblate (Italian)
mymage Mar 9, 2023
1ad2255
Translated using Weblate (Spanish)
FLNerea Mar 31, 2023
42cdb1e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
a407ee3
Update translation files
weblate Oct 9, 2023
4f51c32
[IMP] pos_receipt_hide_price: pre-commit auto fixes
edescalona May 29, 2025
24b411e
[MIG] pos_receipt_hide_price: Migration to 17.0
edescalona May 29, 2025
42fc7a0
[IMP] pos_receipt_hide_price: Adding settings to hide prices on the a…
edescalona Aug 6, 2025
bd68c18
[IMP] pos_receipt_hide_price: Add hide price dynamic
edescalona Aug 7, 2025
903c907
[IMP] pos_receipt_hide_price: Add button Hide price in reprint with s…
edescalona Aug 13, 2025
9d6cea2
[ADD] pos_product_multi_barcode
Mar 22, 2022
1d994e7
[Misc] Set myself as maintainer
May 30, 2022
fdb3a70
[UPD] Update pos_product_multi_barcode.pot
May 31, 2022
c3664e9
[UPD] README.rst
OCA-git-bot May 31, 2022
99dc6b7
[ADD] icon.png
OCA-git-bot May 31, 2022
fa0b9a0
pos_product_multi_barcode 14.0.1.0.1
OCA-git-bot May 31, 2022
b6b6d26
[14.0][FIX] pos_product_multi_barcode: enable feature to search for p…
ilyasProgrammer Jun 23, 2022
a051eb7
[UPD] README.rst
OCA-git-bot Jun 24, 2022
2db797e
pos_product_multi_barcode 14.0.1.0.2
OCA-git-bot Jun 24, 2022
99cfcb3
Added translation using Weblate (Italian)
mymage Mar 16, 2023
71c0448
Translated using Weblate (Italian)
mymage Mar 16, 2023
7df16a0
[16.0][MIG] pos_product_multi_barcode: Migration to 16.0
nguyenminhchien Aug 28, 2023
aee2bc5
[UPD] Update pos_product_multi_barcode.pot
Nov 16, 2023
8959247
[BOT] post-merge updates
OCA-git-bot Nov 16, 2023
41fdbbb
Update translation files
weblate Nov 16, 2023
eea0a05
Translated using Weblate (Italian)
mymage Nov 23, 2023
2407404
[FIX] eslint error 'no-param-reassign' in all modules
legalsylvain Jan 18, 2024
ec10a9a
[BOT] post-merge updates
OCA-git-bot Jan 20, 2024
335d1a5
Added translation using Weblate (Spanish)
Ivorra78 Feb 8, 2024
521e531
Translated using Weblate (Spanish)
Ivorra78 Feb 8, 2024
12ea8c5
[FIX] pos_product_multi_barcode: incoherent data
danielduqma Dec 26, 2024
56b11bf
[BOT] post-merge updates
OCA-git-bot Jan 13, 2025
9009ea0
[IMP] pos_product_multi_barcode: pre-commit auto fixes
edescalona May 20, 2025
c74262d
[MIG] pos_product_multi_barcode: Migration to 17.0
edescalona May 20, 2025
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
87 changes: 87 additions & 0 deletions pos_product_multi_barcode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
=========================
PoS Product multi barcode
=========================

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

.. |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/17.0/pos_product_multi_barcode
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-17-0/pos-17-0-pos_product_multi_barcode
: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=17.0
:alt: Try me on Runboat

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

This module allows to use multiple barcode on a product from the PoS

See
https://github.com/OCA/stock-logistics-barcode/tree/14.0/product_multi_barcode

**Table of contents**

.. contents::
:local:

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_multi_barcode%0Aversion:%2017.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
------------

- Pierrick Brun <[email protected]>
- Ilyas <[email protected]>
- Nguyen Minh Chien <[email protected]>

Other credits
-------------

The migration of this module from 14.0 to 16.0 was financially supported
by Camptocamp

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/17.0/pos_product_multi_barcode>`_ 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_multi_barcode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions pos_product_multi_barcode/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "PoS Product multi barcode",
"summary": "Make product multi barcodes usable in the point of sale",
"version": "17.0.1.0.0",
"category": "Point of Sale",
"website": "https://github.com/OCA/pos",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainer": "PierrickBrun",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"point_of_sale",
"product_multi_barcode",
],
"assets": {
"point_of_sale._assets_pos": [
"pos_product_multi_barcode/static/src/app/store/db.esm.js",
]
},
}
32 changes: 32 additions & 0 deletions pos_product_multi_barcode/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_product_multi_barcode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-08 22:35+0000\n"
"Last-Translator: Ivorra78 <[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 4.17\n"

#. module: pos_product_multi_barcode
#: model:ir.model,name:pos_product_multi_barcode.model_pos_session
msgid "Point of Sale Session"
msgstr "Sesión del Punto de Venta"

#. module: pos_product_multi_barcode
#: model:ir.model,name:pos_product_multi_barcode.model_product_product
msgid "Product Variant"
msgstr "Variante del Producto"

#. module: pos_product_multi_barcode
#: model:ir.model.fields,field_description:pos_product_multi_barcode.field_product_product__barcodes_json
msgid "barcode list"
msgstr "lista de código de barras"
44 changes: 44 additions & 0 deletions pos_product_multi_barcode/i18n/it.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_multi_barcode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-23 19:35+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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_multi_barcode
#: model:ir.model,name:pos_product_multi_barcode.model_pos_session
msgid "Point of Sale Session"
msgstr "Sessione punto vendita"

#. module: pos_product_multi_barcode
#: model:ir.model,name:pos_product_multi_barcode.model_product_product
msgid "Product Variant"
msgstr "Variante prodotto"

#. module: pos_product_multi_barcode
#: model:ir.model.fields,field_description:pos_product_multi_barcode.field_product_product__barcodes_json
msgid "barcode list"
msgstr "elenco codici a barre"

#~ msgid "Display Name"
#~ msgstr "Nome visualizzato"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"

#~ msgid "Product"
#~ msgstr "Prodotto"
29 changes: 29 additions & 0 deletions pos_product_multi_barcode/i18n/pos_product_multi_barcode.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_product_multi_barcode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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_multi_barcode
#: model:ir.model,name:pos_product_multi_barcode.model_pos_session
msgid "Point of Sale Session"
msgstr ""

#. module: pos_product_multi_barcode
#: model:ir.model,name:pos_product_multi_barcode.model_product_product
msgid "Product Variant"
msgstr ""

#. module: pos_product_multi_barcode
#: model:ir.model.fields,field_description:pos_product_multi_barcode.field_product_product__barcodes_json
msgid "barcode list"
msgstr ""
2 changes: 2 additions & 0 deletions pos_product_multi_barcode/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import pos_session
from . import product
12 changes: 12 additions & 0 deletions pos_product_multi_barcode/models/pos_session.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import models


class PosSession(models.Model):
_inherit = "pos.session"

def _loader_params_product_product(self):
result = super()._loader_params_product_product()
result["search_params"]["fields"].append("barcodes_json")
return result
21 changes: 21 additions & 0 deletions pos_product_multi_barcode/models/product.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2022 Akretion (https://www.akretion.com).
# @author Pierrick Brun <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

import json

from odoo import fields, models


class ProductProduct(models.Model):
_inherit = "product.product"

# technical field used in POS frontend
barcodes_json = fields.Char(
"barcode list", readonly=True, compute="_compute_barcodes_json"
)

def _compute_barcodes_json(self):
for product in self:
barcodes = [barcode for barcode in product.mapped("barcode_ids.name")]
product.barcodes_json = json.dumps(barcodes)
3 changes: 3 additions & 0 deletions pos_product_multi_barcode/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions pos_product_multi_barcode/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> - Pierrick Brun \<[email protected]\>
> - Ilyas \<[email protected]\>
> - Nguyen Minh Chien \<[email protected]\>
2 changes: 2 additions & 0 deletions pos_product_multi_barcode/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The migration of this module from 14.0 to 16.0 was financially supported
by Camptocamp
4 changes: 4 additions & 0 deletions pos_product_multi_barcode/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This module allows to use multiple barcode on a product from the PoS

See
<https://github.com/OCA/stock-logistics-barcode/tree/14.0/product_multi_barcode>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading