Added fr translation and implied group for inventory security

This commit is contained in:
Marc Durepos 2025-10-02 17:16:54 -04:00
parent a080586ef4
commit 278540fbaf
4 changed files with 91 additions and 0 deletions

View file

@ -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

View file

@ -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."

View file

@ -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 ""

View file

@ -9,4 +9,9 @@
Regular inventory users can count inventory but cannot apply the adjustments.
</field>
</record>
<!-- Make stock manager imply manual adjustments -->
<record id="stock.group_stock_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('group_inventory_manual_adjustments'))]"/>
</record>
</odoo>