Skip to Content
Menu
This question has been flagged
2656 Views

Hi,

I want double the order_line field in the view of sale in another page and add fields.


<?xml version="1.0" encoding="utf-8"?>

openerp>

<data>

  <record model="ir.ui.view" id="inz_contratos_sale_order_view_inherit">

<field name="name">inz_contratos.sale.view.order.form.inherit</field>

<field name="model">sale.order</field>

<field name="type">form</field>

<field name="inherit_id" ref="inz_ventas.inz_ventas_view_inherit">form</field>

<field name="arch" type="xml">

<notebook position="inside">

<page string="Garantía">

<field name="order_line">

<xpath expr="//field[@name='order_line']/tree/field[@name='product_id']" position="after">

<field name="x_fechaInicio"/>

</xpath>

</field>

</page>

</notebook>

</field>

</record>

</data>

</openerp>


Avatar
Discard
Related Posts Replies Views Activity
0
Feb 20
1
4
Jul 18
16743
2
Jan 16
7722
2
Mar 15
5227
0
Oct 24
3013