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.
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.
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.