{"en_US": "<data><xpath expr=\"//field[@name='commitment_date']\" position=\"attributes\">\n                    <attribute name=\"decoration-danger\">\n                        (\n                            (\n                                commitment_date &lt; effective_date\n                                or commitment_date &lt; datetime.datetime.combine(\n                                    datetime.date.today(),\n                                    datetime.time(0,0,0)\n                                ).to_utc().strftime('%Y-%m-%d %H:%M:%S')\n                            )\n                            and delivery_status in ['pending', 'started']\n                            and effective_date &lt;= commitment_date\n                            or delivery_status == 'partial'\n                        )\n                    </attribute>\n                </xpath>\n                <field name=\"invoice_status\" position=\"before\">\n                    <field name=\"effective_date\" column_invisible=\"True\"/>\n                    <field name=\"delivery_status\" decoration-success=\"delivery_status == 'full'\" decoration-warning=\"delivery_status == 'partial'\" decoration-info=\"delivery_status in ['pending', 'started']\" widget=\"badge\" optional=\"hide\"/>\n                </field>\n            </data>"}