Skip to content

Commit

Permalink
[IMP] joint_buying_product : more precise wording for a button
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Oct 17, 2024
1 parent 7b6a4c9 commit b412c99
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 32 deletions.
47 changes: 18 additions & 29 deletions joint_buying_product/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 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-26 19:54+0000\n"
"PO-Revision-Date: 2024-01-26 19:54+0000\n"
"POT-Creation-Date: 2024-10-17 13:12+0000\n"
"PO-Revision-Date: 2024-10-17 13:12+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -543,11 +543,6 @@ msgstr "Contenus"
msgid "Correct purchase state"
msgstr "Corriger l'état de la commande"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_tree
msgid "Create"
msgstr "Créer"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_tree
Expand All @@ -556,7 +551,6 @@ msgstr "Créer une nouvelle commande et s'abonner au fournisseur"

#. module: joint_buying_product
#: model:ir.actions.act_window,name:joint_buying_product.action_partner_2_wizard_create_order
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_wizard_create_order_form
msgid "Create Order"
msgstr "Créer une commande"
Expand Down Expand Up @@ -1710,6 +1704,12 @@ msgstr "Catégories de commandes"
msgid "Order Lines"
msgstr "Lignes de la commande"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_tree
msgid "Order and Subscribe"
msgstr "Commander et s'abonner"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_form
msgid "Order line"
Expand Down Expand Up @@ -1952,7 +1952,7 @@ msgstr "Type de demande"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
msgid "Resend to Supplier by Email"
msgid "Resend to Supplier by Email"
msgstr "Réenvoyer au fournisseur par email"

#. module: joint_buying_product
Expand Down Expand Up @@ -2146,11 +2146,6 @@ msgstr "Code frs."
msgid "Supplier"
msgstr "Fournisseur"

#. module: joint_buying_product
#: model:ir.model.fields,field_description:joint_buying_product.field_res_config_settings__joint_buying_supplier_document_url
msgid "Supplier Document URL"
msgstr "URL du document pour les fournisseurs"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
msgid "Supplier Mail sent"
Expand Down Expand Up @@ -2309,12 +2304,6 @@ msgstr ""
msgid "Type of measurement category"
msgstr "Type de catégorie de système de mesure"

#. module: joint_buying_product
#: model:ir.model.fields,help:joint_buying_product.field_res_config_settings__joint_buying_supplier_document_url
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_res_config_settings_form
msgid "URL of the online document that will be added to the email send to the supplier."
msgstr "URL du document en ligne qui sera ajouté automatiquement dans l'email envoyé au fournisseur."

#. module: joint_buying_product
#: model:product.product,name:joint_buying_product.product_devidal_unavailable_product
#: model:product.template,name:joint_buying_product.product_devidal_unavailable_product_product_template
Expand Down Expand Up @@ -2414,17 +2403,17 @@ msgstr "UdM"
msgid "Update Joint Buying Product"
msgstr "Mettre à jour le produit de commande groupée"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
msgid "Update Products"
msgstr "Mettre à jour les articles"

#. module: joint_buying_product
#: model:ir.actions.act_window,name:joint_buying_product.action_order_grouped_2_wizard_update_order_grouped
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
msgid "Update Order Quantities"
msgstr "Mettre à jour les quantités commandées"

#. module: joint_buying_product
#: model_terms:ir.ui.view,arch_db:joint_buying_product.view_joint_buying_purchase_order_grouped_form
msgid "Update Products"
msgstr "Mettre à jour les articles"

#. module: joint_buying_product
#: model:ir.model.fields,field_description:joint_buying_product.field_joint_buying_wizard_create_order__use_joint_buying_category
msgid "Use Joint Buying Category"
Expand Down Expand Up @@ -2468,13 +2457,13 @@ msgid "You can not change the value of the Joint buying partner."
msgstr "Vous ne pouvez pas changer la valeur de partenaire de commande groupée"

#. module: joint_buying_product
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:403
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:404
#, python-format
msgid "You can not confirm an order with null amount."
msgstr "Vous ne pouvez pas confirmer une commande avec un montant nul."

#. module: joint_buying_product
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:399
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:400
#, python-format
msgid "You can not confirm an order without any lines."
msgstr "Vous ne pouvez pas confirmer une commande sans lignes."
Expand Down Expand Up @@ -2502,13 +2491,13 @@ msgid "You can not set a negative quantity in the 'Purchase Quantity' field !"
msgstr "Vous ne pouvez pas saisir de quantité négative dans le champ 'quantité à commander' !"

#. module: joint_buying_product
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:407
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:408
#, python-format
msgid "You cannot confirm an order for which you have not reached the minimum purchase amount."
msgstr "Vous ne pouvez pas confirmer une commande pour laquelle le franco de port n'est pas atteint."

#. module: joint_buying_product
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:414
#: code:addons/joint_buying_product/models/joint_buying_purchase_order.py:415
#, python-format
msgid "You cannot confirm an order for which you have not reached the minimum weight."
msgstr "Vous ne pouvez pas confirmer une commande pour laquelle le franco de port n'est pas atteint."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
string="See" help="See My Order"
attrs="{'invisible': [('current_order_id', '=', False)]}"/>
<button name="create_current_order" type="object"
string="Create" help="Create New Order and subscribe to the Supplier"
string="Order and Subscribe" help="Create New Order and subscribe to the Supplier"
attrs="{'invisible': ['|', ('current_order_id', '!=', False), ('state', 'not in', ['in_progress', 'in_progress_near', 'in_progress_imminent'])]}"/>
</tree>
</field>
Expand Down Expand Up @@ -124,9 +124,9 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
attrs="{'invisible': ['|', ('is_mine_pivot', '=', False), ('state', '=', 'deposited')]}"/>

<button name="action_send_email_for_supplier" string="Send to Supplier by Email" type="object" class="oe_highlight" attrs="{'invisible': ['|', ('is_mine_pivot', '=', False), ('is_mail_sent', '=', True)]}"/>
<button name="action_send_email_for_supplier" string="Resend to Supplier by Email" type="object" attrs="{'invisible': [('is_mail_sent', '=', False)]}"/>
<button name="action_send_email_for_supplier" string="Resend to Supplier by Email" type="object" attrs="{'invisible': [('is_mail_sent', '=', False)]}"/>
<button name="see_current_order" string="See My Order" type="object" attrs="{'invisible': [('current_order_id', '=', False)]}"/>
<button name="create_current_order" string="Create Order" class="oe_highlight" type="object" attrs="{'invisible': ['|', ('current_order_id', '!=', False), ('state', 'not in', ['in_progress', 'in_progress_near', 'in_progress_imminent'])]}" help="Create New Order and subscribe to the Supplier"/>
<button name="create_current_order" string="Order and Subscribe" class="oe_highlight" type="object" attrs="{'invisible': ['|', ('current_order_id', '!=', False), ('state', 'not in', ['in_progress', 'in_progress_near', 'in_progress_imminent'])]}" help="Create New Order and subscribe to the Supplier"/>
<button name="update_product_list" string="Update Products" type="object" attrs="{'invisible': ['|', ('is_mine_pivot', '=', False), ('state', 'not in', ['in_progress', 'in_progress_near', 'in_progress_imminent'])]}" class="btn-danger" confirm="This will update the products list of the pending orders. If product are marked as unavailable, the lines will be DELETED. If new products are available, new lines will be added. If products informations changed (price, package quantity, etc...), lines will be updated"/>
<field name="state" widget="statusbar" statusbar_visible="futur,in_progress,closed,deposited"/>
</header>
Expand Down

0 comments on commit b412c99

Please sign in to comment.