Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] joint_buying_product : more precise wording for a button #101

Open
wants to merge 1 commit into
base: 12.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading