Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Duplicate order_line from sale in a view in one page

By
Juan Carlos Falcón Portillo
on 9/2/15, 3:58 AM 319 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>


Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/2/15, 3:58 AM
Seen: 319 times
Last updated: 9/2/15, 3:58 AM