invoice form improvement

This commit is contained in:
Youssef Elouahby 2018-10-09 14:37:23 +01:00
parent 6307329e98
commit 561786430a
1 changed files with 3 additions and 2 deletions

View File

@ -27,10 +27,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="inherit_id" ref="account.invoice_form" />
<field name="arch" type="xml">
<field name='partner_id' position='after'>
<field name='is_minor_invoice' invisible="1"/>
<field name="partner_ids"
widget="many2many_tags"
readonly="1"/>
<!-- attrs="{'invisible': [('src_member_id', '=', False)]}"-->
readonly="1"
attrs="{'invisible': [('is_minor_invoice', '=', False)]}"/>
</field>
</field>
</record>