Repository
odoo/odoo · module folder
Module version
1.0
Category
Hidden
Folder size
0.13 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-07 06:46:57
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Xavier Morel, Raphael Collet, Aaron Bohy, Lucas Perais (lpe), Lucas Perais, Julien Castiaux, Xavier-Do, Julien Mougenot, Gorash, Mathieu Duckerts-Antoine, William Braeckman, luvi, Valentin Chevalier, Levi Siuzdak (sile), Bruno Boi, Bruno Boi (boi), Lopes Marc (loma), Pierre Pulinckx (PIPU), Pierre Pulinckx, Bastien PIERRE, Michaël Mattiello, Corentin Heinix (cohe), Krzysztof Magusiak (krma), Ayush Modi, Bruno BOI
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module contains tests related to base automation. Those are
present in a separate module as it contains models used only to perform
tests independently to functional aspects of other models.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (12)

New fields (13)
  • active Boolean
    default=True
  • date_automation_last Datetime
    readonly=True string='Last Automation'
  • deadline Boolean
    compute='_compute_employee_deadline' store=True
  • employee Boolean
    compute='_compute_employee_deadline' store=True
  • is_assigned_to_admin Boolean
    string='Assigned to admin user'
  • line_ids One2many → base.automation.line.test
    args: 'base.automation.line.test', 'lead_id'
  • name Char
    required=True string='Subject'
  • partner_id Many2one → res.partner
    string='Partner' args: 'res.partner'
  • priority Boolean
  • stage_id Many2one → test_base_automation.stage
    compute='_compute_stage_id' readonly=False store=True string='Stage' args: 'test_base_automation.stage'
  • state Selection
    default='draft' readonly=True string='Status' args: [('draft', 'New'), ('cancel', 'Cancelled'), ('open', 'In Progress'), ('pending', 'Pending'), ('done', 'Closed')]
  • tag_ids Many2many → test_base_automation.tag
    args: 'test_base_automation.tag'
  • user_id Many2one → res.users
    string='Responsible' args: 'res.users'
Public methods (1)
  • write(self, vals)

New fields (1)
  • user_id Many2one → res.users
    args: 'res.users'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • lead_id Many2one → base.automation.lead.test
    ondelete='cascade' args: 'base.automation.lead.test'
  • name Char
  • user_id Many2one → res.users
    args: 'res.users'
Public methods (0)

No public methods.

New fields (2)
  • linked_id Many2one → base.automation.linked.test
    ondelete='cascade' args: 'base.automation.linked.test'
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • another_field Char
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • description Char
  • user_id Many2one → res.users
    string='Responsible' args: 'res.users'
Public methods (0)

No public methods.

New fields (1)
  • user_id Many2one → base.automation.model.with.recname.char
    string='Responsible' args: 'base.automation.model.with.recname.char'
Public methods (1)
  • name_create(self, name)
    @api.model

New fields (6)
  • name Char
  • priority Selection
    default='1' args: [('0', 'Low'), ('1', 'Normal'), ('2', 'High')]
  • stage_id Many2one → test_base_automation.stage
    args: 'test_base_automation.stage'
  • tag_ids Many2many → test_base_automation.tag
    args: 'test_base_automation.tag'
  • task_ids One2many → test_base_automation.task
    args: 'test_base_automation.task', 'project_id'
  • user_ids Many2many → res.users
    args: 'res.users'
Public methods (0)

No public methods.

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (7)
  • allocated_hours Float
  • effective_hours Float
    compute='_compute_effective_hours' compute_sudo=True store=True args: 'Time Spent'
  • name Char
  • parent_id Many2one → test_base_automation.task
    args: 'test_base_automation.task'
  • project_id Many2one → test_base_automation.project
    compute='_compute_project_id' readonly=False recursive=True store=True args: 'test_base_automation.project'
  • remaining_hours Float
    compute='_compute_remaining_hours' help='Number of allocated hours minus the number of hours spent.' readonly=True store=True args: 'Time Remaining'
  • trigger_hours Float
    args: 'Save time to trigger effective hours'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…