Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TA#72088 [16.0][MIG] base_view_mode_restricted #223

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from

Conversation

lanto-razafindrabe
Copy link
Contributor

No description provided.

@lanto-razafindrabe lanto-razafindrabe requested review from abenzbiria and majouda and removed request for abenzbiria and majouda January 22, 2025 05:19
@lanto-razafindrabe lanto-razafindrabe marked this pull request as draft January 22, 2025 05:20
@lanto-razafindrabe lanto-razafindrabe marked this pull request as ready for review January 22, 2025 06:44
action_id = fields.Many2one(
"ir.actions.act_window",
required=True,
index=True,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lanto-razafindrabe
Add ondelete='cascade' here

"action_id",
)

def _compute_views(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lanto-razafindrabe it will be preferable to add original depends to this method

@api.depends('view_ids.view_mode', 'view_mode', 'view_id.type')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants