Community mailing list archives
Re: Customize Form Viewby
As Eric said you can have a hierarchical tree view for your object.
You will find lot of existing example for same in core odoo like product category, chart of accounts, Chart of taxes & many more.
Please check & let us know if answer helps.
On Thu, Jun 16, 2016 at 5:31 PM, Eric Caudal <firstname.lastname@example.org> wrote:
One possible solution would be a tree view with a "group by" by default
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 06/16/2016 07:47 PM, Dominique KON SUN TACK wrote:
your question is a bit unclear.
A form view shows only one record. e.g. sale order.So usually, the sale order will be the parent, and the sale order line will be the children
a) You cannot show two sale orders in a single form.b) However, it could be possible to show on a sale order, the related invoices, and the invoice lines (Parent 1,children), and the related picking and stock move (parent 2, children) etc... To do this, a good example is to take a look at the form view of a sale order, and look for the order lines.
On 16 June 2016 at 19:11, ANOOP M P <email@example.com> wrote:
Can anyone help me to display record as below format in form view of Odoo..
Parent 1Child Lines
Parent 2Child Lines
Parent 3Child Lines
Thanks & Regards