lets say we have a module A which has a one2many field to module B and a company field. after choosing company in the form view from module A we click on "Add an Item" to add an item to the one2many field, which opens the view form from module B.
how can I e.g. automatically set the company in module B to the same which was selected in view from module A?
thank you.