19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:28 +01:00
parent ff721d030e
commit 7721452493
1826 changed files with 124775 additions and 274114 deletions

View file

@ -13,36 +13,15 @@ pip install odoo-bringout-oca-ocb-l10n_ch_pos
## Dependencies
This addon depends on:
- l10n_ch
- point_of_sale
## Manifest Information
- **Name**: Swiss - Point of Sale
- **Version**: N/A
- **Category**: Accounting/Localizations/Point of Sale
- **License**: LGPL-3
- **Installable**: True
## Source
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_ch_pos`.
- Repository: https://github.com/OCA/OCB
- Branch: 19.0
- Path: addons/l10n_ch_pos
## License
This package maintains the original LGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md
This package preserves the original LGPL-3 license.

View file

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pos
#
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:05+0000\n"
"PO-Revision-Date: 2025-11-17 03:10+0000\n"
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
"Language-Team: German <https://translate.odoo.com/projects/odoo-19-l10n/"
"l10n_ch_pos/de/>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.12.2\n"
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__display_name
msgid "Display Name"
msgstr "Name anzeigen"
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__id
msgid "ID"
msgstr "ID"
#. module: l10n_ch_pos
#: model:ir.model,name:l10n_ch_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr "Kassenaufträge"

View file

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pos
#
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:05+0000\n"
"PO-Revision-Date: 2025-11-17 03:10+0000\n"
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
"Language-Team: French <https://translate.odoo.com/projects/odoo-19-l10n/"
"l10n_ch_pos/fr/>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.12.2\n"
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__display_name
msgid "Display Name"
msgstr "Nom affiché"
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__id
msgid "ID"
msgstr "ID"
#. module: l10n_ch_pos
#: model:ir.model,name:l10n_ch_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr "Commandes du point de vente"

View file

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pos
#
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:05+0000\n"
"PO-Revision-Date: 2025-11-17 03:10+0000\n"
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
"Language-Team: Italian <https://translate.odoo.com/projects/odoo-19-l10n/"
"l10n_ch_pos/it/>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.12.2\n"
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__display_name
msgid "Display Name"
msgstr "Nome visualizzato"
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__id
msgid "ID"
msgstr "ID"
#. module: l10n_ch_pos
#: model:ir.model,name:l10n_ch_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr "Ordini punto vendita"

View file

@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pos
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:05+0000\n"
"PO-Revision-Date: 2025-12-30 19:05+0000\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: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__display_name
msgid "Display Name"
msgstr ""
#. module: l10n_ch_pos
#: model:ir.model.fields,field_description:l10n_ch_pos.field_pos_order__id
msgid "ID"
msgstr ""
#. module: l10n_ch_pos
#: model:ir.model,name:l10n_ch_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr ""

View file

@ -3,8 +3,7 @@ from odoo import models
class PosOrder(models.Model):
_name = "pos.order"
_inherit = ["pos.order"]
_inherit = "pos.order"
def _get_partner_bank_id(self):
bank_partner_id = super()._get_partner_bank_id()

View file

@ -0,0 +1,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_ch_pos

View file

@ -0,0 +1,12 @@
from odoo.addons.point_of_sale.tests.test_generic_localization import TestGenericLocalization
from odoo.tests import tagged
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
@tagged('post_install', '-at_install', 'post_install_l10n')
class TestGenericCH(TestGenericLocalization):
@classmethod
@AccountTestInvoicingCommon.setup_country('ch')
def setUpClass(cls):
super().setUpClass()

View file

@ -1,13 +1,15 @@
[project]
name = "odoo-bringout-oca-ocb-l10n_ch_pos"
version = "16.0.0"
description = "Swiss - Point of Sale - Odoo addon"
description = "Swiss - Point of Sale -
Odoo addon
"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ocb-l10n_ch>=16.0.0",
"odoo-bringout-oca-ocb-point_of_sale>=16.0.0",
"odoo-bringout-oca-ocb-l10n_ch>=19.0.0",
"odoo-bringout-oca-ocb-point_of_sale>=19.0.0",
"requests>=2.25.1"
]
readme = "README.md"
@ -17,7 +19,7 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]