mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 09:42:01 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
|
|
@ -10,36 +10,15 @@ pip install odoo-bringout-oca-ocb-l10n_fi_sale
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- l10n_fi
|
||||
- sale
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Finland - Sale
|
||||
- **Version**: 1.0
|
||||
- **Category**: Localization
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: True
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_fi_sale`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_fi_sale
|
||||
|
||||
## 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.
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@
|
|||
'name': 'Finland - Sale',
|
||||
'version': '1.0',
|
||||
'description': """Finland Sale""",
|
||||
'category': 'Localization',
|
||||
'category': 'Sales/Sales',
|
||||
'depends': [
|
||||
'l10n_fi',
|
||||
'sale',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'author': 'Odoo S.A.',
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,37 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_fi_sale
|
||||
# * l10n_fi_sale
|
||||
#
|
||||
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-04-04 12:50+0000\n"
|
||||
"PO-Revision-Date: 2022-04-04 12:50+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2025-12-30 19:06+0000\n"
|
||||
"PO-Revision-Date: 2025-11-17 03:11+0000\n"
|
||||
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
|
||||
"Language-Team: Finnish <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_fi_sale/fi/>\n"
|
||||
"Language: fi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.12.2\n"
|
||||
|
||||
#. module: l10n_fi_sale
|
||||
#: model:ir.model.fields,field_description:l10n_fi_sale.field_sale_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Näyttönimi"
|
||||
|
||||
#. module: l10n_fi_sale
|
||||
#: model:ir.model.fields,field_description:l10n_fi_sale.field_sale_order__id
|
||||
msgid "ID"
|
||||
msgstr "Tunnus"
|
||||
|
||||
#. module: l10n_fi_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_fi_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Reference must contain numeric characters"
|
||||
msgstr "Viitteen tulee sisältää numeerisia merkkejä"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0+e\n"
|
||||
"Project-Id-Version: Odoo Server 19.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-04-04 12:50+0000\n"
|
||||
"PO-Revision-Date: 2022-04-04 12:50+0000\n"
|
||||
"POT-Creation-Date: 2025-12-30 19:06+0000\n"
|
||||
"PO-Revision-Date: 2025-12-30 19:06+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -16,8 +16,18 @@ msgstr ""
|
|||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_fi_sale
|
||||
#: model:ir.model.fields,field_description:l10n_fi_sale.field_sale_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_fi_sale
|
||||
#: model:ir.model.fields,field_description:l10n_fi_sale.field_sale_order__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_fi_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_fi_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Reference must contain numeric characters"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
from odoo import api, models, _
|
||||
from odoo.exceptions import UserError
|
||||
|
|
@ -7,13 +6,13 @@ from odoo.exceptions import UserError
|
|||
class SaleOrder(models.Model):
|
||||
_inherit = "sale.order"
|
||||
|
||||
def write(self, values):
|
||||
def write(self, vals):
|
||||
# We compute the l10n_fi/SaleOrder.reference from itself the same way
|
||||
# we compute the l10n_fi/AccountMove.invoice_payment_ref from its name.
|
||||
reference = values.get('reference', False)
|
||||
reference = vals.get('reference', False)
|
||||
if reference:
|
||||
values['reference'] = self.compute_payment_reference_finnish(reference)
|
||||
return super().write(values)
|
||||
vals['reference'] = self.compute_payment_reference_finnish(reference)
|
||||
return super().write(vals)
|
||||
|
||||
@api.model
|
||||
def number2numeric(self, number):
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 615 B |
|
|
@ -1,13 +1,15 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_fi_sale"
|
||||
version = "16.0.0"
|
||||
description = "Finland - Sale - Odoo addon"
|
||||
description = "Finland - Sale -
|
||||
Odoo addon
|
||||
"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-l10n_fi>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-sale>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-l10n_fi>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-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",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue