Merge pull request #195 from akretion/14.0-remove-duplicated-button

14.0 remove duplicated button
This commit is contained in:
Kévin Roche
2023-11-02 17:27:51 +01:00
committed by GitHub
2 changed files with 0 additions and 8 deletions

View File

@@ -399,11 +399,6 @@ msgstr ""
"Sélectionner l'option 'Avertissement' informera l'utilisateur du Message. Sélectionner 'Message Bloquant' lancera une "
"exception avec le message et bloquera le flux. Le message doit être écrit dans le champ suivant."
#. module: sale_usability
#: model_terms:ir.ui.view,arch_db:sale_usability.view_order_form
msgid "Send Order Acknowledgement"
msgstr "Confirmation de commande"
#. module: sale_usability
#: model_terms:ir.ui.view,arch_db:sale_usability.view_sales_order_filter
msgid "State"

View File

@@ -32,9 +32,6 @@
<xpath expr="//field[@name='order_line']/tree/field[@name='product_template_id']" position="after">
<field name="product_barcode" optional="hide"/>
</xpath>
<button name="action_quotation_send" attrs="{'invisible': ['|', ('state', '=', 'draft'), ('invoice_count','&gt;=',1)]}" position="before">
<button name="action_quotation_send" type="object" string="Send Order Acknowledgement" attrs="{'invisible': ['|', ('state', 'not in', ('sale', 'done')), ('invoice_count','&gt;=',1)]}"/>
</button>
</field>
</record>