invoice form improvement

This commit is contained in:
Youssef Elouahby 2018-10-09 14:37:23 +01:00
parent 6307329e98
commit 561786430a

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="inherit_id" ref="account.invoice_form" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name='partner_id' position='after'> <field name='partner_id' position='after'>
<field name='is_minor_invoice' invisible="1"/>
<field name="partner_ids" <field name="partner_ids"
widget="many2many_tags" widget="many2many_tags"
readonly="1"/> readonly="1"
<!-- attrs="{'invisible': [('src_member_id', '=', False)]}"--> attrs="{'invisible': [('is_minor_invoice', '=', False)]}"/>
</field> </field>
</field> </field>
</record> </record>