TIP: You can type at any time to perform a new search.
Sale Order Change Analytic Account
sale_order_change_analytic_account · OCA/sale-workflow
- 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
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2oneondelete='cascade'readonly=Truerelated='sale_id.analytic_account_id' -
new_analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'ondelete='cascade'required=Truestring='New Analytic Account' -
sale_idMany2one → sale.ordercomodel_name='sale.order'domain=[('state', '=', 'sale')]ondelete='cascade'readonly=Truerequired=Truestring='Sale order'
-
action_update(self)Action to update the analytic account on target sale order :return: dict/action -
default_get(self, fields_list)@api.modelInherit to auto fill the sale_id depending on the context :param fields_list: list of str :return: dict