Extended view inheritance

base_view_inheritance_extension
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/19.0/base_view_inheritance_extension
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSHolger Brunn, Ruchir Shukla, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to make it simple to add custom operators for
view inheritance.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • apply_inheritance_specs(self, source, specs_tree, pre_locate=<expr>)
    @api.model
  • inheritance_handler_wraptext(self, source, specs)
    @api.model
    Implement wraptext inheritance spec .. code-block:: xml <wraptext expr="//some/node" position="text" element="span" /> Which transforms xml like .. code-block:: xml <some> <node> plain text <other_node /> </node> </some> to .. code-block:: xml <some> <node> <span>plain text</span> <other_node /> </node> </some>
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/18.0/base_view_inheritance_extension
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Vincent Van Rossem, Bhavesh Heliconia, Lukas Tran
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to make it simple to add custom operators for
view inheritance.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • apply_inheritance_specs(self, source, specs_tree, pre_locate=<expr>)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/17.0/base_view_inheritance_extension
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, Sébastien Alix, Weblate, OCA-git-bot, oca-ci, Vincent Van Rossem
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to make it simple to add custom operators for
view inheritance.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (6)
  • apply_inheritance_specs(self, source, specs_tree, pre_locate=<expr>)
    @api.model
  • inheritance_handler_attributes_domain_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="domain_add" condition="$field_condition" join_operator="OR"> $domain_to_add </attribute> </$node>
  • inheritance_handler_attributes_text_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="text_add"> $text_before {old_value} $text_after </attribute> </$node>
  • inheritance_handler_attributes_update(self, source, specs)
    @api.model
    Implement dict `update` operation on the attribute node. .. code-block:: xml <field position="attributes"> <attribute name="context" operation="update"> { "key": "value", } </attribute> </field>
  • str2var_domain_text(self, domain_str)
    @api.model
    Revert var2str_domain_text cleaning apostrophes and suffix in vars
  • var2str_domain_text(self, domain_str)
    @api.model
    Replaces var names with str names to allow eval without defined vars
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/base_view_inheritance_extension
VERSION
VERSION 1.2.2
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSEnric Tobella, sergio-teruel, Weblate, OCA-git-bot, oca-ci, Carlos Serra-Toro, Xavier Brochard, Alessio Renda
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (7)
  • apply_inheritance_specs(self, source, specs_tree, pre_locate=<expr>)
    @api.model
  • inheritance_handler_attributes_attrs_domain_add(self, source, specs)
    @api.model
    Implement attrs_domain_add <attribute name="$attribute" operation="attrs_domain_add" key="$attrs_key" join_operator="OR"> $domain_to_add_to_attrs_key </attribute>
  • inheritance_handler_attributes_domain_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="domain_add" condition="$field_condition" join_operator="OR"> $domain_to_add </attribute> </$node>
  • inheritance_handler_attributes_text_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="text_add"> $text_before {old_value} $text_after </attribute> </$node>
  • inheritance_handler_attributes_update(self, source, specs)
    @api.model
    Implement dict `update` operation on the attribute node. .. code-block:: xml <field position="attributes"> <attribute name="context" operation="update"> { "key": "value", } </attribute> </field>
  • str2var_domain_text(self, domain_str)
    @api.model
    Revert var2str_domain_text cleaning apostrophes and suffix in vars
  • var2str_domain_text(self, domain_str)
    @api.model
    Replaces var names with str names to allow eval without defined vars
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/15.0/base_view_inheritance_extension
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSCarlos Dauden, Ivàn Todorovich, OCA Transbot, sergio-teruel, Sébastien Alix, Weblate, OCA-git-bot, oca-ci, Cesar Andres Sanchez, Laurent Stukkens, Alessio Renda, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:38
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (7)
  • apply_inheritance_specs(self, source, specs_tree, pre_locate=<expr>)
    @api.model
  • inheritance_handler_attributes_attrs_domain_add(self, source, specs)
    @api.model
    Implement attrs_domain_add <attribute name="$attribute" operation="attrs_domain_add" key="$attrs_key" join_operator="OR"> $domain_to_add_to_attrs_key </attribute>
  • inheritance_handler_attributes_domain_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="domain_add" condition="$field_condition" join_operator="OR"> $domain_to_add </attribute> </$node>
  • inheritance_handler_attributes_text_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="text_add"> $text_before {old_value} $text_after </attribute> </$node>
  • inheritance_handler_attributes_update(self, source, specs)
    @api.model
    Implement dict `update` operation on the attribute node. .. code-block:: xml <field position="attributes"> <attribute name="context" operation="update"> { "key": "value", } </attribute> </field>
  • str2var_domain_text(self, domain_str)
    @api.model
    Revert var2str_domain_text cleaning apostrophes and suffix in vars
  • var2str_domain_text(self, domain_str)
    @api.model
    Replaces var names with str names to allow eval without defined vars
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/base_view_inheritance_extension
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSAlexis de Lattre, Ivàn Todorovich, Miquel Raïch, oca-travis, Weblate, OCA-git-bot, Simone Orsi, Alessio Renda
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (8)
  • apply_inheritance_specs(self, source, specs_tree, pre_locate=<expr>)
    @api.model
  • inheritance_handler_attributes_domain_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="domain_add" condition="$field_condition" join_operator="OR"> $domain_to_add </attribute> </$node>
  • inheritance_handler_attributes_list_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
  • inheritance_handler_attributes_text_add(self, source, specs)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="text_add"> $text_before {old_value} $text_after </attribute> </$node>
  • str2var_domain_text(self, domain_str)
    @api.model
    Revert var2str_domain_text cleaning apostrophes and suffix in vars
  • var2str_domain_text(self, domain_str)
    @api.model
    Replaces var names with str names to allow eval without defined vars
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/13.0/base_view_inheritance_extension
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSStefan Rijnhart, GitHub, Carlos Dauden, Carlos Lopez, OCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, oca-ci, Stefan
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_partner_simple_form_2 res.partner field Inherits base.view_partner_form
view_user_simple_form res.users button Inherits base.view_users_form
Models touched (1)

