You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
758 B

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Inheriting account_move view to add the warning message-->
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.view.form.inherit.customer.blacklist
</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//header" position="after">
<div class="alert alert-warning" role="alert"
attrs="{'invisible':[('partner_blacklist_warning','=','')]}">
<field name="partner_blacklist_warning"/>
</div>
</xpath>
</field>
</record>
</odoo>