TIP: You can type at any time to perform a new search.
Account Fiscal Position Rule
account_fiscal_position_rule · OCA/account-fiscal-rule
- Repository
- OCA/account-fiscal-rule · module folder · Try on Runboat
- Module version
- 1.3.1
- Category
- Generic Modules/Accounting
- Folder size
- 1.58 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-fiscal-rule
- Last tracking update
- 2026-08-07 07:38:32
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- root, Pedro M. Baeza, JordiMForgeFlow, Thomas Binsfeld, Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci
Code Analysis ⓘ
Views touched (8)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_fiscal_position_rule_form |
account.fiscal.position.rule.form | account.fiscal.position.rule | form | New |
view_account_fiscal_position_rule_search |
account.fiscal.position.rule.search | account.fiscal.position.rule | search | New |
view_account_fiscal_position_rule_template_form |
account.fiscal.position.rule.template.form | account.fiscal.position.rule.template | form | New |
view_account_fiscal_position_rule_template_search |
account.fiscal.position.rule.template.search | account.fiscal.position.rule.template | search | New |
view_account_fiscal_position_rule_template_tree |
account.fiscal.position.rule.template.tree | account.fiscal.position.rule.template | tree | New |
view_account_fiscal_position_rule_tree |
account.fiscal.position.rule.tree | account.fiscal.position.rule | tree | New |
view_account_position_form |
account.fiscal.position.form (in account_fiscal_position_rule) | account.fiscal.position | form | Inherits account.view_account_position_form |
view_wizard_account_fiscal_position_rule |
Generate Fiscal Positions Rules from Templates | wizard.account.fiscal.position.rule | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (2)
-
fiscal_position_rule_countIntegercompute='_compute_fiscal_position_rule_count' -
fiscal_position_rule_idsOne2many → account.fiscal.position.rulecomodel_name='account.fiscal.position.rule'inverse_name='fiscal_position_id'readonly=Truestring='Fiscal Position Rules'
-
action_fiscal_position_rules(self) -
get_fiscal_position(self, partner_id, delivery_id=None)@api.model
New fields (21)
-
company_idMany2one → res.companycomodel_name='res.company'index=Truerequired=Truesting='Company' -
date_endDatehelp='Ending date for this rule to be valid.'string='End Date' -
date_startDatehelp='Starting date for this rule to be valid.'string='Start Date' -
descriptionCharstring='Description' -
fiscal_position_idMany2one → account.fiscal.positioncomodel_name='account.fiscal.position'domain="[('company_id','=',company_id)]"index=Truerequired=Truestring='Fiscal Position' -
from_countryMany2one → res.countrycomodel_name='res.country'string='Country From' -
from_country_group_idMany2one → res.country.groupcomodel_name='res.country.group'ondelete='restrict'string='Country group from' -
from_stateMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id', '=', from_country)]"string='State From' -
nameCharrequired=Truestring='Name' -
sequenceIntegerdefault=10help='The lowest number will be applied.'required=Truestring='Priority' -
to_invoice_countryMany2one → res.countrycomodel_name='res.country'string='Invoice Country' -
to_invoice_country_group_idMany2one → res.country.groupcomodel_name='res.country.group'ondelete='restrict'string='Invoice Country Group' -
to_invoice_stateMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id','=',to_invoice_country)]"string='Invoice State' -
to_shipping_countryMany2one → res.countrycomodel_name='res.country'string='Destination Country' -
to_shipping_country_group_idMany2one → res.country.groupcomodel_name='res.country.group'ondelete='restrict'string='Destination Country Group' -
to_shipping_stateMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id','=',to_shipping_country)]"string='Destination State' -
use_invoiceBooleanstring='Use in Invoices' -
use_pickingBooleanstring='Use in Picking' -
use_purchaseBooleanstring='Use in Purchases' -
use_saleBooleanstring='Use in Sales' -
vat_ruleSelectionhelp='Choose if the customer need to have the field VAT fill for using this fiscal position'selection=[('with', 'With VAT number'), ('both', 'With or Without VAT number'), ('without', 'Without VAT number')]string='VAT Rule'
-
apply_fiscal_mapping(self, **kwargs) -
fiscal_position_map(self, **kwargs) -
onchange_company(self)@api.onchange('company_id')
New fields (20)
-
date_endDatehelp='Ending date for this rule to be valid.'string='End Date' -
date_startDatehelp='Starting date for this rule to be valid.'string='Start Date' -
descriptionCharstring='Description' -
fiscal_position_idMany2one → account.fiscal.position.templatecomodel_name='account.fiscal.position.template'required=Truestring='Fiscal Position' -
from_countryMany2one → res.countrycomodel_name='res.country'string='Country Form' -
from_country_group_idMany2one → res.country.groupcomodel_name='res.country.group'ondelete='restrict'string='Country group from' -
from_stateMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id','=',from_country)]"string='State From' -
nameCharrequired=Truestring='Name' -
sequenceIntegerdefault=10help='The lowest number will be applied.'required=Truestring='Priority' -
to_invoice_countryMany2one → res.countrycomodel_name='res.country'string='Country To' -
to_invoice_country_group_idMany2one → res.country.groupcomodel_name='res.country.group'ondelete='restrict'string='Invoice Country Group' -
to_invoice_stateMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id','=',to_invoice_country)]"string='State To' -
to_shipping_countryMany2one → res.countrycomodel_name='res.country'string='Destination Country' -
to_shipping_country_group_idMany2one → res.country.groupcomodel_name='res.country.group'ondelete='restrict'string='Destination Country Group' -
to_shipping_stateMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id','=',to_shipping_country)]"string='Destination State' -
use_invoiceBooleanstring='Use in Invoices' -
use_pickingBooleanstring='Use in Picking' -
use_purchaseBooleanstring='Use in Purchases' -
use_saleBooleanstring='Use in Sales' -
vat_ruleSelectiondefault='both'help='Choose if the customer need to have the field VAT fill for using this fiscal position'selection=[('with', 'With VAT number'), ('both', 'With or Without VAT number'), ('without', 'Without VAT number')]string='VAT Rule'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company'
-
action_create(self)
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- no CI data
- Open since
- 1242 days ago
- Last activity
- 863 days ago
- Repository
- OCA/account-fiscal-rule
- Pull request
- [14.0][MIG] account_fiscal_position_rule (#356)