l10n_br_sped_base
This module provides base abstractions and mixins for Brazilian SPED (Sistema Público de Escrituração Digital) modules in Odoo, enabling the creation, management, and export of SPED declarations by mapping Odoo data to SPED records.
Key Features
- l10n_br_sped.mixin: Base class for all SPED registers with automatic views, import/export methods, and Odoo record mapping.
- l10n_br_sped.declaration: Abstract model for SPED declarations with date ranges, state management, and file generation.
- res.partner: Extends partner model with accountant-related fields like is_accountant, crc_code, and crc_state_id.
- sped: Automatic view generation for SPED registers including tree and form views.
- sped: Methods for importing SPED files and reading register lines from text.
- sped: Functionality to pull and map Odoo records to SPED registers recursively.
- sped: Support for generating and splitting SPED text files by blocks.
- sped: Chatter integration for logging SPED operations and record counts.