Data Recycle - Odoo 20 Community Book

Finding and Deciding

The Example Data

The pictures use two old meetings: Old showroom visit (sample), on Jan 12, and Old supplier call (sample), on Feb 5. Both are far in the past, with the Administrator as the guest. They are the "old data" of this chapter.

Run Now

Click Run Now on the form. Odoo looks for the matching records at once and opens the list of the suggestions. It shows the two meetings with their Record ID and Record Name. At the left, a panel Recycle Rules lists All and each rule with a click to filter. Each line ends with two links: Validate and Archive Suggestion.

odoo Development

Without Run Now the list fills by itself at night (section 3).

Validate and Archive Suggestion

Validate. Does the action of the rule on the record: here it archives the meeting. We clicked Validate on Old supplier call (sample). The line leaves the list, the meeting is archived (it is not active any more) and its suggestion is gone. With the action Delete the same click removes the record for good.

odoo Development

Archive Suggestion. The word Archive is confusing here. It does not touch the meeting. It archives the suggestion: it hides it from the list, and the app will not suggest this record again. We clicked it on Old showroom visit (sample). The meeting is still active.

odoo Development

To see the hidden suggestions, open the search menu. It has the filter Archived, the group by Custom Group and Favorites. The filter Archived shows our meeting with a link Unarchive Suggestion, which brings the suggestion back.

odoo Development odoo Development

Use Archive Suggestion for a record that you want to keep, and Validate for a record that you want to clean.

WhatsApp