sale_usability: add a wizard to write discount on all lines

The wizard is available under the "Action" menu. It has an option to
apply only on product or service lines.

Add a button "Send ack by email" on confirmed sale.order
This commit is contained in:
Alexis de Lattre
2022-07-06 12:14:51 +02:00
parent d67141e128
commit 27d86cf151
7 changed files with 157 additions and 0 deletions

View File

@@ -32,6 +32,9 @@
<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>