Skip to content

Commit

Permalink
endpoint_*: fix mixin view override
Browse files Browse the repository at this point in the history
Followup of #56
The view must be registered for the mixin model otherwise it won't be taken into account.
I've probably left this change in a stashed version :(
  • Loading branch information
simahawk committed Aug 8, 2024
1 parent 8dc6cbd commit cb52684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion endpoint_auth_api_key/views/endpoint_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<odoo>

<record model="ir.ui.view" id="endpoint_mixin_form_view">
<field name="model">endpoint.endpoint</field>
<field name="model">endpoint.mixin</field>
<field name="inherit_id" ref="endpoint.endpoint_mixin_form_view" />
<field name="arch" type="xml">
<group name="auth" position="inside">
Expand Down
2 changes: 1 addition & 1 deletion endpoint_cache/views/endpoint_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<odoo>

<record model="ir.ui.view" id="endpoint_mixin_form_view">
<field name="model">endpoint.endpoint</field>
<field name="model">endpoint.mixin</field>
<field name="inherit_id" ref="endpoint.endpoint_mixin_form_view" />
<field name="arch" type="xml">
<notebook>
Expand Down

0 comments on commit cb52684

Please sign in to comment.