| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/10.0/account_constraints |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Stéphane Bidoul (ACSONE) |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:19:57 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - web_tour - report - analytic - web_planner |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Account Constraints
===================
Add constraints in the accounting module of OpenERP to avoid bad usage
by users that lead to corrupted datas. This is based on our experiences
and legal state of the art in other software.
Summary of constraints are:
* Add a constraint on account move: you cannot pickup a date that is not
in the fiscal year of the concerned period (configurable per journal)
* For manual entries when multicurrency:
a. Validation on the use of the 'Currency' and 'Currency Amount'
fields as it is possible to enter one without the other
b. Validation to prevent a Credit amount with a positive
'Currency Amount', or a Debit with a negative 'Currency Amount'
* Add a check on entries that user cannot provide a secondary currency
if the same than the company one.
* Remove the possibility to modify or delete a move line related to an
invoice or a bank statement, no matter what the status of the move
(draft, validated or posted). This is useful in a standard context but
even more if you're using `account_default_draft_move`. This way you ensure
that the user cannot make mistakes even in draft state, he must pass through
the parent object to make his modification.
Contributors
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
bank_statement_cancel_form_inherit |
bank.statement.cancel.form.inherit | account.bank.statement | xpath | Inherits account.view_bank_statement_form |
view_account_journal_allow_date_fy |
account.journal.allow_date_fy | account.journal | data | Inherits account.view_account_journal_form |
No new fields.
Public methods (2)button_cancel(self)
button_confirm_bank(self)
account_cancel_installed
Boolean
compute='_is_account_cancel_installed'
string='Allow Cancelling Entries'
state
Selection
default='draft'
related='statement_id.state'
string='Statement state'
cancel(self)
process_reconciliation(self, mv_line_dicts)
No new fields.
Public methods (2)action_cancel(self)
action_move_create(self)
allow_date_fy
Boolean
default=True
help='If set to True then do not accept the entry if the entry date is not into the fiscal year dates'
string='Check Date in Fiscal Year'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)unlink(self, cr, uid, ids, context=None, check=True)
write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/9.0/account_constraints |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Stéphane Bidoul (ACSONE) |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:20 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - report - analytic - web_tip - web_planner |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Account Constraints
===================
Add constraints in the accounting module of OpenERP to avoid bad usage
by users that lead to corrupted datas. This is based on our experiences
and legal state of the art in other software.
Summary of constraints are:
* Add a constraint on account move: you cannot pickup a date that is not
in the fiscal year of the concerned period (configurable per journal)
* For manual entries when multicurrency:
a. Validation on the use of the 'Currency' and 'Currency Amount'
fields as it is possible to enter one without the other
b. Validation to prevent a Credit amount with a positive
'Currency Amount', or a Debit with a negative 'Currency Amount'
* Add a check on entries that user cannot provide a secondary currency
if the same than the company one.
* Remove the possibility to modify or delete a move line related to an
invoice or a bank statement, no matter what the status of the move
(draft, validated or posted). This is useful in a standard context but
even more if you're using `account_default_draft_move`. This way you ensure
that the user cannot make mistakes even in draft state, he must pass through
the parent object to make his modification.
Contributors
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
bank_statement_cancel_form_inherit |
bank.statement.cancel.form.inherit | account.bank.statement | xpath | Inherits account.view_bank_statement_form |
view_account_journal_allow_date_fy |
account.journal.allow_date_fy | account.journal | data | Inherits account.view_account_journal_form |
No new fields.
Public methods (2)button_cancel(self)
button_confirm_bank(self)
account_cancel_installed
Boolean
compute='_is_account_cancel_installed'
string='Allow Cancelling Entries'
state
Selection
default='draft'
related='statement_id.state'
string='Statement state'
cancel(self)
process_reconciliation(self, mv_line_dicts)
No new fields.
Public methods (2)action_cancel(self)
action_move_create(self)
allow_date_fy
Boolean
default=True
help='If set to True then do not accept the entry if the entry date is not into the fiscal year dates'
string='Check Date in Fiscal Year'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)unlink(self, cr, uid, ids, context=None, check=True)
write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/8.0/account_constraints |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Yannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Leonardo Pistone, Pedro M. Baeza, Nicolas Bessi, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Adrien Peiffer, vrenaville, Adrien Peiffer (ACSONE), Moises Lopez - https://www.vauxoo.com/, oca-travis, Weblate |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:11:22 |
| 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 |
Account Constraints
===================
Add constraints in the accounting module of OpenERP to avoid bad usage
by users that lead to corrupted datas. This is based on our experiences
and legal state of the art in other software.
Summary of constraints are:
* Add a constraint on account move: you cannot pickup a date that is not
in the fiscal year of the concerned period (configurable per journal)
* For manual entries when multicurrency:
a. Validation on the use of the 'Currency' and 'Currency Amount'
fields as it is possible to enter one without the other
b. Validation to prevent a Credit amount with a positive
'Currency Amount', or a Debit with a negative 'Currency Amount'
* Add a check on entries that user cannot provide a secondary currency
if the same than the company one.
* Remove the possibility to modify or delete a move line related to an
invoice or a bank statement, no matter what the status of the move
(draft, validated or posted). This is useful in a standard context but
even more if you're using `account_default_draft_move`. This way you ensure
that the user cannot make mistakes even in draft state, he must pass through
the parent object to make his modification.
Contributors
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
bank_statement_cancel_form_inherit |
bank.statement.cancel.form.inherit | account.bank.statement | xpath | Inherits account.view_bank_statement_form |
view_account_journal_allow_date_fy |
account.journal.allow_date_fy | account.journal | data | Inherits account.view_account_journal_form |
No new fields.
Public methods (2)button_cancel(self)
button_confirm_bank(self)
account_cancel_installed
Boolean
compute='_is_account_cancel_installed'
string='Allow Cancelling Entries'
state
Selection
default='draft'
related='statement_id.state'
string='Statement state'
cancel(self)
process_reconciliation(self, mv_line_dicts)
No new fields.
Public methods (2)action_cancel(self)
action_move_create(self)
allow_date_fy
Boolean
default=True
help='If set to True then do not accept the entry if the entry date is not into the fiscal year dates'
string='Check Date in Fiscal Year'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)unlink(self, cr, uid, ids, context=None, check=True)
write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/7.0/account_constraints |
| VERSION | |
| VERSION | 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), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Guewen Baconnier, Alexandre Fayolle, Joel Grand-Guillaume, Pedro M. Baeza, Nicolas Bessi, unknown, Vincent Renaville, Launchpad Translations on behalf of account-core-editors, OCA Transbot, vrenaville, Rudolf Schnapka |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:07:14 |
| 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 |
Account Constraints
===================
Add constraints in the accounting module of OpenERP to avoid bad usage
by users that lead to corrupted datas. This is based on our experiences
and legal state of the art in other software.
Summary of constraints are:
* Add a constraint on account move: you cannot pickup a date that is not
in the fiscal year of the concerned period (configurable per journal)
* For manual entries when multicurrency:
a. Validation on the use of the 'Currency' and 'Currency Amount'
fields as it is possible to enter one without the other
b. Validation to prevent a Credit amount with a positive
'Currency Amount', or a Debit with a negative 'Currency Amount'
* Add a check on entries that user cannot provide a secondary currency
if the same than the company one.
* Remove the possibility to modify or delete a move line related to an
invoice or a bank statement, no matter what the status of the move
(draft, validated or posted). This is useful in a standard context but
even more if you're using `account_default_draft_move`. This way you ensure
that the user cannot make mistakes even in draft state, he must pass
through the parent object to make his modification.
Contributors
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
|
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_journal_allow_date_fy |
account.journal.allow_date_fy | account.journal | data | Inherits account.view_account_journal_form |
No new fields.
Public methods (2)button_cancel(self, cr, uid, ids, context=None)
create_move_from_st_line(self, cr, uid, st_line_id, company_currency_id, st_line_number, context=None)
No new fields.
Public methods (2)action_cancel(self, cr, uid, ids, context=None)
action_move_create(self, cr, uid, ids, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)unlink(self, cr, uid, ids, context=None, check=True)
write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/6.1/account_constraints |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Generic Modules/Accounting |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Guewen Baconnier, Alexandre Fayolle, Joel Grand-Guillaume |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:04:06 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - product - process - decimal_precision - analytic - board - edi - email_template - base_tools - account_voucher - account_payment |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Add contraints in the accounting module of OpenERP to avoid bad usage by
users that lead to corrupted datas. This is based on our experience and
legal state of the art in other software.
Summary of constraints are:
* For legal reason (forbiden to modify journal entries which belongs to
a closed fy or period) : Forbid to modify the code of an account if
journal entries have been already posted on this account. This cannot be
simply 'configurable' since it can lead to a lack of confidence in
OpenERP and this is what we want to change.
* Forbid to change the type of account for 'consolidation' and 'view' if
there are entries on it or its children.
* Add a constraint on reconcile object to forbid the reconciliation
between different partners.
* Add a constraint on account move: you cannot pickup a date that is
not in the fiscal year of the concerned period (this constraint is
not in OpenERP 7.0).
* Forbid the user to delete any move linked to an invoice. Cancelling
invoice still works, of course.
* Forbid the user to provide a secondary currency which is the same as
the company currency (this constraint is not in OpenERP 7.0).
* Forbid to change the journal of a bank statement if you already have a
line in it. This is done in the voucher, because this is the case that
breaks: when a voucher is created and you change the journal, it results
in having entries generated on various journal which is not consistent.
* Add contraint for Payment Order: if an invoice is imported in a
payment order, forbid to reset the invoice to Cancel or Draft
* Forbid to remove the reconcile on opening entries. We introduce a new
boolean field to distinguish the reconciliations made by the closing process
from others.
* Remove the possibility to modify or delete a move line related to an
invoice or a bank statement, no matter what the status of the move
(draft, validated or posted). This is useful in a standard context but
even more if you're using the account_default_draft_move module. This way you ensure
that the user cannot make mistakes: even in draft State, he must pass through the
parent object to make his modification.
|
No views found for this module.
No new fields.
Public methods (1)write(self, cr, uid, ids, vals, context=None)
No new fields.
Public methods (1)write(self, cr, uid, ids, vals, context=None)
No new fields.
Public methods (2)button_cancel(self, cr, uid, ids, context=None)
create_move_from_st_line(self, cr, uid, st_line_id, company_currency_id, st_line_number, context=None)
No new fields.
Public methods (1)data_save(self, cr, uid, ids, context=None)
No new fields.
Public methods (2)action_cancel(self, cr, uid, ids, *args)
action_move_create(self, cr, uid, ids, context=None)
No new fields.
Public methods (1)unlink(self, cr, uid, ids, context=None, check=True)
No new fields.
Public methods (2)unlink(self, cr, uid, ids, context=None, check=True)
write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)
No new fields.
Public methods (1)unlink(self, cr, uid, ids, context=None)