TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
1.3
Category
Productivity/Data Cleaning
Folder size
0.69 MB
License
LGPL-3
Application
Yes
Auto-installable
No
Website
None
Last tracking update
2026-09-28 18:31:21
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Géry Debongnie, Victor Feyens, Julien Mougenot, Tiffany Chang (tic), Gorash, Miquel Raïch, Dylan Kiss (dyki), Michaël Mattiello, Julien Launois (jula), Quentin Colla (qucol), MostafaTwfiq, chpa-odoo, Jean Schoenlaub, Shubh Patel
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 info_outline

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 (4)
  • action_recycle_records(self)
  • open_records(self)
  • refresh_recycle_records(self)
    Refresh recycled records and reopen the Data Recycle view. Preserves the selected search panel filter by passing `recycle_model_id` into the action context.
  • 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 Many2oneReference
    index=True model_field='res_model_name' 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 (3)
  • action_discard(self)
  • action_undiscard(self)
  • action_validate(self)

Loading…

Loading…

Loading…

Loading…