TIP: You can type at any time to perform a new search.
L10n Br Account Withholding
l10n_br_account_withholding · OCA/l10n-brazil
- Repository
- OCA/l10n-brazil · module folder · Try on Runboat
- Module version
- 3.0.0
- Category
- Uncategorized
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-brazil
- Last tracking update
- 2026-08-07 08:09:13
- Authors
- Akretion, Odoo Community Association (OCA), Escodoo
- Maintainers
- Akretion, Odoo Community Association (OCA), Escodoo
- Committers
- Raphaël Valyi, OCA-git-bot, oca-ci, Antonio Neto, Antônio Neto
- Odoo dependencies
- Python dependencies
- erpbrasil.base, email-validator, num2words, phonenumbers
- System dependencies
- None
- Required by
- None
- Description
Automatize a conformidade fiscal brasileira, simplificando a criação de faturas a pagar para impostos retidos em compras de fornecedores. Garanta a precisão e eficiência no gerenciamento de obrigações fiscais com o módulo `l10n_br_account_withholding` para Odoo.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view |
account.move | form | Inherits l10n_br_account.invoice_form | |
l10n_br_fiscal_tax_group_form_view |
l10n_br_fiscal.tax.group | form | Inherits l10n_br_fiscal.tax_group_form | |
l10n_br_fiscal_tax_group_search_view |
l10n_br_fiscal.tax.group | search | Inherits l10n_br_fiscal.tax_group_search | |
l10n_br_fiscal_tax_group_tree_view |
l10n_br_fiscal.tax.group | tree | Inherits l10n_br_fiscal.tax_group_tree | |
partner_form_view |
l10n_br_fiscal.partner.form (in l10n_br_account_withholding) | res.partner | form | Inherits l10n_br_base.l10n_br_base_partner_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
wh_invoice_countIntegercompute='_compute_wh_invoice_ids'readonly=Truestring='WH Invoice Count' -
wh_invoice_idsMany2many → account.movecomodel_name='account.move'compute='_compute_wh_invoice_ids'copy=Falsereadonly=Truestring='WH Invoices'
-
action_view_wh_invoice(self)Open the view for withholding invoices associated with the current record. Map 'wh_invoice_ids' to retrieve the related invoices. Prepare and return an action dict to open the invoice view. If no invoices are found, return an action to close the window. :return: A dictionary with action details to open related invoices or close the window. -
button_draft(self) -
create_wh_invoices(self)Create withholding tax invoices for applicable lines in the move. Iterate over each move in the recordset. For each tax line in the move that matches the criteria, create a withholding tax invoice if the line belongs to a supplier invoice and is associated with a tax that requires withholding. Prepare and post these invoices. :return: None. Generate withholding tax invoices and post them.
New fields (1)
-
wh_move_line_idMany2one → account.move.linecomodel_name='account.move.line'ondelete='restrict'string='WH Account Move Line'
-
write(self, values)
New fields (3)
-
generate_wh_invoiceBooleancompany_dependent=Truedefault=Falsestring='Generate WH Invoice' -
journal_idMany2one → account.journalcomodel_name='account.journal'company_dependent=Truedomain="[('type', '=', 'purchase')]"string='Account Journal' -
wh_payable_account_idMany2one → account.accountcomodel_name='account.account'company_dependent=Truedomain="[('account_type', 'in', ('asset_receivable', 'liability_payable'))]"help='Special account payable for withholding invoices'string='WH Payable Account'
No public methods.
New fields (1)
-
wh_cityhallBooleandefault=Falsestring='Is City Hall?'
No public methods.
Loading…
Loading…