l10n_fr_das2
Automates preparation and filing of the French DAS2 honoraria declaration from Odoo accounting data.
Key Features
- l10n.fr.das2: Creates a yearly DAS2 declaration per company with draft/done states and prevents duplicate years.
- l10n.fr.das2: Defaults the declaration year to the previous year, computes the legal declaration threshold, and preselects relevant payment journals.
- l10n.fr.das2: Validates company country, currency, and mandatory identity data before generating declaration content.
- l10n.fr.das2: Generates DAS2 lines from posted payable move lines in selected payment journals, aggregating partner totals and logging payment details in notes.
- l10n.fr.das2: Warns via chatter when partners have purchases on DAS2-related accounts but are not configured for DAS2.
- l10n.fr.das2: Produces encrypted and unencrypted DAS2 declaration files with pyfrdas2 using company and contact data, attaching the outputs to the declaration.
- l10n.fr.das2: Blocks deletion of completed declarations and allows returning to draft while cleaning attached files.
- l10n.fr.das2.line: Stores amounts by DAS2 categories with allowance and benefits-in-kind flags, computing totals for each supplier.
- l10n.fr.das2.line: Automatically marks lines as declarable when totals meet the yearly threshold and provides summed columns in list views.
- l10n.fr.das2.line: Auto-fills SIRET and profession from the supplier, enforces positive amounts, and validates SIRET format.
- res.partner: Adds DAS2 type and job fields for suppliers plus a search filter to find configured DAS2 partners.