Uncaught TypeError: object is not a function <record model="ir.ui.view" id="sale_order_line_type_price"> <field name="name">sale.order.line.type.price</field> <field name="model">sale.order</field> <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> <xpath expr="//field[@name='order_line']/tree//field[@name='price_unit']" position="replace"> <script> console.log('test'); </script> <field name="price_unit"/> </xpath> </field> </record>
I, also, try with an extern js file but same result.
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: 7/18/13, 7:51 AM|
|Seen: 708 times|
|Last updated: 3/16/15, 8:10 AM|