Test - Base Automation

test_base_automation
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/test_base_automation
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSRaphael Collet, Xavier Morel, 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), Michaël Mattiello, Pierre Pulinckx, Bastien PIERRE, Corentin Heinix (cohe), Krzysztof Magusiak (krma), Ayush Modi, Bruno BOI
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_automation
    - base
    - digest
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - portal
    - http_routing
    - auth_signup
    - resource
    - sms
    - iap_mail
    - iap
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

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.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/test_base_automation
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Xavier Morel, Aaron Bohy, Lucas Perais (lpe), Lucas Perais, Xavier-Do, Julien Mougenot, Achraf (abz), Rémy Voet (ryv), Abdelouahab (abla), Valentin Chevalier, Levi Siuzdak (sile), Bruno Boi, Mattis Megevand (mmeg), omra-odoo, Bruno Boi (boi), Bastien Fafchamps (bafa), Lopes Marc (loma), Pierre Pulinckx (PIPU), Pierre Pulinckx (pipu), Bastien PIERRE, Corentin Heinix (cohe), Bruno BOI, saurabh
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_automation
    - base
    - digest
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - sms
    - iap_mail
    - iap
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Models touched (8)

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 (0)

No new fields.

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)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/test_base_automation
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Martin Trigaux, Thibault Delavallée, Aaron Bohy, Damien Bouvy, Lucas Perais, Xavier-Do, Achraf (abz), Abdelouahab (abla), Hubert Van De Walle, Valentin Chevalier, Levi Siuzdak (sile), Bruno Boi, Mattis Megevand (mmeg), Bruno Boi (boi), Corentin Heinix (cohe)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_automation
    - base
    - resource
    - web
    - mail
    - base_setup
    - bus
    - web_tour
    - sms
    - iap_mail
    - iap
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Models touched (9)

New fields (12)
  • 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')]
  • user_id Many2one → res.users
    string='Responsible' args: 'res.users'
Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

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)

New fields (8)
  • 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'
  • state Boolean
    tracking=True
  • trigger_hours Float
    args: 'Save time to trigger effective hours'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/test_base_automation
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Fabien Pinckaers, Thibault Delavallée, Xavier-Do, Victor Feyens
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_automation
    - base
    - resource
    - web
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Models touched (4)

New fields (11)
  • active Boolean
    default=True
  • date_action_last Datetime
    readonly=True string='Last Action'
  • 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
  • state Selection
    default='draft' readonly=True string='Status' args: [('draft', 'New'), ('cancel', 'Cancelled'), ('open', 'In Progress'), ('pending', 'Pending'), ('done', 'Closed')]
  • user_id Many2one → res.users
    string='Responsible' args: 'res.users'
Public methods (1)
  • write(self, vals)

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.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/test_base_automation
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Martin Trigaux, Xavier Morel, Xavier-Do
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_automation
    - base
    - resource
    - web
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Models touched (4)

New fields (11)
  • active Boolean
    default=True
  • date_action_last Datetime
    readonly=True string='Last Action'
  • 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
    index=True required=True string='Subject'
  • partner_id Many2one → res.partner
    string='Partner' args: 'res.partner'
  • priority Boolean
  • state Selection
    default='draft' readonly=True string='Status' args: [('draft', 'New'), ('cancel', 'Cancelled'), ('open', 'In Progress'), ('pending', 'Pending'), ('done', 'Closed')]
  • user_id Many2one → res.users
    string='Responsible' args: 'res.users'
Public methods (1)
  • write(self, vals)

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.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/test_base_automation
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Martin Trigaux, Xavier Morel, Yannick Tivisse, Xavier-Do
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_automation
    - base
    - resource
    - web
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Models touched (4)

New fields (11)
  • active Boolean
    default=True
  • date_action_last Datetime
    readonly=True string='Last Action'
  • 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
    index=True required=True string='Subject'
  • partner_id Many2one → res.partner
    string='Partner' args: 'res.partner'
  • priority Boolean
  • state Selection
    default='draft' readonly=True string='Status' args: [('draft', 'New'), ('cancel', 'Cancelled'), ('open', 'In Progress'), ('pending', 'Pending'), ('done', 'Closed')]
  • user_id Many2one → res.users
    string='Responsible' args: 'res.users'
Public methods (1)
  • write(self, vals)

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.