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 18, 2024
1 parent 7b6a4c9 commit 98ba06e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions joint_buying_product/i18n/fr.po
Original file line number Diff line number Diff line change
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
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 98ba06e

Please sign in to comment.