Product Tax Multi Company Default
product_tax_multicompany_default · OCA/multi-company
Health
72/100
fair
-
Security22/251 minor finding
-
Activity20/25Last human commit 7 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
This module sets the default company taxes for all the existing companies when a product is created. It also adds a button in product view to set all the taxes from other companies matching them by tax code. If a default tax is propagated, it will be propagated as the default tax in all companies, even if they are from different countries.
Dependencies
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 |
|---|---|---|---|---|
product_template_form_view |
Product template form (multi-company tax button) | product.template | form | Inherits account.product_template_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
set_multicompany_taxes(self)
New fields (1)
-
divergent_company_taxesBooleancompute='_compute_divergent_company_taxes'compute_sudo=Truehelp='Does this product have divergent cross-company taxes? (Only for multi-company products)'string='Has divergent cross-company taxes'
-
create(self, vals_list)@api.model_create_multi -
set_multicompany_taxes(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…