| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/13.0/account_fiscal_position_rule |
| VERSION | |
| VERSION | 1.3.1 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, root, OCA Transbot, JordiMForgeFlow, Thomas Binsfeld, oca-travis, Weblate, OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-fiscal-rule |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web - product - bus - web_tour - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - l10n_generic_coa |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| 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 | div | 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 |
fiscal_position_rule_count
Integer
compute='_compute_fiscal_position_rule_count'
fiscal_position_rule_ids
One2many → account.fiscal.position.rule
comodel_name='account.fiscal.position.rule'
inverse_name='fiscal_position_id'
readonly=True
string='Fiscal Position Rules'
action_fiscal_position_rules(self)
get_fiscal_position(self, partner_id, delivery_id=None)
company_id
Many2one → res.company
comodel_name='res.company'
index=True
required=True
sting='Company'
date_end
Date
help='Ending date for this rule to be valid.'
string='End Date'
date_start
Date
help='Starting date for this rule to be valid.'
string='Start Date'
description
Char
string='Description'
fiscal_position_id
Many2one → account.fiscal.position
comodel_name='account.fiscal.position'
domain="[('company_id','=',company_id)]"
index=True
required=True
string='Fiscal Position'
from_country
Many2one → res.country
comodel_name='res.country'
string='Country From'
from_country_group_id
Many2one → res.country.group
comodel_name='res.country.group'
ondelete='restrict'
string='Country group from'
from_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id', '=', from_country)]"
string='State From'
name
Char
required=True
string='Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
string='Priority'
to_invoice_country
Many2one → res.country
comodel_name='res.country'
string='Invoice Country'
to_invoice_country_group_id
Many2one → res.country.group
comodel_name='res.country.group'
ondelete='restrict'
string='Invoice Country Group'
to_invoice_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_invoice_country)]"
string='Invoice State'
to_shipping_country
Many2one → res.country
comodel_name='res.country'
string='Destination Country'
to_shipping_country_group_id
Many2one → res.country.group
comodel_name='res.country.group'
ondelete='restrict'
string='Destination Country Group'
to_shipping_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_shipping_country)]"
string='Destination State'
use_invoice
Boolean
string='Use in Invoices'
use_picking
Boolean
string='Use in Picking'
use_purchase
Boolean
string='Use in Purchases'
use_sale
Boolean
string='Use in Sales'
vat_rule
Selection
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'
apply_fiscal_mapping(self, **kwargs)
fiscal_position_map(self, **kwargs)
onchange_company(self)
date_end
Date
help='Ending date for this rule to be valid.'
string='End Date'
date_start
Date
help='Starting date for this rule to be valid.'
string='Start Date'
description
Char
string='Description'
fiscal_position_id
Many2one → account.fiscal.position.template
comodel_name='account.fiscal.position.template'
required=True
string='Fiscal Position'
from_country
Many2one → res.country
comodel_name='res.country'
string='Country Form'
from_country_group_id
Many2one → res.country.group
comodel_name='res.country.group'
ondelete='restrict'
string='Country group from'
from_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',from_country)]"
string='State From'
name
Char
required=True
string='Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
string='Priority'
to_invoice_country
Many2one → res.country
comodel_name='res.country'
string='Country To'
to_invoice_country_group_id
Many2one → res.country.group
comodel_name='res.country.group'
ondelete='restrict'
string='Invoice Country Group'
to_invoice_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_invoice_country)]"
string='State To'
to_shipping_country
Many2one → res.country
comodel_name='res.country'
string='Destination Country'
to_shipping_country_group_id
Many2one → res.country.group
comodel_name='res.country.group'
ondelete='restrict'
string='Destination Country Group'
to_shipping_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_shipping_country)]"
string='Destination State'
use_invoice
Boolean
string='Use in Invoices'
use_picking
Boolean
string='Use in Picking'
use_purchase
Boolean
string='Use in Purchases'
use_sale
Boolean
string='Use in Sales'
vat_rule
Selection
default='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.
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
action_create(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/10.0/account_fiscal_position_rule |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, Yogesh Kushwaha |
| WEBSITE | |
| WEBSITE | http://www.akretion.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:19:54 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - web_tour - report - analytic - web_planner - l10n_generic_coa |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| 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_wizard_account_fiscal_position_rule |
Generate Fiscal Positions Rules from Templates | wizard.account.fiscal.position.rule | form | New |
company_id
Many2one → res.company
comodel_name='res.company'
index=True
required=True
sting='Company'
date_end
Date
help='Ending date for this rule to be valid.'
string='End Date'
date_start
Date
help='Starting date for this rule to be valid.'
string='Start Date'
description
Char
string='Description'
fiscal_position_id
Many2one → account.fiscal.position
comodel_name='account.fiscal.position'
domain="[('company_id','=',company_id)]"
index=True
required=True
string='Fiscal Position'
from_country
Many2one → res.country
comodel_name='res.country'
string='Country From'
from_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',from_country)]"
string='State From'
name
Char
required=True
string='Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
string='Priority'
to_invoice_country
Many2one → res.country
comodel_name='res.country'
string='Invoice Country'
to_invoice_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_invoice_country)]"
string='Invoice State'
to_shipping_country
Many2one → res.country
comodel_name='res.country'
string='Destination Country'
to_shipping_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_shipping_country)]"
string='Destination State'
use_invoice
Boolean
string='Use in Invoices'
use_picking
Boolean
string='Use in Picking'
use_purchase
Boolean
string='Use in Purchases'
use_sale
Boolean
string='Use in sales order'
vat_rule
Selection
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'
apply_fiscal_mapping(self, **kwargs)
fiscal_position_map(self, **kwargs)
onchange_company(self)
date_end
Date
help='Ending date for this rule to be valid.'
string='End Date'
date_start
Date
help='Starting date for this rule to be valid.'
string='Start Date'
description
Char
string='Description'
fiscal_position_id
Many2one → account.fiscal.position.template
comodel_name='account.fiscal.position.template'
required=True
string='Fiscal Position'
from_country
Many2one → res.country
comodel_name='res.country'
string='Country Form'
from_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',from_country)]"
string='State From'
name
Char
required=True
string='Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
string='Priority'
to_invoice_country
Many2one → res.country
comodel_name='res.country'
string='Country To'
to_invoice_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_invoice_country)]"
string='State To'
to_shipping_country
Many2one → res.country
comodel_name='res.country'
string='Destination Country'
to_shipping_state
Many2one → res.country.state
comodel_name='res.country.state'
domain="[('country_id','=',to_shipping_country)]"
string='Destination State'
use_invoice
Boolean
string='Use in Invoices'
use_picking
Boolean
string='Use in Picking'
use_purchase
Boolean
string='Use in Purchases'
use_sale
Boolean
string='Use in sales order'
vat_rule
Selection
default='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.
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
action_create(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/9.0/account_fiscal_position_rule |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, Magno Costa - Akretion |
| WEBSITE | |
| WEBSITE | http://www.akretion.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:19 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - report - analytic - web_tip - web_planner - l10n_generic_coa |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| 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_wizard_account_fiscal_position_rule |
Generate Fiscal Positions Rules from Templates | wizard.account.fiscal.position.rule | form | New |
company_id
Many2one → res.company
required=True
select=True
args: 'res.company', 'Company'
date_end
Date
help='Ending date for this rule to be valid.'
args: 'End Date'
date_start
Date
help='Starting date for this rule to be valid.'
args: 'Start Date'
description
Char
fiscal_position_id
Many2one → account.fiscal.position
domain="[('company_id','=',company_id)]"
required=True
select=True
args: 'account.fiscal.position', 'Fiscal Position'
from_country
Many2one → res.country
from_state
Many2one → res.country.state
domain="[('country_id','=',from_country)]"
args: 'res.country.state', 'State From'
name
Char
required=True
args: 'Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
args: 'Priority'
to_invoice_country
Many2one → res.country
to_invoice_state
Many2one → res.country.state
domain="[('country_id','=',to_invoice_country)]"
args: 'res.country.state', 'Invoice State'
to_shipping_country
Many2one → res.country
to_shipping_state
Many2one → res.country.state
domain="[('country_id','=',to_shipping_country)]"
args: 'res.country.state', 'Destination State'
use_invoice
Boolean
use_picking
Boolean
use_purchase
Boolean
use_sale
Boolean
vat_rule
Selection
help='Choose if the customer need to have the field VAT fill for using this fiscal position'
args: [('with', 'With VAT number'), ('both', 'With or Without VAT number'), ('without', 'Without VAT number')], 'VAT Rule'
apply_fiscal_mapping(self, **kwargs)
fiscal_position_map(self, **kwargs)
onchange_company(self)
date_end
Date
help='Ending date for this rule to be valid.'
args: 'End Date'
date_start
Date
help='Starting date for this rule to be valid.'
args: 'Start Date'
description
Char
fiscal_position_id
Many2one → account.fiscal.position.template
required=True
args: 'account.fiscal.position.template', 'Fiscal Position'
from_country
Many2one → res.country
from_state
Many2one → res.country.state
domain="[('country_id','=',from_country)]"
args: 'res.country.state', 'State From'
name
Char
required=True
args: 'Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
args: 'Priority'
to_invoice_country
Many2one → res.country
to_invoice_state
Many2one → res.country.state
domain="[('country_id','=',to_invoice_country)]"
args: 'res.country.state', 'State To'
to_shipping_country
Many2one → res.country
to_shipping_state
Many2one → res.country.state
domain="[('country_id','=',to_shipping_country)]"
args: 'res.country.state', 'Destination State'
use_invoice
Boolean
use_picking
Boolean
use_purchase
Boolean
use_sale
Boolean
vat_rule
Selection
default='both'
help='Choose if the customer need to have the field VAT fill for using this fiscal position'
args: [('with', 'With VAT number'), ('both', 'With or Without VAT number'), ('without', 'Without VAT number')], 'VAT Rule'
No public methods.
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
default=<expr>
required=True
args: 'res.company', 'Company'
action_create(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/8.0/account_fiscal_position_rule |
| VERSION | |
| VERSION | 1.2.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Raphaël Valyi, Sandy Carter, Renato Lima, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, OCA-git-bot, Raphael Valyi |
| WEBSITE | |
| WEBSITE | http://www.akretion.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:11:21 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - report - analytic - board - edi - email_template |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Include a rule to decide the correct fiscal position |
| 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_wizard_account_fiscal_position_rule |
Generate Fiscal Positions Rules from Templates | wizard.account.fiscal.position.rule | form | New |
company_id
Many2one → res.company
required=True
select=True
args: 'res.company', 'Company'
date_end
Date
help='Ending date for this rule to be valid.'
args: 'End Date'
date_start
Date
help='Starting date for this rule to be valid.'
args: 'Start Date'
description
Char
fiscal_position_id
Many2one → account.fiscal.position
domain="[('company_id','=',company_id)]"
required=True
select=True
args: 'account.fiscal.position', 'Fiscal Position'
from_country
Many2one → res.country
from_state
Many2one → res.country.state
domain="[('country_id','=',from_country)]"
args: 'res.country.state', 'State From'
name
Char
required=True
args: 'Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
args: 'Priority'
to_invoice_country
Many2one → res.country
to_invoice_state
Many2one → res.country.state
domain="[('country_id','=',to_invoice_country)]"
args: 'res.country.state', 'Invoice State'
to_shipping_country
Many2one → res.country
to_shipping_state
Many2one → res.country.state
domain="[('country_id','=',to_shipping_country)]"
args: 'res.country.state', 'Destination State'
use_invoice
Boolean
use_picking
Boolean
use_purchase
Boolean
use_sale
Boolean
vat_rule
Selection
help='Choose if the customer need to have the field VAT fill for using this fiscal position'
args: [('with', 'With VAT number'), ('both', 'With or Without VAT number'), ('without', 'Without VAT number')], 'VAT Rule'
apply_fiscal_mapping(self, result, **kwargs)
fiscal_position_map(self, **kwargs)
onchange_company(self)
date_end
Date
help='Ending date for this rule to be valid.'
args: 'End Date'
date_start
Date
help='Starting date for this rule to be valid.'
args: 'Start Date'
description
Char
fiscal_position_id
Many2one → account.fiscal.position.template
required=True
args: 'account.fiscal.position.template', 'Fiscal Position'
from_country
Many2one → res.country
from_state
Many2one → res.country.state
domain="[('country_id','=',from_country)]"
args: 'res.country.state', 'State From'
name
Char
required=True
args: 'Name'
sequence
Integer
default=10
help='The lowest number will be applied.'
required=True
args: 'Priority'
to_invoice_country
Many2one → res.country
to_invoice_state
Many2one → res.country.state
domain="[('country_id','=',to_invoice_country)]"
args: 'res.country.state', 'State To'
to_shipping_country
Many2one → res.country
to_shipping_state
Many2one → res.country.state
domain="[('country_id','=',to_shipping_country)]"
args: 'res.country.state', 'Destination State'
use_invoice
Boolean
use_picking
Boolean
use_purchase
Boolean
use_sale
Boolean
vat_rule
Selection
default='both'
help='Choose if the customer need to have the field VAT fill for using this fiscal position'
args: [('with', 'With VAT number'), ('both', 'With or Without VAT number'), ('without', 'Without VAT number')], 'VAT Rule'
No public methods.
No new fields.
Public methods (2)onchange_company_id(self, company_id, part_id, type, invoice_line, currency_id)
onchange_partner_id(self, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)
company_id
Many2one → res.company
default=<expr>
required=True
args: 'res.company', 'Company'
action_create(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/7.0/account_fiscal_position_rule |
| VERSION | |
| VERSION | 1.2 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Yannick Vaucher, Lorenzo Battistini, Alexandre Fayolle, Raphaël Valyi, Renato Lima, Pedro M. Baeza, Launchpad Translations on behalf of account-core-editors, Alberto Garcia, moylop260 |
| WEBSITE | |
| WEBSITE | http://www.akretion.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:07:13 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - process - decimal_precision - analytic - board - edi - email_template |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Include a rule to decide the correct fiscal position |
| 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_fiscal_position_rule_form1 |
account.fiscal.position.rule.invoice.form1 | account.invoice | field | Inherits account.invoice_form |
view_fiscal_position_rule_form3 |
account.fiscal.position.rule.invoice.form3 | account.invoice | field | Inherits account.invoice_supplier_form |
view_wizard_account_fiscal_position_rule |
Generate Fiscal Positions Rules from Templates | wizard.account.fiscal.position.rule | form | New |
No new fields.
Public methods (2)apply_fiscal_mapping(self, cr, uid, result, **kwargs)
fiscal_position_map(self, cr, uid, partner_id=None, partner_invoice_id=None, partner_shipping_id=None, company_id=None, context=None, **kwargs)
No new fields.
Public methods (2)onchange_company_id(self, cr, uid, ids, company_id, partner_id, type, invoice_line, currency_id)
onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)
No new fields.
Public methods (1)action_create(self, cr, uid, ids, context=None)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/6.1/account_fiscal_position_rule |
| VERSION | |
| VERSION | 1.1.1 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Yannick Vaucher, Alexandre Fayolle, sebastien beau, Kinner Vachhani |
| WEBSITE | |
| WEBSITE | http://www.akretion.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:04:05 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - product - process - decimal_precision - analytic - board - edi - email_template - base_tools |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Include a rule to decide the correct fiscal position |
| 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_fiscal_position_rule_form1 |
account.fiscal.position.rule.invoice.form1 | account.invoice | field | Inherits account.invoice_form |
view_fiscal_position_rule_form3 |
account.fiscal.position.rule.invoice.form3 | account.invoice | field | Inherits account.invoice_supplier_form |
view_wizard_account_fiscal_position_rule |
Generate Fiscal Positions Rules from Templates | wizard.account.fiscal.position.rule | form | New |
No models found for this module.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/account-fiscal-rule |
| PULL REQUEST | |
| PULL REQUEST | [14.0][MIG] account_fiscal_position_rule (#356) |