From 0d82f98e96807a4e3db2353939cacc33b29c3ed2 Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Thu, 21 Nov 2024 11:47:17 +0100 Subject: [PATCH 1/5] =?UTF-8?q?[FIX]lcc=5Fmembers:generalize=20ref=20trans?= =?UTF-8?q?alation=20by=20num=C3=A9ro=20d'adh=C3=A9sion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lcc_members/__manifest__.py | 2 +- lcc_members/i18n/fr.po | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lcc_members/__manifest__.py b/lcc_members/__manifest__.py index f71d4dd9..cb08a889 100644 --- a/lcc_members/__manifest__.py +++ b/lcc_members/__manifest__.py @@ -3,7 +3,7 @@ { "name": "lcc_members", - "version": "16.0.1.0.0", + "version": "16.0.1.0.1", "author": "Lokavaluto", "maintainer": "False", "website": "False", diff --git a/lcc_members/i18n/fr.po b/lcc_members/i18n/fr.po index 72f1c223..900fea7b 100644 --- a/lcc_members/i18n/fr.po +++ b/lcc_members/i18n/fr.po @@ -655,7 +655,7 @@ msgstr "Certains contacts représentent des postes / fonctions et non des person #. module: lcc_members #: model_terms:ir.ui.view,arch_db:lcc_members.lcc_members_form_view msgid "Subcription number" -msgstr "Numero d'adhésion" +msgstr "Numéro d'adhésion" #. module: lcc_members #: model_terms:ir.ui.view,arch_db:lcc_members.portal_my_details_profiles_lcc @@ -786,4 +786,13 @@ msgstr "Statut de l'adhérent" #. module: lcc_members #: model:ir.model,name:lcc_members.model_member_type msgid "member.type" -msgstr "Type d'adhérent" \ No newline at end of file +msgstr "Type d'adhérent" + +#. module: base +#: model:ir.model.fields,field_description:base.field_ir_model_data__reference +#: model:ir.model.fields,field_description:base.field_res_partner__ref +#: model:ir.model.fields,field_description:base.field_res_users__ref +#: model:ir.model.fields.selection,name:base.selection__ir_server_object_lines__evaluation_type__reference +#: model_terms:ir.ui.view,arch_db:base.view_partner_form +msgid "Reference" +msgstr "Numéro d'adhésion" \ No newline at end of file From 8e2ebbfce932904be2d68c2204bc6dcbd25a6104 Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Tue, 26 Nov 2024 16:05:16 +0100 Subject: [PATCH 2/5] [IMP]lcc_members:change membersip_start_adhered transalation --- lcc_members/i18n/fr.po | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lcc_members/i18n/fr.po b/lcc_members/i18n/fr.po index 900fea7b..b44a4b02 100644 --- a/lcc_members/i18n/fr.po +++ b/lcc_members/i18n/fr.po @@ -795,4 +795,10 @@ msgstr "Type d'adhérent" #: model:ir.model.fields.selection,name:base.selection__ir_server_object_lines__evaluation_type__reference #: model_terms:ir.ui.view,arch_db:base.view_partner_form msgid "Reference" -msgstr "Numéro d'adhésion" \ No newline at end of file +msgstr "Numéro d'adhésion" + +#. module: membership_extension +#: model:ir.model.fields,field_description:membership_extension.field_res_partner__membership_start_adhered +#: model:ir.model.fields,field_description:membership_extension.field_res_users__membership_start_adhered +msgid "Membership Adhered Start Date" +msgstr "Date de saisie de l'adhésion" \ No newline at end of file From 8137595a885421f3be3ab8979c7cde3f70a49ba9 Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Tue, 26 Nov 2024 17:23:12 +0100 Subject: [PATCH 3/5] [IMP]lcc_members:do not install base_location by default anymore --- lcc_members/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcc_members/__manifest__.py b/lcc_members/__manifest__.py index cb08a889..1a9c4214 100644 --- a/lcc_members/__manifest__.py +++ b/lcc_members/__manifest__.py @@ -24,7 +24,7 @@ "complementary_contact_data", # "base_address_city", "base_geolocalize", - "base_location", + # "base_location", "contract", "event", "website", From 9f88b32022329ae5a30df55b7d7a0082fdc8d4ce Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Tue, 14 Jan 2025 17:28:54 +0100 Subject: [PATCH 4/5] [IMP]l10n_fr_lcc_members:add receipt for purchase journal --- l10n_fr_lcc_members/report/invoice_report_templates.xml | 2 +- l10n_fr_lcc_members/views/account_journal.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_fr_lcc_members/report/invoice_report_templates.xml b/l10n_fr_lcc_members/report/invoice_report_templates.xml index db043827..a69540ca 100644 --- a/l10n_fr_lcc_members/report/invoice_report_templates.xml +++ b/l10n_fr_lcc_members/report/invoice_report_templates.xml @@ -23,7 +23,7 @@ Receipt Credit Note Vendor Credit Note - Vendor Bill + Receipt diff --git a/l10n_fr_lcc_members/views/account_journal.xml b/l10n_fr_lcc_members/views/account_journal.xml index 8cd39c11..35dc02eb 100644 --- a/l10n_fr_lcc_members/views/account_journal.xml +++ b/l10n_fr_lcc_members/views/account_journal.xml @@ -9,7 +9,7 @@ - + From 295932c12ef7996e23e3f9719626d68904ef26dd Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Tue, 14 Jan 2025 18:13:00 +0100 Subject: [PATCH 5/5] [ADD]lcc_journal_category --- lcc_journal_category/.gitignore | 2 + lcc_journal_category/README.md | 53 +++++++++++++++++++ lcc_journal_category/__init__.py | 1 + lcc_journal_category/__manifest__.py | 18 +++++++ lcc_journal_category/models/__init__.py | 1 + .../models/account_journal.py | 13 +++++ .../views/account_journal.xml | 34 ++++++++++++ 7 files changed, 122 insertions(+) create mode 100644 lcc_journal_category/.gitignore create mode 100644 lcc_journal_category/README.md create mode 100644 lcc_journal_category/__init__.py create mode 100644 lcc_journal_category/__manifest__.py create mode 100644 lcc_journal_category/models/__init__.py create mode 100644 lcc_journal_category/models/account_journal.py create mode 100644 lcc_journal_category/views/account_journal.xml diff --git a/lcc_journal_category/.gitignore b/lcc_journal_category/.gitignore new file mode 100644 index 00000000..6da58871 --- /dev/null +++ b/lcc_journal_category/.gitignore @@ -0,0 +1,2 @@ +*.*~ +*pyc diff --git a/lcc_journal_category/README.md b/lcc_journal_category/README.md new file mode 100644 index 00000000..c14a788f --- /dev/null +++ b/lcc_journal_category/README.md @@ -0,0 +1,53 @@ +# lcc_journal_category + +Module add categories in accounting journals for french lcc company + +## Installation + +Just install lcc_journal_category, all dependencies will be installed by default. + +## Configuration + +No configuration needed on this addon. + +## Usage + +Details TODO + +## Known issues / Roadmap + +## 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. + +## Credits + +### Images + +* Lokavaluto: `Icon `_. + +### Contributors + +* Laetitia DACOSTA GALET +* Boris GALET +* Stéphan SAINLEGER +* Nicolas JEUDY +* Lokavaluto Teams + +### Funders + +The development of this module has been financially supported by: + +* Lokavaluto (https://lokavaluto.fr) +* Mycéliandre (https://myceliandre.fr) +* Elabore (https://elabore.coop) + +### Maintainer + +This module is maintained by LOKAVALUTO. + +LOKAVALUTO, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and ecosystem for local complementary currency organizations. \ No newline at end of file diff --git a/lcc_journal_category/__init__.py b/lcc_journal_category/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/lcc_journal_category/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/lcc_journal_category/__manifest__.py b/lcc_journal_category/__manifest__.py new file mode 100644 index 00000000..148e0ea2 --- /dev/null +++ b/lcc_journal_category/__manifest__.py @@ -0,0 +1,18 @@ +{ + "name": "lcc_journal_category", + "summary": """ + Journal categories for lcc + """, + "author": "Lokavaluto", + "website": "https://lokavaluto.fr", + "category": "Accounting", + "version": "16.0.1.0.0", + # any module necessary for this one to work correctly + "depends": ["base", "account"], + # always loaded + "data": [ + "views/account_journal.xml", + ], + # only loaded in demonstration mode + "demo": [], +} diff --git a/lcc_journal_category/models/__init__.py b/lcc_journal_category/models/__init__.py new file mode 100644 index 00000000..2388e119 --- /dev/null +++ b/lcc_journal_category/models/__init__.py @@ -0,0 +1 @@ +from . import account_journal diff --git a/lcc_journal_category/models/account_journal.py b/lcc_journal_category/models/account_journal.py new file mode 100644 index 00000000..49511a24 --- /dev/null +++ b/lcc_journal_category/models/account_journal.py @@ -0,0 +1,13 @@ +from odoo import models, fields + +class AccountJournal(models.Model): + _inherit = "account.journal" + + category = fields.Selection( + [("asso", "compta fonctionnement asso"), + ("coupon", "compta coupon/billets MLC"), + ("num", "compta MLC numérique")], + string="Catégorie", + required=True, + default="asso", + ) \ No newline at end of file diff --git a/lcc_journal_category/views/account_journal.xml b/lcc_journal_category/views/account_journal.xml new file mode 100644 index 00000000..4e2b1264 --- /dev/null +++ b/lcc_journal_category/views/account_journal.xml @@ -0,0 +1,34 @@ + + + + + account.journal.form + account.journal + + + + + + + + + + account.journal.search.category.inherit + account.journal + + + + + + + + + + + + + + + \ No newline at end of file