Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: VAT Number Validation
Entity: res.country
Compute Method: _compute_has_foreign_fiscal_position
| Inputs | Method | Outputs |
|---|---|---|
|
- for country in self: - country.has_foreign_fiscal_position = self.env['account.fiscal.position'].search([ - *self._check_company_domain(self.env.company), - ('foreign_vat', '!=', False), - ('country_id', '=', country.id), - ], limit=1) |
|
