Skip to content

Conversation

@gfcapalbo
Copy link

@thomaspaulb first alpha

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch 2 times, most recently from 5d1cde6 to 9f500af Compare April 13, 2022 12:43
@gfcapalbo
Copy link
Author

@tom all review fixes done and tested , found more needed features:

[ x ] version change
[ x ] removed demo data , not needed
[ x ] groups_id are not required but if fields_ids is set , we add the default res_users
[ x ] checkbox for when we select no "field_ids", to signify we have created a rule for all fields ( readonly compute, just for clarity)
[ x ] onchange: if model_id is changed , we MUST wipe out currently selected field_ids ( very important)
[ x ] create did not work in creating rule , now does
[ x ] refactored as requested
[ x ] domain works even when group is selected , but no fields.

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch 6 times, most recently from 34ad8c5 to 0afd4f6 Compare April 13, 2022 13:47
@gfcapalbo
Copy link
Author

ADDED :
now we manage the case of:
auditlog.rule with permissions, becoming a "normal" rule, we now delete the associated rules.

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch from 5f5af93 to d759205 Compare April 13, 2022 14:40
@gfcapalbo
Copy link
Author

Added:
Now "subscribe" is overwritten to create the action we want. automatic generation of action , works on any model.
removed hardcoded action.

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch from 642e899 to 18b323d Compare April 13, 2022 15:03
@gfcapalbo
Copy link
Author

@tom Needed to add the automatic action as a feature:
The "subscribe" in audit log would create it's own action, after we made the /DATA /DEMO, having the hardcoded res.partner action made no more sense.
It was quick and easy to do.
We can extend it however we want.
"unsubscribe" just deletes the action.

@gfcapalbo
Copy link
Author

removed the "all_fields" boolean , works perfectly without it.

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch from 18b323d to 1401d63 Compare April 13, 2022 15:16
@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch from 1401d63 to 3e7e4cd Compare April 13, 2022 15:17
@gfcapalbo
Copy link
Author

@thomaspaulb

@gfcapalbo
Copy link
Author

@thomaspaulb reminder for final approval.

@thomaspaulb
Copy link
Member

thomaspaulb commented May 2, 2022 via email

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch from 017e648 to 82e6001 Compare May 6, 2022 15:44
@gfcapalbo
Copy link
Author

@thomaspaulb added a video showing it working on issue tracker, and added some small cleanups this morning.
Ready for review, all errors/comments addressed except that 1 on security, where I explain the sense of it.

@gfcapalbo
Copy link
Author

@thomaspaulb

  • [ x ] fixed the breaking typo
  • [ x ] removed useless XMLID change in "auditlog" module
  • [ x ] subscribe does not delete original action, just adds new one.
  • [ x ] rebuilt README

@gfcapalbo
Copy link
Author

@thomaspaulb i don;t understand how was the CSV import removed , testing for regressions.

@gfcapalbo gfcapalbo force-pushed the 11.0-auditlog_extension branch from b54bab8 to aded99e Compare June 1, 2022 13:22
@gfcapalbo
Copy link
Author

@thomaspaulb
Re-checked all open issues. rebased, only 2 commits now.

@thomaspaulb
Copy link
Member

Closed in favour of Therp#1

(I can push there too)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants