Files
Odoo-Build/snippets/purchase.purchase_order_view_tree.x_payment_tree.xml
T

7 lines
379 B
XML

<?xml version="1.0"?>
<data inherit_id="purchase.purchase_order_view_tree" priority="50">
<xpath expr="//field[@name='invoice_status']" position="before">
<field name="x_payment_state" decoration-success="x_payment_state=='paid'" decoration-danger="x_payment_state=='not_paid'" decoration-warning="x_payment_state=='in_payment'" widget="badge"/>
</xpath>
</data>