[IMP] sale: remove line decoration for orders
the color of the lines for quotation(sent) is too noisy and not informative as there is a colored status badge. Remove the decoration to clear the view and decorate total amount where invoice_status = 'to invoice'. task-3290317 closes odoo/odoo#119986 Related: odoo/enterprise#40594 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -111,8 +111,6 @@
|
||||
<tree class="o_sale_order"
|
||||
string="Sales Orders"
|
||||
sample="1"
|
||||
decoration-info="state == 'draft' or invoice_status == 'to invoice'"
|
||||
decoration-primary="state == 'sent'"
|
||||
decoration-muted="state == 'cancel'">
|
||||
<header>
|
||||
<button name="%(sale.action_view_sale_advance_payment_inv)d"
|
||||
@@ -148,6 +146,7 @@
|
||||
sum="Total Tax Included"
|
||||
widget="monetary"
|
||||
decoration-bf="1"
|
||||
decoration-info="invoice_status == 'to invoice'"
|
||||
optional="show"/>
|
||||
<field name="tag_ids"
|
||||
widget="many2many_tags"
|
||||
|
||||
Reference in New Issue
Block a user