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

[REF] joint_buying_product : improve naming, replace 'Update Values' by 'Update order Quantities' #87

Merged
merged 2 commits into from
Mar 19, 2024
Merged
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
8 changes: 4 additions & 4 deletions joint_buying_product/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -2418,14 +2418,14 @@ 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 List"
msgstr "Mettre à jour la liste des articles"
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 Values"
msgstr "Mettre à jour les valeurs"
msgid "Update Order Quantities"
msgstr "Mettre à jour les quantités commandées"

#. module: joint_buying_product
#: model:ir.model.fields,field_description:joint_buying_product.field_joint_buying_wizard_create_order__use_joint_buying_category
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<odoo>

<record id="action_order_grouped_2_wizard_update_order_grouped" model="ir.actions.act_window">
<field name="name">Update Values</field>
<field name="name">Update Order Quantities</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">joint.buying.wizard.update.order.grouped</field>
<field name="view_type">form</field>
Expand Down Expand Up @@ -118,7 +118,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<form>
<header>

<button type="action" string="Update Values"
<button type="action" string="Update Order Quantities"
name="%(joint_buying_product.action_order_grouped_2_wizard_update_order_grouped)d"
groups="joint_buying_base.group_joint_buying_user"
attrs="{'invisible': ['|', ('is_mine_pivot', '=', False), ('state', '=', 'deposited')]}"/>
Expand All @@ -127,7 +127,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<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="update_product_list" string="Update Products List" 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"/>
<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>
<sheet>
Expand Down
Loading