Odoo - How to show multi list or form in one view at same time? - odoo

With Odoo10, I want to make a department-managed view. The left side of the view is a department hierarchical tree, the right side is a list of employees according to the choice of the left. So it looks like two tree view in one view. How to implement this in odoo? Is there some code examples can reference?Or if anyone can give me some advice. Thanks very much.
The view should be like this.

you can adapt the code model from the odoo custom addon in community MUK.
Please have a look here

Related

How to add description as part of schema metadata in BigQuery Views

I am looking a way how we can add description of fields to the views. In BQ UI there is no way to add description, its only for tables.
Is there way to do it programmatically using api's.
It is not possible for views to have field descriptions at present. There's an open feature request on our public issue tracker to implement this. You can star the issue to let us know it's something you're interested in and we'll prioritize accordingly.
indirect way to provide description for fields in view is to provide good comments in View's Query. So then, when you go to View's Details Panel (vs Schema) you will see those comments/description in Query Box (below) View Info section.
Another option so far is to reuse View's Description - this one is available in both UI and API.
Rather than that there is no support that I know of to individual filed's description for view

Custom odoo module - how to make a table

I am creating a custom module with additional part numbers on a separate tab in the products screen. I have built the module, but am having trouble figuring out how to display the information so it matches the layout in the attached image. I have tried tree view but have not been able to get the fields on the same line. Can this only be accomplished through css or is there a table view that I am not aware of?
I also need to make sure that all of the information in row 1 stays tethered together for additional forms, etc. My plan is to make the field names for each row end with a different number (i.e. x_mfrname1,x_mfrpn1,x_mfrname2,x_mfrpn2, etc.). Can somebody please just tell me if I am on the right track. This is the initial Odoo setup for a client of mine and I don't want them to come back to me down the line and find out I forgot something. I have been scouring the internet and reading a few books but I am not completely confident.
Here is a link to a layout of what I am talking about:
MFG Part Number Tab
Thanks!
class sub_part_details(models.Model)
_name='sub.part.detail'
primary_pn=fields.Boolean('Primary P/N')
obsolete=fields.Boolean('Obsolete')
pn=fields.Char('P/N')
desc=fields.Char('Description')
upgrade=fields.Char('Upgrade')
part_detail_id=fields.Many2one('part.details')
class part_details(models.Model)
_name='part.details'
cat=fields.Char('CAT')
sub_ass=fields.Char('Subassembly')
main_ass=fields.Char('Main Assembly')
notes=fields.Text('Notes')
sub_details_ids=fields.One2Many(''sub.part.detail','part_detail_id')
It might be helpful

YouTrack issues list Detail Level manipulation

Question: is it possible to manipulate with issues list detail level some way other than button?
Story: there is a button in issue list where you can choose the presentation of issues in the list: TreeView, One-Line View, Compact View, Detailed View. I would like to give a link or query that specifies the view. Something like:
http://link/issues?q=in:Pro_LG view:DetailedView
http://link/issues?q=in:Documentation view:TreeView
Because if I present (share link, show people) some hierarchical task, I would like it to look like TreeView. And when I present the subset of issues (issues for build) I would like them to be in DetailedView.
And it is not very convenient to tell people "And don't forget to switch to tree view, after you open my link" =)
It's not possible now. Here's the respective request: https://youtrack.jetbrains.com/issue/JT-15305.

How to create dynamic design dojo with data?

hi everyone i'm a newbie in dojo mobile,i want create some thing like this image but dynamic with data by code.How i can do this ? thanks for any help
Just follow the series of tutorials on Tweetview. The first one is here : http://dojotoolkit.org/documentation/tutorials/1.9/mobile/tweetview/getting_started/
The subsequent ones are linked at the bottom of that page.

BOM structure inside manufacturing order.(tree view inside a model) openerp

I need to add a new page inside manufacture order which shows the tree view of bom of the main product.Something like the image below
Does anyone have idea about it?I need it in 6.0.3
If you are using new web client i.e. 6.1+ this feature you are asking that "add a new page inside manufacture order which shows the tree view of bom" Does not works,
Pure Solution is use GTK client or Go Implement the missing feature in web client.
or What you can do is yo can provide some Right hand side short cut act windows which will open the new view which is expected by you.
and IF I am not missing anything then this matches with your older post : how to group one2many list view inside another model in openerp 6.1? ;)
Thank You