← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 702337] [NEW] Allow inheritance of views event if thay don't have the same model.

 

Public bug reported:

Hi,

It's more a feature request than a bug report. Currently, you can't make
a view inherit from an other if they don't have the same model_id. I
believe that it might be different : You must allow this inheritance if
thei repesctive models are in the same hierarchy.

Example:

Classes:
- Person
- Customer (Customer inherit from Person, but extend it, _name are different)

Views:
- Person form view
- Customer form view (inherit from person form view + some specific fields)

This kind of implementation is not possible currently. Because the
Customer form view CAN'T inherit of the Persone form view : They are not
working on the same model. This doesn't sound logic because a Curstomer
IS A Person.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/702337

Title:
  Allow inheritance of views event if thay don't have the same model.

Status in OpenObject Server:
  New

Bug description:
  Hi,

  It's more a feature request than a bug report. Currently, you can't
  make a view inherit from an other if they don't have the same
  model_id. I believe that it might be different : You must allow this
  inheritance if thei repesctive models are in the same hierarchy.

  Example:

  Classes:
  - Person
  - Customer (Customer inherit from Person, but extend it, _name are different)

  Views:
  - Person form view
  - Customer form view (inherit from person form view + some specific fields)

  This kind of implementation is not possible currently. Because the
  Customer form view CAN'T inherit of the Persone form view : They are
  not working on the same model. This doesn't sound logic because a
  Curstomer IS A Person.





Follow ups

References