Skip to content

Commit

Permalink
FIXUP translations
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Dec 18, 2024
1 parent 666fa5a commit fb44614
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 29 deletions.
4 changes: 4 additions & 0 deletions sale_order_blanket_order/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ def pre_init_hook(cr):
cr.execute(
"ALTER TABLE sale_order ADD COLUMN blanket_reservation_strategy varchar(255)"
)

cr.execute(
"ALTER TABLE sale_order ADD COLUMN create_call_off_from_so_if_possible BOOLEAN"
)
74 changes: 58 additions & 16 deletions sale_order_blanket_order/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-09 08:46+0000\n"
"PO-Revision-Date: 2024-12-09 08:46+0000\n"
"POT-Creation-Date: 2024-12-18 12:41+0000\n"
"PO-Revision-Date: 2024-12-18 12:41+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -141,6 +141,11 @@ msgstr "Sociétés"
msgid "Config Settings"
msgstr "Configuration"

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__create_call_off_from_so_if_possible
msgid "Create Call Off From So If Possible"
msgstr "Créer une commande d'appel à partir si possible"

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_res_company__create_call_off_from_so_if_possible
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_res_config_settings__create_call_off_from_so_if_possible
Expand Down Expand Up @@ -228,15 +233,33 @@ msgstr ""
"commande-cadre doit être finalisée, le système recherchera les commandes-"
"cadre avec ce champ défini à True et la période de validité atteinte. Une "
"fois la commande-cadre finalisée, le système définira ce champ à False. De "
"cette manière, la base de données contiendra toujours moins d'enregistrements"
" à rechercher avec ce champ défini à True."
"cette manière, la base de données contiendra toujours moins "
"d'enregistrements à rechercher avec ce champ défini à True."

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "Invalid reservation strategy for the blanket order %(ref)s."
msgstr "Stratégie de réservation invalide pour la commande-cadre %(ref)s."
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__is_blanket_eol_strategy_editable
msgid ""
"Indicates if the end-of-life strategy can be edited. By default, the end-of-"
"life strategy can be edited while the blanket order is not finalized."
msgstr ""
"Indique si la stratégie de fin de vie peut être modifiée. Par défaut, la "
"stratégie de fin de vie peut être modifiée tant que la commande-cadre n'est "
"pas finalisée."

#. module: sale_order_blanket_order
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__is_blanket_reservation_strategy_editable
msgid "Indicates if the reservation strategy can be edited."
msgstr "Indique si la stratégie de réservation peut être modifiée."

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__is_blanket_eol_strategy_editable
msgid "Is Blanket Eol Strategy Editable"
msgstr "La stratégie de fin de vie de la commande-cadre est-elle modifiable"

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__is_blanket_reservation_strategy_editable
msgid "Is Blanket Reservation Strategy Editable"
msgstr "La stratégie de réservation de la commande-cadre est-elle modifiable"

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__blanket_need_to_be_finalized
Expand Down Expand Up @@ -267,13 +290,6 @@ msgstr ""
"Seules les commandes d'appel peuvent être confirmées en tant que commandes "
"d'appel."

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "Only orders can be split."
msgstr "Seules les commandes peuvent être divisées."

#. module: sale_order_blanket_order
#: model:ir.model.fields.selection,name:sale_order_blanket_order.selection__sale_order__order_type__order
msgid "Order"
Expand Down Expand Up @@ -414,6 +430,13 @@ msgstr "Le domaine pour rechercher les commandes-cadre candidates."
msgid "The end date of the validity period for the blanket order."
msgstr "La date de fin de la période de validité de la commande-cadre."

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "The end-of-life strategy cannot be modified on order %(order)s."
msgstr "La stratégie de fin de vie ne peut pas être modifiée sur la commande %(order)s."

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
Expand Down Expand Up @@ -515,6 +538,13 @@ msgstr ""
" commande-cadre liée pour ce produit. (Produit: '%(product)s', Commande: "
"'%(order)s', Commande-cadre: '%(blanket_order)s')"

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "The reservation strategy cannot be modified on order %(order)s."
msgstr "La stratégie de réservation ne peut pas être modifiée sur la commande %(order)s."

