Brazilian Payment Terms on Business Days
l10n_br_account_payment_term_business_day · OCA/l10n-brazil
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
Brazilian taxes are not due on a day the banks do not settle, and the rule differs per tax: some anticipate to the previous banking business day, others postpone to the next one. Getting it wrong costs a fine.
This module adds that direction to the payment term, so the due date already comes out right instead of being corrected by hand on every entry.
The calendar comes from l10n_br_resource, which stacks country, state and municipality
holidays, so a municipal decree that closes the banks in one city is enough to move an
ISS due date there and nowhere else.
Dependencies
- Odoo dependencies
- Python dependencies
- workalendar, email-validator, erpbrasil-base>=2.4.2, num2words, openupgradelib, phonenumbers
- System dependencies
- None
- Required by
- None
- Glue modules
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_payment_term_form |
account.payment.term.form.business.day | account.payment.term | form | Inherits account.view_payment_term_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
business_day_policySelectiondefault='none'help='What to do when the due date falls on a day the banks do not settle. The direction belongs to the tax, not to the supplier: a DARF anticipates and an ICMS payment slip postpones, so each one gets its own payment term.'required=Trueselection=BUSINESS_DAY_POLICIESstring='Business Day' -
holiday_calendar_idMany2one → resource.calendarcomodel_name='resource.calendar'help='Calendar that decides which days the banks are closed. It stacks with its parents, so a municipal calendar already carries the state and national holidays.'string='Holiday Calendar'
No public methods.
No new fields.
Public methods (0)No public methods.