Brazilian Localization Account Product: 9.0 → 10.0
l10n_br_account_product · OCA · what changed between two Odoo versions of this module, from the stored manifest and static code analysis (models, views and routes in Dev mode).
Dependencies
+3 / −1
Direct Odoo
depends Models
18
Added, removed or changed
Views
+5 / −5 / ~0
Added / removed / changed
HTTP routes
+0 / −0 / ~0
Added / removed / changed
Security findings
1/0 → 1/0
Grave / minor (static analysis)
Manifest
- Module version
- 3.0.0 → 1.0.0
- Installable
false→ true
Dependencies
- Odoo modules
- + account_payment_mode+ account_payment_partner+ l10n_br_account − l10n_br_data_account
Models 18
account.fiscal.position
changed
Public methods
- ~
map_tax(self, taxes)→ (self, taxes, product=None, partner=None) - ~
map_tax_code(self, product_id, taxes=None)→ (self, taxes, product=None, partner=None)
account.fiscal.position.tax
changed
Fields
- +
cst_idMany2one → l10n_br_account_product.cst
account.fiscal.position.tax.template
changed
Fields
- +
cst_idMany2one → l10n_br_account_product.cst
account.invoice
changed
Fields
- +
fiscal_numberChar - +
type_nf_paymentSelection - −
internal_numberChar
- +
action_invoice_draft(self) - +
action_invoice_open(self) - +
action_sefaz_open(self) - +
get_taxes_values(self) - +
invoice_sefaz_export(self) - +
onchange_payment_mode(self) - −
action_cancel_draft(self) - −
button_reset_taxes(self) - −
onchange_fiscal(self) - −
onchange_fiscal_document_id(self) - −
onchange_type(self) - ~
nfe_check(self, cr, uid, ids, context=None)→ (self)
account.invoice.line
changed
Fields
- +
fiscal_position_idMany2one → account.fiscal.position - −
fiscal_positionMany2one → account.fiscal.position - ~
cofins_cst_idMany2one → account.tax.code→ Many2one → l10n_br_account_product.cst - ~
icms_cst_idMany2one → account.tax.code→ Many2one → l10n_br_account_product.cst - ~
ipi_cst_idMany2one → account.tax.code→ Many2one → l10n_br_account_product.cst - ~
pis_cst_idMany2one → account.tax.code→ Many2one → l10n_br_account_product.cst
- −
create(self, vals) - −
fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False) - −
onchange_fiscal(self) - −
onchange_tax_cofins(self, cofins_st_type, cofins_st_base, cofins_st_percent, cofins_st_value, price_unit, discount, insurance_value, freight_value, other_costs_value) - −
onchange_tax_cofins_st(self, cofins_st_type, cofins_st_base, cofins_st_percent, cofins_st_value, price_unit, discount, insurance_value, freight_value, other_costs_value) - −
onchange_tax_icms(self, icms_base_type, icms_base, icms_base_other, icms_value, icms_percent, icms_percent_reduction, icms_cst_id, price_unit, discount, quantity, partner_id, product_id, fiscal_position_id, insurance_value, freight_value, other_costs_value, invoice_line_tax_id) - −
onchange_tax_icms_st(self, icms_st_base_type, icms_st_base, icms_st_percent, icms_st_percent_reduction, icms_st_mva, icms_st_base_other, price_unit, discount, insurance_value, freight_value, other_costs_value) - −
onchange_tax_ipi(self, ipi_type, ipi_base, ipi_base_other, ipi_value, ipi_percent, ipi_cst_id, price_unit, discount, insurance_value, freight_value, other_costs_value) - −
onchange_tax_pis(self, pis_type, pis_base, pis_base_other, pis_value, pis_percent, pis_cst_id, price_unit, discount, insurance_value, freight_value, other_costs_value) - −
onchange_tax_pis_st(self, pis_st_type, pis_st_base, pis_st_percent, pis_st_value, price_unit, discount, insurance_value, freight_value, other_costs_value) - −
product_id_change(self, product, uom_id, qty=0, name='', type='out_invoice', partner_id=False, fposition_id=False, price_unit=False, currency_id=False, company_id=None) - −
update_invoice_line_tax_id(self, tax_id, taxes, domain)
account.invoice.refund
changed
Public methods
- ~
fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)→ (self, view_id=None, view_type='form', toolbar=False, submenu=False)
account.invoice.tax
removed
Public methods
- −
compute(self, invoice)
account.payment.mode
added
Fields
- +
type_nf_paymentSelection
account.tax
changed
Public methods
- ~
compute_all(self, price_unit, quantity, product=None, partner=None, force_excluded=False, fiscal_position=False, insurance_value=0.0, freight_value=0.0, other_costs_value=0.0, base_tax=0.0)→ (self, price_unit, currency=None, quantity=1.0, product=None, partner=None, fiscal_position=False, insurance_value=0.0, freight_value=0.0, other_costs_value=0.0, base_tax=0.0)
l10n_br_account.service.type
removed
Fields
- −
child_idsOne2many → l10n_br_account.service.type - −
codeChar - −
internal_typeSelection - −
nameChar - −
parent_idMany2one → l10n_br_account.service.type
- −
name_get(self)
l10n_br_account_product.cfop
changed
Public methods
- ~
name_get(self, cr, uid, ids, context=None)→ (self)
l10n_br_account_product.cst
added
Fields
- +
codeChar - +
nameChar - +
tax_group_idMany2one → account.tax.group
- +
name_get(self) - +
name_search(self, name, args=None, operator='ilike', limit=100)
l10n_br_account_product.document.related
changed
Fields
- +
numberChar - −
internal_numberChar
- −
onchange_invoice_related_id(self, invoice_related_id) - −
onchange_mask_cnpj_cpf(self, cpfcnpj_type, cnpj_cpf)
l10n_br_account_product.import.declaration
changed
Public methods
- −
onchange_mask_cnpj_cpf(self, thirdparty_cnpj)
l10n_br_account_product.ipi_guideline
changed
Fields
- +
cst_in_idMany2one → l10n_br_account_product.cst - +
cst_out_idMany2one → l10n_br_account_product.cst - −
tax_code_in_idMany2one → account.tax.code.template - −
tax_code_out_idMany2one → account.tax.code.template
l10n_br_tax.definition.company.product
changed
Fields
- −
tax_icms_relief_idMany2one → l10n_br_account_product.icms_relief - −
tax_ipi_guideline_idMany2one → l10n_br_account_product.ipi_guideline
l10n_br_tax.definition.state.product
changed
Fields
- −
cest_idMany2one → l10n_br_account_product.cest
wizard.multi.charts.accounts
added
Public methods
- +
execute(self)
Views
- +
l10n_br_account_product_company_formform on res.company, inherits l10n_br_account.l10n_br_account_company_form - +
l10n_br_account_product_cst_formform on l10n_br_account_product.cst - +
l10n_br_account_product_cst_searchsearch on l10n_br_account_product.cst - +
l10n_br_account_product_cst_treetree on l10n_br_account_product.cst - +
l10n_br_account_product_payment_mode_formform on account.payment.mode, inherits account_payment_mode.account_payment_mode_form - −
l10n_br_account_product_position_template_formform on account.fiscal.position.template, inherits l10n_br_account.l10n_br_account_position_template_form - −
view_l10n_br_account_company_formform on res.company, inherits l10n_br_account.view_l10n_br_account_company_form - −
view_l10n_br_account_service_type_formform on l10n_br_account.service.type - −
view_l10n_br_account_service_type_structuretree on l10n_br_account.service.type - −
view_l10n_br_account_service_type_treetree on l10n_br_account.service.type
HTTP routes
No HTTP route changes.
Static analysis of each version's latest snapshot: migration notes for the target version are on the module page. Also available as JSON: /v1/compare/l10n_br_account_product.