Repair Order Template

repair_order_template
REPOSITORY
REPOSITORYOCA/repair
GIT
GIThttps://github.com/OCA/repair.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/repair/tree/18.0/repair_order_template
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYRepair
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Iván Todorovich, oca-ci, ilo
WEBSITE
WEBSITEhttps://github.com/OCA/repair
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - repair
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Create and use templates to save time when creating repair orders.
With them, you can pre-fill the repair order fields and spare parts.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_repair_order_form repair.order xpath Inherits repair.view_repair_order_form
view_repair_order_template_form repair.order.template form New
view_repair_order_template_search repair.order.template search New
view_repair_order_template_tree repair.order.template list New
Models touched (3)

New fields (1)
  • repair_order_template_id Many2one → repair.order.template
    check_company=True comodel_name='repair.order.template' help='Use templates to save time when creating repair orders.' string='Order Template'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • internal_notes Html
  • line_ids One2many → repair.order.template.line
    check_company=True comodel_name='repair.order.template.line' inverse_name='template_id'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    check_company=True domain=[('type', '=', 'consu')] string='Product to Repair' args: 'product.product'
  • tag_ids Many2many → repair.tags
    string='Tags' args: 'repair.tags'
  • under_warranty Boolean
Public methods (0)

No public methods.

New fields (7)
  • company_id Many2one
    related='template_id.company_id' store=True
  • product_id Many2one → product.product
    check_company=True domain=[('type', '=', 'consu')] required=True string='Product' args: 'product.product'
  • product_uom Many2one → uom.uom
    compute='_compute_product_uom' domain="[('category_id', '=', product_uom_category_id)]" readonly=False required=True store=True string='Unit of Measure' args: 'uom.uom'
  • product_uom_category_id Many2one
    related='product_id.uom_id.category_id'
  • product_uom_qty Float
    default=1.0 digits='Product Unit of Measure' required=True args: 'Quantity'
  • template_id Many2one → repair.order.template
    ondelete='cascade' readonly=True required=True args: 'repair.order.template'
  • type Selection
    required=True selection=<expr>
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/repair
GIT
GIThttps://github.com/OCA/repair.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/repair/tree/17.0/repair_order_template
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYRepair
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Iván Todorovich, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/repair
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - repair
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Create and use templates to save time when creating repair orders.
With them, you can pre-fill the repair order fields and spare parts.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_repair_order_form repair.order xpath Inherits repair.view_repair_order_form
view_repair_order_template_form repair.order.template form New
view_repair_order_template_search repair.order.template search New
view_repair_order_template_tree repair.order.template tree New
Models touched (3)

New fields (1)
  • repair_order_template_id Many2one → repair.order.template
    check_company=True comodel_name='repair.order.template' help='Use templates to save time when creating repair orders.' string='Order Template'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • internal_notes Html
  • line_ids One2many → repair.order.template.line
    check_company=True comodel_name='repair.order.template.line' inverse_name='template_id'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    check_company=True domain="\n [\n ('type', 'in', ['product', 'consu']),\n ('company_id', 'in', [False, company_id])\n ]\n " string='Product to Repair' args: 'product.product'
  • tag_ids Many2many → repair.tags
    string='Tags' args: 'repair.tags'
  • under_warranty Boolean
Public methods (0)

No public methods.

New fields (7)
  • company_id Many2one
    related='template_id.company_id' store=True
  • product_id Many2one → product.product
    check_company=True domain="\n [\n ('type', 'in', ['product', 'consu']),\n ('company_id', 'in', [False, company_id])\n ]\n " required=True string='Product' args: 'product.product'
  • product_uom Many2one → uom.uom
    compute='_compute_product_uom' domain="[('category_id', '=', product_uom_category_id)]" readonly=False required=True store=True string='Unit of Measure' args: 'uom.uom'
  • product_uom_category_id Many2one
    related='product_id.uom_id.category_id'
  • product_uom_qty Float
    default=1.0 digits='Product Unit of Measure' required=True args: 'Quantity'
  • template_id Many2one → repair.order.template
    ondelete='cascade' readonly=True required=True args: 'repair.order.template'
  • type Selection
    required=True selection=<expr>
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/repair
PULL REQUEST
PULL REQUEST[MIG] repair_order_template: Migration to 19.0 (#171)