#. module: sale_order_blanket_order
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__blanket_validity_start_date
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order_line__blanket_validity_start_date
Expand All @@ -531,6 +561,7 @@ msgstr "La date de fin de validité est requise pour une commande-cadre."
#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#: code:addons/sale_order_blanket_order/models/sale_order_line.py:0
#, python-format
msgid "The validity end date must be greater than the validity start date."
msgstr ""
Expand Down Expand Up @@ -570,3 +601,14 @@ msgstr "Date de début de validité"
#: model_terms:ir.ui.view,arch_db:sale_order_blanket_order.sale_order_form_view
msgid "Validity period"
msgstr "Période de validité"

#. module: sale_order_blanket_order
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__create_call_off_from_so_if_possible
msgid ""
"When this option is enabled, the system will automatically create call-off "
"orders when a sales order is confirmed and some lines refer to a blanket "
"order."
msgstr ""
"Lorsque cette option est activée, le système créera automatiquement des "
"commandes d'appel lorsque une commande client est confirmée et que certaines "
"lignes font référence à une commande-cadre."
62 changes: 49 additions & 13 deletions sale_order_blanket_order/i18n/sale_order_blanket_order.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-09 08:45+0000\n"
"PO-Revision-Date: 2024-12-09 08:45+0000\n"
"POT-Creation-Date: 2024-12-18 12:40+0000\n"
"PO-Revision-Date: 2024-12-18 12:40+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -139,6 +139,11 @@ msgstr ""
msgid "Config Settings"
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__create_call_off_from_so_if_possible
msgid "Create Call Off From So If Possible"
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_res_company__create_call_off_from_so_if_possible
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_res_config_settings__create_call_off_from_so_if_possible
Expand Down Expand Up @@ -209,10 +214,25 @@ msgid ""
msgstr ""

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "Invalid reservation strategy for the blanket order %(ref)s."
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__is_blanket_eol_strategy_editable
msgid ""
"Indicates if the end-of-life strategy can be edited. By default, the end-of-"
"life strategy can be edited while the blanket order is not finalized."
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__is_blanket_reservation_strategy_editable
msgid "Indicates if the reservation strategy can be edited."
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__is_blanket_eol_strategy_editable
msgid "Is Blanket Eol Strategy Editable"
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,field_description:sale_order_blanket_order.field_sale_order__is_blanket_reservation_strategy_editable
msgid "Is Blanket Reservation Strategy Editable"
msgstr ""

#. module: sale_order_blanket_order
Expand Down Expand Up @@ -240,13 +260,6 @@ msgstr ""
msgid "Only call-off orders can be confirmed as call-off orders."
msgstr ""

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "Only orders can be split."
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields.selection,name:sale_order_blanket_order.selection__sale_order__order_type__order
msgid "Order"
Expand Down Expand Up @@ -373,6 +386,13 @@ msgstr ""
msgid "The end date of the validity period for the blanket order."
msgstr ""

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "The end-of-life strategy cannot be modified on order %(order)s."
msgstr ""

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
Expand Down Expand Up @@ -455,6 +475,13 @@ msgid ""
"'%(order)s', Blanket Order: '%(blanket_order)s')"
msgstr ""

#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#, python-format
msgid "The reservation strategy cannot be modified on order %(order)s."
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__blanket_validity_start_date
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order_line__blanket_validity_start_date
Expand All @@ -471,6 +498,7 @@ msgstr ""
#. module: sale_order_blanket_order
#. odoo-python
#: code:addons/sale_order_blanket_order/models/sale_order.py:0
#: code:addons/sale_order_blanket_order/models/sale_order_line.py:0
#, python-format
msgid "The validity end date must be greater than the validity start date."
msgstr ""
Expand Down Expand Up @@ -508,3 +536,11 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:sale_order_blanket_order.sale_order_form_view
msgid "Validity period"
msgstr ""

#. module: sale_order_blanket_order
#: model:ir.model.fields,help:sale_order_blanket_order.field_sale_order__create_call_off_from_so_if_possible
msgid ""
"When this option is enabled, the system will automatically create call-off "
"orders when a sales order is confirmed and some lines refer to a blanket "
"order."
msgstr ""

0 comments on commit fb44614

Please sign in to comment.