hello everyone, please i have to add a static element named unity with type char like this :
just help me of what should i do first and i will continue the rest thanks.
_inherit = 'account.invoice.line'
unity = fields.Char('Unity')
<record id="account_invoice_line_tree_view_inherit" model="ir.ui.view">
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="/form/sheet/notebook/page/field[@name='invoice_line_ids']/tree/field[@name='quantity']" position="after">
Hope it will works for you.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/26/16, 6:58 AM|
|Seen: 253 times|
|Last updated: 4/26/16, 10:15 AM|