Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 07:47:30
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
sbejaoui, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_change_analytic_wizard_form sale.order.change.analytic form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_open_sale_order_change_analytic_wizard(self)

New fields (3)
  • current_analytic_account_id Many2one
    ondelete='cascade' readonly=True related='sale_id.analytic_account_id'
  • new_analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' ondelete='cascade' required=True string='New Analytic Account'
  • sale_id Many2one → sale.order
    comodel_name='sale.order' domain=[('state', '=', 'sale')] ondelete='cascade' readonly=True required=True string='Sale order'
Public methods (2)
  • action_update(self)
    Action to update the analytic account on target sale order :return: dict/action
  • default_get(self, fields_list)
    @api.model
    Inherit to auto fill the sale_id depending on the context :param fields_list: list of str :return: dict