-
Notifications
You must be signed in to change notification settings - Fork 0
[11.0][ADD] auditlog_security #1
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
base: 11.0
Are you sure you want to change the base?
Conversation
|
@thomaspaulb linted XML and added many2many_tags widget to the fields in treeview. |
|
@KKamaa TODO here:
|
eab1c5f to
57cb6b0
Compare
57cb6b0 to
42a3b7e
Compare
| # return with context key so that deletion will not be forbidden | ||
| return self.env["ir.rule"].search( | ||
| [("auditlog_line_access_rule_id", "in", self.ids)] | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH why is this a function, we could just make it into a One2many field definition of ir_rule_ids ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this more, this is the access for 1 rule the function is readable. leaving pending.
…s are unlinked When a field or a model is unlinked, keep the related audit logs. Denormalize the field and model info on the logs and log lines so that the information is still available after the deletion of the related data model. Also, to improve the performance of the deletion of fields and models, add indexes on the log's model_id and log line's field_id. Co-Authored-By: Stefan Rijnhart <stefan@opener.am>
…r fields are unlinked
d968cf6 to
92b0afb
Compare
c533770 to
c3fb342
Compare
e447224 to
d031f6a
Compare
|
@thomaspaulb I have implemented what we discussed. |
4885b60 to
b09f5b8
Compare
…e number of logged fields
…o reduce number of logged fields
…thods to reduce number of logged fields
… and methods to reduce number of logged fields
…ssions, and methods to reduce number of logged fields
No description provided.