title: Display multiple one2many field with different domain dynamically?
body: <p>I have a model(modelA) with one2many field related to another model(modelB) and one of the fields in modelB is a category field, which is a many2one field. The requirement is to have a one2many field displayed for each category. So if there are 2 categories named 'category1' and 'category2', the form view of modelA should have 2 one2many fields, one which displays records of having category1 and another for category2(which could possibly done using domain).</p>
  
  <p>For eg modelA and modelB has the following structure.</p>
  
  <pre class="lang-py prettyprint-override"><code>class classA(models.Model):
      _name = 'modelA'
  
      modelA_one2manyfield = fields.One2many('modelB', 'modelB_many2onefield')
  
  class classB(models.Model):
      _name = 'modelB'
  
      name = fields.Char()
      category = fields.Many2one('modelC')
      modelB_many2onefield = fields.Many2one('modelA')
  </code></pre>
  
  <p>How would i go about implementing a form view for modelA so that for each category(which can be added by the user, hence there can be of any number of categories) there is a seperate one2many field.</p>