Repository
OCA/account-analytic · module folder · Try on Runboat
Module version
1.0.2
Category
Purchases, Accounting
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-analytic
Last tracking update
2026-08-07 08:42:51
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, Ariel Barreiros, christian-ramos-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Automatically assigns analytic distributions to purchase order lines based
on the sale's warehouse.

This module extends analytic distribution models to support warehouse-based
automatic assignment in sale orders. When you create a sale order, the
system automatically applies the appropriate analytic distribution based on
the origin warehouse.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • warehouse_id Many2one → stock.warehouse
    check_company=True comodel_name='stock.warehouse' ondelete='cascade'
Public methods (1)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
17 days ago
Last activity
14 days ago
Repository
OCA/account-analytic
Pull request
[19.0][MIG] sale_analytic_distribution_model_warehouse (#953)