Web: allow import of models with '_inherits'

web_import_models_with_inherits
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/6.1/web_import_models_with_inherits
VERSION
VERSION 1.0r1
CATEGORY
CATEGORYTools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSAlexandre Fayolle, Stefan Rijnhart, Holger Brunn
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
When a model has its '_inherits' defined, the associated fields are always
set to 'required'. These models cannot be imported in the web client 6.1
because the web client insists that these fields be present in the import
file. See https://bugs.launchpad.net/bugs/930318.

This module makes the web client query the content of a model's
'_inherits' so that it can exclude them from the required fields at import
time.

Due to the applied method of 'monkey patching', the installation of this
module on one database will affect all databases on the same OpenERP
installation.

This bug does not affect OpenERP 7.0, in which the import function has
been refactored.
    

Code Analysis

Views touched (0)

No views found for this module.

Models touched (0)

No models found for this module.