Repository
odoo/odoo · module folder
Module version
1.3
Category
Productivity/Data Cleaning
Folder size
0.67 MB
License
LGPL-3
Application
Yes
Auto-installable
No
Website
None
Last tracking update
2026-08-08 22:45:29
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Julien Castiaux, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, Pierre Paridans, William Braeckman, luvi, Louis Wicket (wil), Victor Piryns (pivi), Dylan Kiss (dyki), kmod-odoo, Krzysztof Magusiak (krma), Quentin Colla (qucol), chpa-odoo
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
Find old records and archive/delete them

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
notification notification ir.ui.view qweb New
view_data_merge_model_form Field Recyle Model Form data_recycle.model form New
view_data_recycle_model_list Field Recyle Model List data_recycle.model list New
view_data_recycle_record_list Field Recycle Record List data_recycle.record list New
view_data_recycle_record_search Field Recycle Record Search data_recycle.record search New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (17)
  • active Boolean
    default=True
  • domain Char
    compute='_compute_domain' readonly=False store=True string='Filter'
  • include_archived Boolean
  • last_notification Datetime
    readonly=True
  • name Char
    compute='_compute_name' copy=True readonly=False required=True store=True string='Name'
  • notify_frequency Integer
    default=1 string='Notify'
  • notify_frequency_period Selection
    default='weeks' string='Notify Frequency Period' args: [('days', 'Days'), ('weeks', 'Weeks'), ('months', 'Months')]
  • notify_user_ids Many2many → res.users
    default=<expr> domain=<expr> help='List of users to notify when there are new records to recycle' string='Notify Users' args: 'res.users'
  • records_to_recycle_count Integer
    compute='_compute_records_to_recycle_count' args: 'Records To Recycle'
  • recycle_action Selection
    default='unlink' required=True string='Recycle Action' args: [('archive', 'Archive'), ('unlink', 'Delete')]
  • recycle_mode Selection
    default='manual' required=True string='Recycle Mode' args: [('manual', 'Manual'), ('automatic', 'Automatic')]
  • recycle_record_ids One2many → data_recycle.record
    args: 'data_recycle.record', 'recycle_model_id'
  • res_model_id Many2one → ir.model
    ondelete='cascade' required=True string='Model' args: 'ir.model'
  • res_model_name Char
    readonly=True related='res_model_id.model' store=True string='Model Name'
  • time_field_delta Integer
    default=1 string='Delta'
  • time_field_delta_unit Selection
    default='months' string='Delta Unit' args: [('days', 'Days'), ('weeks', 'Weeks'), ('months', 'Months'), ('years', 'Years')]
  • time_field_id Many2one → ir.model.fields
    domain="[('model_id', '=', res_model_id), ('ttype', 'in', ('date', 'datetime')), ('store', '=', True)]" ondelete='cascade' string='Time Field' args: 'ir.model.fields'
Public methods (3)
  • action_recycle_records(self)
  • open_records(self)
  • write(self, vals)

New fields (7)
  • active Boolean
    default=True args: 'Active'
  • company_id Many2one → res.company
    compute='_compute_company_id' store=True args: 'res.company'
  • name Char
    compute='_compute_name' compute_sudo=True args: 'Record Name'
  • recycle_model_id Many2one → data_recycle.model
    index='btree_not_null' ondelete='cascade' string='Recycle Model' args: 'data_recycle.model'
  • res_id Integer
    aggregator=None index=True args: 'Record ID'
  • res_model_id Many2one
    readonly=True related='recycle_model_id.res_model_id' store=True
  • res_model_name Char
    readonly=True related='recycle_model_id.res_model_name' store=True
Public methods (2)
  • action_discard(self)
  • action_validate(self)

Loading…

Loading…

Loading…