Brazilian Localization Sale Blanket Order
l10n_br_sale_blanket_order · OCA/l10n-brazil
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
4 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.22 MB
Module directory on disk
Code analysis
0 migration notes
3 models
2 views
0 HTTP endpoints
Description
This module extends the Odoo Sale Blanket Order module to adapt it to the Brazilian needs, with this module you have tax data for collection and generation of fiscal documents (NF-e, NFS-e, CF-e, NFC-e and others), calculation Brazilian taxes and contributions (municipal, state and federal).
Dependencies
- Odoo dependencies
- Python dependencies
- erpbrasil-base>=2.4.2, email-validator, num2words, phonenumbers
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
inherit_sale_blanket_order_line_form_fiscal_tabs |
sale.blanket.order.line.form.fiscal.inherit | sale.blanket.order.line | form | Inherits sale_blanket_order.sale_blanket_order_line_form |
sale_blanket_order_form_view |
sale.blanket.order.form (in l10n_br_sale_blanket_order) | sale.blanket.order | form | Inherits sale_blanket_order.view_blanket_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (8)
-
cnpj_cpfCharrelated='partner_id.vat'string='CNPJ/CPF' -
comment_idsMany2many → l10n_br_fiscal.commentcolumn1='sale_blanket_order_id'column2='comment_id'comodel_name='l10n_br_fiscal.comment'relation='sale_blanket_order_comment_rel'string='Comments' -
copy_noteBooleandefault=_default_copy_notestring='Copy Sale note on invoice' -
fiscal_operation_idMany2one → l10n_br_fiscal.operationcomodel_name='l10n_br_fiscal.operation'default=_default_fiscal_operationdomain=<expr>readonly=True -
ind_presSelectionreadonly=True -
l10n_br_ie_codeCharrelated='partner_id.l10n_br_ie_code'string='State Tax Number/RG' -
legal_nameCharrelated='partner_id.legal_name'string='Legal Name' -
operation_nameCharcopy=False
No public methods.
New fields (15)
-
cnae_idMany2one → l10n_br_fiscal.cnaecomodel_name='l10n_br_fiscal.cnae'domain=<expr>string='CNAE Code' -
comment_idsMany2many → l10n_br_fiscal.commentcolumn1='sale_blanket_order_line_id'column2='comment_id'comodel_name='l10n_br_fiscal.comment'relation='sale_blanket_order_line_comment_rel'string='Comments' -
country_idMany2onerelated='company_id.country_id'store=True -
fiscal_operation_idMany2one → l10n_br_fiscal.operationcomodel_name='l10n_br_fiscal.operation'domain=<expr> -
fiscal_operation_line_idMany2one → l10n_br_fiscal.operation.linecomodel_name='l10n_br_fiscal.operation.line'domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"string='Operation Line' -
fiscal_qty_deliveredFloatrelated='delivered_uom_qty'string='Fiscal Utm Qty Delivered' -
fiscal_tax_idsMany2many → l10n_br_fiscal.taxcolumn1='document_id'column2='fiscal_tax_id'comodel_name='l10n_br_fiscal.tax'relation='fiscal_sale_blanket_order_line_tax_rel'string='Fiscal Taxes' -
partner_idMany2one → res.partnercomodel_name='res.partner'related='order_id.partner_id'string='Partner' -
price_grossMonetarycompute='_compute_amount'compute_sudo=Truestore=Truestring='Gross Amount' -
price_subtotalMonetarycompute_sudo=True -
price_taxMonetarycompute_sudo=True -
price_totalMonetarycompute_sudo=True -
quantityFloatrelated='original_uom_qty'string='Product Uom Quantity' -
tax_frameworkSelectionrelated='order_id.company_id.tax_framework'string='Tax Framework' -
uom_idMany2onerelated='product_uom'
-
create(self, vals_list)@api.model_create_multi -
onchange_product(self)@api.onchange('product_id', 'original_uom_qty')OCA onchange_product sets taxes_id from product.taxes_id (empty on BR). Re-sync like l10n_br_purchase / purchase_request after the OCA onchange. -
write(self, vals)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…