odoo/industry#1546

Created by Amardeep Sharma (amas)

Blocked

label
odoo-dev:19.0-excise-management-handle-warehouse-license-amas
head
f472a8f94ec260596f93820bb7739d7822526dd4
odoo/industry
19.0 #1546 missing r+
saas-19.1
master

[IMP] excise_management: Support warehouse excise licenses and reporting

[IMP] excise_management: Handle warehouse license & reporting by excise license
- Add Excise License on warehouse and expose license in Inventory configuration.
- Add Excise License field on excise reports, displayed above the period.
- Generate excise reports per license (single report without license if
none exist).
- Remove Excise pivot report, as aggregation is not meaningful in this context.
- Remove deprecated fields from stock.move: x_fiscal_deposit_move
- Centralize excise report line computation logic:
- Determine entry / entry fd / exit / exit fd / transfer / none
- Handle fiscal deposit context in one place.
- Improve report usability:
- Add Moves button on excise report lines, opening the related stock moves
with the line.
- Style move type (entry/exit/transfer, FD or not) on report lines.
- When opening moves from the report, apply contextual color styling to
indicate whether quantities and amounts enter, leave, or circulate between
license warehouses based on the active excise license context.

Tests have been updated accordingly: the former test coverage around the removed
x_fiscal_deposit_move field has been adapted to validate the new logic
implemented in the server action handling excise move categorization.

Task ID: 5383768