New fields (0)

No new fields.

Public methods (8)
  • apply_inheritance_specs(self, source, specs_tree, inherit_id, pre_locate=<expr>)
    @api.model
  • inheritance_handler_attributes_domain_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="domain_add" condition="$field_condition" join_operator="OR"> $domain_to_add </attribute> </$node>
  • inheritance_handler_attributes_list_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
  • inheritance_handler_attributes_text_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="text_add"> $text_before {old_value} $text_after </attribute> </$node>
  • str2var_domain_text(self, domain_str)
    @api.model
    Revert var2str_domain_text cleaning apostrophes and suffix in vars
  • var2str_domain_text(self, domain_str)
    @api.model
    Replaces var names with str names to allow eval without defined vars
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/12.0/base_view_inheritance_extension
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSAlexis de Lattre, Raphaël Valyi, OCA Transbot, oca-travis, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (4)
  • apply_inheritance_specs(self, source, specs_tree, inherit_id)
    @api.model
  • inheritance_handler_attributes_list_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/11.0/base_view_inheritance_extension
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSPedro M. Baeza, oca-travis, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (5)
  • apply_inheritance_specs(self, source, specs_tree, inherit_id)
    @api.model
  • inheritance_handler_attributes_list_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
  • inheritance_handler_xpath(self, source, specs, inherit_id)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/base_view_inheritance_extension
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSHolger Brunn, Pedro M. Baeza, Sylvain LE GAL, OCA Transbot, oca-travis, remihb
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_simple_form res.partner xpath Inherits base.view_partner_simple_form
Models touched (1)

New fields (0)

No new fields.

Public methods (5)
  • apply_inheritance_specs(self, source, specs_tree, inherit_id)
    @api.model
  • inheritance_handler_attributes_list_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
  • inheritance_handler_xpath(self, source, specs, inherit_id)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/base_view_inheritance_extension
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (1)

New fields (0)

No new fields.

Public methods (5)
  • apply_inheritance_specs(self, source, specs_tree, inherit_id)
    @api.model
  • inheritance_handler_attributes_list_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
  • inheritance_handler_xpath(self, source, specs, inherit_id)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/base_view_inheritance_extension
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSHolger Brunn, Pedro M. Baeza, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_partner_form res.partner xpath Inherits base.view_partner_form
view_partner_form_demo res.partner sheet Inherits base.view_partner_form
Models touched (2)

New fields (1)
  • user_ids Many2many → res.users
    string='Restrict to users' args: 'res.users'
Public methods (6)
  • apply_inheritance_specs(self, source, specs_tree, inherit_id)
    @api.model
  • get_inheriting_views_arch(self, view_id, model)
    @api.model
  • inheritance_handler_attributes_list_add(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_add"> $new_value </attribute> </$node>
  • inheritance_handler_attributes_list_remove(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="list_remove"> $value_to_remove </attribute> </$node>
  • inheritance_handler_attributes_python_dict(self, source, specs, inherit_id)
    @api.model
    Implement <$node position="attributes"> <attribute name="$attribute" operation="python_dict" key="$key"> $keyvalue </attribute> </$node>
  • inheritance_handler_xpath(self, source, specs, inherit_id)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • unlink(self)
    @api.multi
    Finds any views assigned specifically to this user and deletes them.
  • write(self, vals)
    @api.multi
    If a user has been set as inactive then, any views that are assigned to them specifically as set as inactive as well.