From 278540fbafd0244f93a127649b49f4f8d55e8057 Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Thu, 2 Oct 2025 17:16:54 -0400 Subject: [PATCH] Added fr translation and implied group for inventory security --- stock_inventory_adjustment_security/README.md | 5 +++ .../i18n/fr.po | 44 +++++++++++++++++++ .../stock_inventory_adjustment_security.pot | 37 ++++++++++++++++ .../security/security.xml | 5 +++ 4 files changed, 91 insertions(+) create mode 100644 stock_inventory_adjustment_security/i18n/fr.po create mode 100644 stock_inventory_adjustment_security/i18n/stock_inventory_adjustment_security.pot diff --git a/stock_inventory_adjustment_security/README.md b/stock_inventory_adjustment_security/README.md index 793127c..bc2422b 100644 --- a/stock_inventory_adjustment_security/README.md +++ b/stock_inventory_adjustment_security/README.md @@ -81,6 +81,11 @@ odoo-bin -d your_database --test-tags stock_inventory_adjustment_security - Odoo 18.0 - Depends on: `stock` +## Translations + +- English (en) +- French (fr) + ## License LGPL-3 diff --git a/stock_inventory_adjustment_security/i18n/fr.po b/stock_inventory_adjustment_security/i18n/fr.po new file mode 100644 index 0000000..1c5ae07 --- /dev/null +++ b/stock_inventory_adjustment_security/i18n/fr.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_inventory_adjustment_security +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-10-02 21:15:00+0000\n" +"PO-Revision-Date: 2025-10-02 21:15:00+0000\n" +"Last-Translator: \n" +"Language-Team: \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" + +#. module: stock_inventory_adjustment_security +#: code:addons/stock_inventory_adjustment_security/models/stock_quant.py:0 +#, python-format +msgid "" +"You don't have permission to apply inventory adjustments. You can count " +"inventory, but only authorized users can apply the changes. Please contact " +"your inventory manager." +msgstr "" +"Vous n'avez pas la permission d'appliquer des ajustements d'inventaire. " +"Vous pouvez compter l'inventaire, mais seuls les utilisateurs autorisés " +"peuvent appliquer les modifications. Veuillez contacter votre gestionnaire " +"d'inventaire." + +#. module: stock_inventory_adjustment_security +#: model:res.groups,name:stock_inventory_adjustment_security.group_inventory_manual_adjustments +msgid "Manual Adjustments" +msgstr "Ajustements manuels" + +#. module: stock_inventory_adjustment_security +#: model:res.groups,comment:stock_inventory_adjustment_security.group_inventory_manual_adjustments +msgid "" +"Users in this group can apply manual inventory adjustments.\n" +"Regular inventory users can count inventory but cannot apply the adjustments." +msgstr "" +"Les utilisateurs de ce groupe peuvent appliquer des ajustements d'inventaire manuels.\n" +"Les utilisateurs d'inventaire réguliers peuvent compter l'inventaire mais ne peuvent pas appliquer les ajustements." diff --git a/stock_inventory_adjustment_security/i18n/stock_inventory_adjustment_security.pot b/stock_inventory_adjustment_security/i18n/stock_inventory_adjustment_security.pot new file mode 100644 index 0000000..fd3267c --- /dev/null +++ b/stock_inventory_adjustment_security/i18n/stock_inventory_adjustment_security.pot @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_inventory_adjustment_security +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-10-02 21:15:00+0000\n" +"PO-Revision-Date: 2025-10-02 21:15:00+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" + +#. module: stock_inventory_adjustment_security +#: code:addons/stock_inventory_adjustment_security/models/stock_quant.py:0 +#, python-format +msgid "" +"You don't have permission to apply inventory adjustments. You can count " +"inventory, but only authorized users can apply the changes. Please contact " +"your inventory manager." +msgstr "" + +#. module: stock_inventory_adjustment_security +#: model:res.groups,name:stock_inventory_adjustment_security.group_inventory_manual_adjustments +msgid "Manual Adjustments" +msgstr "" + +#. module: stock_inventory_adjustment_security +#: model:res.groups,comment:stock_inventory_adjustment_security.group_inventory_manual_adjustments +msgid "" +"Users in this group can apply manual inventory adjustments.\n" +"Regular inventory users can count inventory but cannot apply the adjustments." +msgstr "" diff --git a/stock_inventory_adjustment_security/security/security.xml b/stock_inventory_adjustment_security/security/security.xml index cc25312..2e0b2b4 100644 --- a/stock_inventory_adjustment_security/security/security.xml +++ b/stock_inventory_adjustment_security/security/security.xml @@ -9,4 +9,9 @@ Regular inventory users can count inventory but cannot apply the adjustments. + + + + +