diff --git a/checklog-odoo.cfg b/checklog-odoo.cfg new file mode 100644 index 000000000..f5d40b020 --- /dev/null +++ b/checklog-odoo.cfg @@ -0,0 +1,3 @@ +[checklog-odoo] +ignore= + WARNING.*0 failed, 0 error\(s\).* diff --git a/l10n_ch_account_tags/README.rst b/l10n_ch_account_tags/README.rst new file mode 100644 index 000000000..eb414c95f --- /dev/null +++ b/l10n_ch_account_tags/README.rst @@ -0,0 +1,98 @@ +======================== +Switzerland Account Tags +======================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fl10n--switzerland-lightgray.png?logo=github + :target: https://github.com/OCA/l10n-switzerland/tree/14.0/l10n_ch_account_tags + :alt: OCA/l10n-switzerland +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/l10n-switzerland-14-0/l10n-switzerland-14-0-l10n_ch_account_tags + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/125/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds tags and the account templates for the Switzerland chart of accounts + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + + 1. Install this module + +Changelog +========= +14.0.1.0.0 (10.09.2021) +~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Migration to version 14.0 + +13.0.1.0.0 (30.09.2019) +~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Migration to version 13.0 + +11.0.1.0.0 (05.07.2018) +~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Adding the module + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Panarin Mykhailo +* Yannick Vaucher + +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/l10n-switzerland `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_ch_account_tags/__init__.py b/l10n_ch_account_tags/__init__.py new file mode 100644 index 000000000..4e54b2e83 --- /dev/null +++ b/l10n_ch_account_tags/__init__.py @@ -0,0 +1 @@ +from .hooks import post_init diff --git a/l10n_ch_account_tags/__manifest__.py b/l10n_ch_account_tags/__manifest__.py new file mode 100644 index 000000000..e8258541b --- /dev/null +++ b/l10n_ch_account_tags/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +{ + "name": "Switzerland Account Tags", + "category": "Localisation", + "summary": "", + "version": "18.0.1.0.0", + "author": "Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/l10n-switzerland", + "license": "AGPL-3", + "depends": ["l10n_ch"], + "data": ["data/account.account.tag-ch.csv"], + "post_init_hook": "post_init", +} diff --git a/l10n_ch_account_tags/data/account.account.tag-ch.csv b/l10n_ch_account_tags/data/account.account.tag-ch.csv new file mode 100644 index 000000000..e4ff6a448 --- /dev/null +++ b/l10n_ch_account_tags/data/account.account.tag-ch.csv @@ -0,0 +1,34 @@ +"id","name","applicability","color" +"account_tag_ch_60","Autres charges d‘exploitation (CH_60)","accounts","4" +"account_tag_ch_280","Capital social ou capital de fondation (CH_280)","accounts","4" +"account_tag_ch_68","Amortissements sur immobilisations corporelles (CH_68)","accounts","4" +"account_tag_ch_69","Résultat financier (CH_69)","accounts","4" +"account_tag_ch_180","Capital non versé : capital social - capital de fondation (CH_180)","accounts","4" +"account_tag_ch_148","Participations (CH_148)","accounts","4" +"account_tag_ch_220","Autres dettes à court terme (CH_220)","accounts","4" +"account_tag_ch_160","Immobilisations corporelles immeubles CH_160)","accounts","4" +"account_tag_ch_140","Immobilisations financières (CH_140)","accounts","4" +"account_tag_ch_89","Impôts directs (CH_89)","accounts","4" +"account_tag_ch_150","Immobilisations corporelles meubles (CH_150)","accounts","4" +"account_tag_ch_130","Actifs de régularisation (transitoires) (CH_130)","accounts","4" +"account_tag_ch_80","Résultat hors-exploitation (CH_80)","accounts","4" +"account_tag_ch_210","Dettes à court terme rémunérés (CH_210)","accounts","4" +"account_tag_ch_114","Autres créances à court terme (CH_114)","accounts","4" +"account_tag_ch_85","Résultat extraordinaires (CH_85)","accounts","4" +"account_tag_ch_110","Créances résultant de livraisons et prestations (CH_110)","accounts","4" +"account_tag_ch_297","Résultat de l'exercice (CH_297)","accounts","4" +"account_tag_ch_290","Réserves / bénéfices et pertes reportés (CH_290)","accounts","4" +"account_tag_ch_170","Immobilisations incorporelles (CH_170)","accounts","4" +"account_tag_ch_230","Passifs de régularisation (transitoires) et provisions à court terme (CH_230)","accounts","4" +"account_tag_ch_7","Résultat des activités annexes d'exploitation (CH_7)","accounts","4" +"account_tag_ch_5","Charges de personnel (CH_5)","accounts","4" +"account_tag_ch_4","Charges de marchandises et de matériel (CH_4)","accounts","4" +"account_tag_ch_200","Dettes à court terme résultant d’achats et de prestations de services (CH_200)","accounts","4" +"account_tag_ch_260","Provisions à long termes et provisions légales (CH_260)","accounts","4" +"account_tag_ch_120","Stocks et prestations non facturées (CH_120)","accounts","4" +"account_tag_ch_100","Trésorerie (CH_100)","accounts","4" +"account_tag_ch_106","Actifs à court terme cotés en bourse (CH_106)","accounts","4" +"account_tag_ch_240","Dettes à long terme rémunérées (CH_240)","accounts","4" +"account_tag_ch_39","Variation des stocks (CH_39)","accounts","4" +"account_tag_ch_250","Autres dettes à long terme (CH_250)","accounts","4" +"account_tag_ch_30","Chiffre d'affaires (CH_30)","accounts","4" diff --git a/l10n_ch_account_tags/hooks.py b/l10n_ch_account_tags/hooks.py new file mode 100644 index 000000000..de64b5f38 --- /dev/null +++ b/l10n_ch_account_tags/hooks.py @@ -0,0 +1,234 @@ +import logging + +_logger = logging.getLogger(__name__) + + +def assign_account_tags(env): + """Assign tags to specific accounts.""" + # List of account codes and the corresponding tags to assign + account_tags = { + "transfer_account_id": "l10n_ch_account_tags.account_tag_ch_106", + "ch_coa_1060": "l10n_ch_account_tags.account_tag_ch_106", + "ch_coa_1069": "l10n_ch_account_tags.account_tag_ch_106", + "ch_coa_1091": "l10n_ch_account_tags.account_tag_ch_106", + "ch_coa_1099": "l10n_ch_account_tags.account_tag_ch_106", + "ch_coa_1100": "l10n_ch_account_tags.account_tag_ch_110", + "ch_coa_1109": "l10n_ch_account_tags.account_tag_ch_110", + "ch_coa_1140": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1149": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1170": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1171": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1176": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1180": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1189": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1190": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1199": "l10n_ch_account_tags.account_tag_ch_114", + "ch_coa_1200": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1207": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1208": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1209": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1210": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1217": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1218": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1219": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1220": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1230": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1250": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1260": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1267": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1269": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1270": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1277": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1279": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1280": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1287": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1289": "l10n_ch_account_tags.account_tag_ch_120", + "ch_coa_1300": "l10n_ch_account_tags.account_tag_ch_130", + "ch_coa_1301": "l10n_ch_account_tags.account_tag_ch_130", + "ch_coa_1400": "l10n_ch_account_tags.account_tag_ch_140", + "ch_coa_1409": "l10n_ch_account_tags.account_tag_ch_140", + "ch_coa_1440": "l10n_ch_account_tags.account_tag_ch_140", + "ch_coa_1441": "l10n_ch_account_tags.account_tag_ch_140", + "ch_coa_1449": "l10n_ch_account_tags.account_tag_ch_140", + "ch_coa_1480": "l10n_ch_account_tags.account_tag_ch_148", + "ch_coa_1489": "l10n_ch_account_tags.account_tag_ch_148", + "ch_coa_1500": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1509": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1510": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1519": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1520": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1529": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1530": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1539": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1540": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1549": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1550": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1559": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1570": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1579": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1590": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1599": "l10n_ch_account_tags.account_tag_ch_150", + "ch_coa_1600": "l10n_ch_account_tags.account_tag_ch_160", + "ch_coa_1609": "l10n_ch_account_tags.account_tag_ch_160", + "ch_coa_1700": "l10n_ch_account_tags.account_tag_ch_170", + "ch_coa_1709": "l10n_ch_account_tags.account_tag_ch_170", + "ch_coa_1770": "l10n_ch_account_tags.account_tag_ch_170", + "ch_coa_1779": "l10n_ch_account_tags.account_tag_ch_170", + "ch_coa_1850": "l10n_ch_account_tags.account_tag_ch_180", + "ch_coa_2000": "l10n_ch_account_tags.account_tag_ch_200", + "ch_coa_2030": "l10n_ch_account_tags.account_tag_ch_200", + "ch_coa_2100": "l10n_ch_account_tags.account_tag_ch_210", + "ch_coa_2120": "l10n_ch_account_tags.account_tag_ch_210", + "ch_coa_2140": "l10n_ch_account_tags.account_tag_ch_210", + "ch_coa_2160": "l10n_ch_account_tags.account_tag_ch_210", + "ch_coa_2200": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2201": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2206": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2208": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2210": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2261": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2270": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2279": "l10n_ch_account_tags.account_tag_ch_220", + "ch_coa_2300": "l10n_ch_account_tags.account_tag_ch_230", + "ch_coa_2301": "l10n_ch_account_tags.account_tag_ch_230", + "ch_coa_2330": "l10n_ch_account_tags.account_tag_ch_230", + "ch_coa_2400": "l10n_ch_account_tags.account_tag_ch_240", + "ch_coa_2420": "l10n_ch_account_tags.account_tag_ch_240", + "ch_coa_2430": "l10n_ch_account_tags.account_tag_ch_240", + "ch_coa_2450": "l10n_ch_account_tags.account_tag_ch_240", + "ch_coa_2451": "l10n_ch_account_tags.account_tag_ch_240", + "ch_coa_2500": "l10n_ch_account_tags.account_tag_ch_250", + "ch_coa_2600": "l10n_ch_account_tags.account_tag_ch_260", + "ch_coa_2800": "l10n_ch_account_tags.account_tag_ch_280", + "ch_coa_2900": "l10n_ch_account_tags.account_tag_ch_290", + "ch_coa_2940": "l10n_ch_account_tags.account_tag_ch_290", + "ch_coa_2950": "l10n_ch_account_tags.account_tag_ch_290", + "ch_coa_2960": "l10n_ch_account_tags.account_tag_ch_290", + "ch_coa_2970": "l10n_ch_account_tags.account_tag_ch_290", + "ch_coa_2979": "l10n_ch_account_tags.account_tag_ch_297", + "ch_coa_2980": "l10n_ch_account_tags.account_tag_ch_290", + "ch_coa_3000": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3009": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3200": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3400": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3600": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3700": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3710": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3800": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3801": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3802": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3803": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3804": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3805": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3806": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3807": "l10n_ch_account_tags.account_tag_ch_30", + "ch_coa_3900": "l10n_ch_account_tags.account_tag_ch_39", + "ch_coa_3901": "l10n_ch_account_tags.account_tag_ch_39", + "ch_coa_3940": "l10n_ch_account_tags.account_tag_ch_39", + "ch_coa_4000": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4008": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4009": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4070": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4071": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4072": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4080": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4086": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4092": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4200": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4400": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4500": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4510": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4520": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4521": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4530": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4540": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4800": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4801": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4900": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4901": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4903": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_4906": "l10n_ch_account_tags.account_tag_ch_4", + "ch_coa_5000": "l10n_ch_account_tags.account_tag_ch_5", + "ch_coa_5700": "l10n_ch_account_tags.account_tag_ch_5", + "ch_coa_5800": "l10n_ch_account_tags.account_tag_ch_5", + "ch_coa_5900": "l10n_ch_account_tags.account_tag_ch_5", + "ch_coa_6000": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6100": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6105": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6200": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6260": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6300": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6400": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6500": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6570": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6600": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6700": "l10n_ch_account_tags.account_tag_ch_60", + "ch_coa_6800": "l10n_ch_account_tags.account_tag_ch_68", + "ch_coa_6900": "l10n_ch_account_tags.account_tag_ch_69", + "ch_coa_6950": "l10n_ch_account_tags.account_tag_ch_69", + "ch_coa_7000": "l10n_ch_account_tags.account_tag_ch_7", + "ch_coa_7010": "l10n_ch_account_tags.account_tag_ch_7", + "ch_coa_7500": "l10n_ch_account_tags.account_tag_ch_7", + "ch_coa_7510": "l10n_ch_account_tags.account_tag_ch_7", + "ch_coa_8000": "l10n_ch_account_tags.account_tag_ch_80", + "ch_coa_8100": "l10n_ch_account_tags.account_tag_ch_80", + "ch_coa_8500": "l10n_ch_account_tags.account_tag_ch_85", + "ch_coa_8510": "l10n_ch_account_tags.account_tag_ch_85", + "ch_coa_8900": "l10n_ch_account_tags.account_tag_ch_89", + } + + # Search for companies with chart template 'ch' + companies = env["res.company"].search([("chart_template", "=", "ch")]) + + # Create a dictionary to hold account IDs and their corresponding tags + account_tag_mapping = {} + + # Loop through the companies and account_tags to group account-tag pairs + for company in companies: + for account_code, tag_code in account_tags.items(): + # Construct the xml_id of the account based on company ID and account code + xml_id = f"account.{company.id}_{account_code}" + + try: + # Use env.ref() to search for the account by xml_id + account = env.ref(xml_id) + + # Use env.ref() to search for the tag by tag_code + tag = env.ref(tag_code) + + if account and tag: + # If the account is found, group the tags by account_id + if account.id not in account_tag_mapping: + account_tag_mapping[account.id] = [] + + account_tag_mapping[account.id].append(tag.id) + else: + if not account: + _logger.warning(f"Account with xml_id {xml_id} not found.") + if not tag: + _logger.warning(f"Tag with code {tag_code} not found.") + + except (ValueError, KeyError, AttributeError) as e: + _logger.error( + f"Error processing account {xml_id} and tag {tag_code}: " + f"{str(e)}" + ) + + # Perform bulk updates for each account by adding new tags + for account_id, tag_ids in account_tag_mapping.items(): + account = env["account.account"].browse(account_id) + + if account: + # Get the IDs of existing tags assigned to the account + existing_tags = account.tag_ids.ids + + # Filter out the tags that are already assigned + new_tags = list(set(tag_ids) - set(existing_tags)) + + if new_tags: + # Add the new tags to the account + account.tag_ids = [(4, tag_id) for tag_id in new_tags] + + +def post_init(env): + assign_account_tags(env) diff --git a/l10n_ch_account_tags/i18n/de.po b/l10n_ch_account_tags/i18n/de.po new file mode 100644 index 000000000..8670769c9 --- /dev/null +++ b/l10n_ch_account_tags/i18n/de.po @@ -0,0 +1,188 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ch_account_tags +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\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" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_130 +msgid "Actifs de régularisation (transitoires) (CH_130)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_106 +msgid "Actifs à court terme cotés en bourse (CH_106)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_68 +msgid "Amortissements sur immobilisations corporelles (CH_68)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_60 +msgid "Autres charges d‘exploitation (CH_60)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_114 +msgid "Autres créances à court terme (CH_114)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_220 +msgid "Autres dettes à court terme (CH_220)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_250 +msgid "Autres dettes à long terme (CH_250)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_180 +msgid "Capital non versé : capital social - capital de fondation (CH_180)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_280 +msgid "Capital social ou capital de fondation (CH_280)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_4 +msgid "Charges de marchandises et de matériel (CH_4)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_5 +msgid "Charges de personnel (CH_5)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_30 +msgid "Chiffre d'affaires (CH_30)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_110 +msgid "Créances résultant de livraisons et prestations (CH_110)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_210 +msgid "Dettes à court terme rémunérés (CH_210)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_200 +msgid "" +"Dettes à court terme résultant d’achats et de prestations de services " +"(CH_200)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_240 +msgid "Dettes à long terme rémunérées (CH_240)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_160 +msgid "Immobilisations corporelles immeubles CH_160)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_150 +msgid "Immobilisations corporelles meubles (CH_150)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_140 +msgid "Immobilisations financières (CH_140)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_170 +msgid "Immobilisations incorporelles (CH_170)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_89 +msgid "Impôts directs (CH_89)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_148 +msgid "Participations (CH_148)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_230 +msgid "" +"Passifs de régularisation (transitoires) et provisions à court terme (CH_230)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_260 +msgid "Provisions à long termes et provisions légales (CH_260)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_290 +msgid "Réserves / bénéfices et pertes reportés (CH_290)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_297 +msgid "Résultat de l'exercice (CH_297)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_7 +msgid "Résultat des activités annexes d'exploitation (CH_7)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_85 +msgid "Résultat extraordinaires (CH_85)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_69 +msgid "Résultat financier (CH_69)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_80 +msgid "Résultat hors-exploitation (CH_80)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_120 +msgid "Stocks et prestations non facturées (CH_120)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.template,name:l10n_ch_account_tags.1_transfer_account_id +msgid "Transfer" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_100 +msgid "Trésorerie (CH_100)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_39 +msgid "Variation des stocks (CH_39)" +msgstr "" diff --git a/l10n_ch_account_tags/i18n/l10n_ch_account_tags.pot b/l10n_ch_account_tags/i18n/l10n_ch_account_tags.pot new file mode 100644 index 000000000..b4f88eeef --- /dev/null +++ b/l10n_ch_account_tags/i18n/l10n_ch_account_tags.pot @@ -0,0 +1,188 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ch_account_tags +# +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: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_130 +msgid "Actifs de régularisation (transitoires) (CH_130)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_106 +msgid "Actifs à court terme cotés en bourse (CH_106)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_68 +msgid "Amortissements sur immobilisations corporelles (CH_68)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_60 +msgid "Autres charges d‘exploitation (CH_60)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_114 +msgid "Autres créances à court terme (CH_114)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_220 +msgid "Autres dettes à court terme (CH_220)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_250 +msgid "Autres dettes à long terme (CH_250)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_180 +msgid "Capital non versé : capital social - capital de fondation (CH_180)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_280 +msgid "Capital social ou capital de fondation (CH_280)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_4 +msgid "Charges de marchandises et de matériel (CH_4)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_5 +msgid "Charges de personnel (CH_5)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_30 +msgid "Chiffre d'affaires (CH_30)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_110 +msgid "Créances résultant de livraisons et prestations (CH_110)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_210 +msgid "Dettes à court terme rémunérés (CH_210)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_200 +msgid "" +"Dettes à court terme résultant d’achats et de prestations de services " +"(CH_200)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_240 +msgid "Dettes à long terme rémunérées (CH_240)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_160 +msgid "Immobilisations corporelles immeubles CH_160)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_150 +msgid "Immobilisations corporelles meubles (CH_150)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_140 +msgid "Immobilisations financières (CH_140)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_170 +msgid "Immobilisations incorporelles (CH_170)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_89 +msgid "Impôts directs (CH_89)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_148 +msgid "Participations (CH_148)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_230 +msgid "" +"Passifs de régularisation (transitoires) et provisions à court terme " +"(CH_230)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_260 +msgid "Provisions à long termes et provisions légales (CH_260)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_290 +msgid "Réserves / bénéfices et pertes reportés (CH_290)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_297 +msgid "Résultat de l'exercice (CH_297)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_7 +msgid "Résultat des activités annexes d'exploitation (CH_7)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_85 +msgid "Résultat extraordinaires (CH_85)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_69 +msgid "Résultat financier (CH_69)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_80 +msgid "Résultat hors-exploitation (CH_80)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_120 +msgid "Stocks et prestations non facturées (CH_120)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.template,name:l10n_ch_account_tags.1_transfer_account_id +msgid "Transfer" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_100 +msgid "Trésorerie (CH_100)" +msgstr "" + +#. module: l10n_ch_account_tags +#: model:account.account.tag,name:l10n_ch_account_tags.account_tag_ch_39 +msgid "Variation des stocks (CH_39)" +msgstr "" diff --git a/l10n_ch_account_tags/pyproject.toml b/l10n_ch_account_tags/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/l10n_ch_account_tags/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/l10n_ch_account_tags/readme/CONTRIBUTORS.md b/l10n_ch_account_tags/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..ac253ceb9 --- /dev/null +++ b/l10n_ch_account_tags/readme/CONTRIBUTORS.md @@ -0,0 +1,8 @@ +- Panarin Mykhailo \<\> + +- Yannick Vaucher \<\> + +- [Trobz](https://trobz.com): + + > - Son Ho \<\> + > - Khoi (Kien Kim) \<\> diff --git a/l10n_ch_account_tags/readme/CREDITS.md b/l10n_ch_account_tags/readme/CREDITS.md new file mode 100644 index 000000000..924bc05d8 --- /dev/null +++ b/l10n_ch_account_tags/readme/CREDITS.md @@ -0,0 +1,5 @@ +The migration of this module from 13.0 to 14.0 was financially supported +by Camptocamp + +The migration of this module from 16.0 to 18.0 was financially supported by: +- Camptocamp diff --git a/l10n_ch_account_tags/readme/HISTORY.md b/l10n_ch_account_tags/readme/HISTORY.md new file mode 100644 index 000000000..1e5762f6b --- /dev/null +++ b/l10n_ch_account_tags/readme/HISTORY.md @@ -0,0 +1,11 @@ +## 14.0.1.0.0 (10.09.2021) + +- Migration to version 14.0 + +## 13.0.1.0.0 (30.09.2019) + +- Migration to version 13.0 + +## 11.0.1.0.0 (05.07.2018) + +- Adding the module diff --git a/l10n_ch_account_tags/readme/ROADMAP.md b/l10n_ch_account_tags/readme/ROADMAP.md new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/l10n_ch_account_tags/readme/ROADMAP.md @@ -0,0 +1 @@ + diff --git a/l10n_ch_account_tags/readme/USAGE.md b/l10n_ch_account_tags/readme/USAGE.md new file mode 100644 index 000000000..d2f953697 --- /dev/null +++ b/l10n_ch_account_tags/readme/USAGE.md @@ -0,0 +1,3 @@ +To use this module, you need to: + +> 1. Install this module diff --git a/l10n_ch_account_tags/static/description/icon.png b/l10n_ch_account_tags/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/l10n_ch_account_tags/static/description/icon.png differ diff --git a/l10n_ch_account_tags/static/description/index.html b/l10n_ch_account_tags/static/description/index.html new file mode 100644 index 000000000..64149b0ca --- /dev/null +++ b/l10n_ch_account_tags/static/description/index.html @@ -0,0 +1,449 @@ + + + + + +Switzerland Account Tags + + + +
+

Switzerland Account Tags

+ + +

Beta License: AGPL-3 OCA/l10n-switzerland Translate me on Weblate Try me on Runbot

+

This module adds tags and the account templates for the Switzerland chart of accounts

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
+
    +
  1. Install this module
  2. +
+
+
+
+

Changelog

+
+

13.0.1.0.0 (30.09.2019)

+
    +
  • Migration to version 13.0
  • +
+
+
+

11.0.1.0.0 (05.07.2018)

+
    +
  • Adding the module
  • +
+
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp SA
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/l10n-switzerland project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ +