Account Checks
l10n_ar_account_check · OCA/l10n-argentina
Health
70/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
Combined: GPL-3
Folder size
0.15 MB
Module directory on disk
Code analysis
18 migration notes
5 models
21 views
0 HTTP endpoints
License review
- l10n_ar_account_check (LGPL-3) depends on l10n_ar_account_payment (GPL-3): combined with its dependencies it must be distributed under GPL-3. LICENSE_EFFECTIVE_UPGRADE
Based on the manifest licenses of this module and everything it depends on: a heuristic to spot problems early, not legal advice. Methodology
Migration considerations
account_add_issued_check— Class 'account_add_issued_check' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourceaccount_add_issued_check— Class 'account_add_issued_check' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · sourceaccount_check_config— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceaccount_check_deposit— Class 'account_check_deposit' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceaccount_check_deposit— Class 'account_check_deposit' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceaccount_check_reject— Class 'account_check_reject' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourceaccount_check_reject— Class 'account_check_reject' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (3 occurrences in this file) migration-old-style-fields · sourceaccount_issued_check— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) (2 occurrences in this file) migration-api-multi-one · sourceaccount_voucher— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (8 methods) migration-api-multi-one · sourceview_account_check_config_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (3 occurrences in this file) migration-view-tree-tag · sourceview_account_issued_check_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourceview_voucher_check_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) (3 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Allows to manage checks
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 21
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account.check_reject_form_view |
account.check.reject.wizard.form | account.check.reject | form | New |
account_check_deposit_form_view |
account.check.deposit.wizard.form | account.check.deposit | form | New |
add_issued_checks_form_view |
account.add.issued.checks.wizard.form | account.add.issued.check | form | New |
add_third_checks_form_view |
account.add.third.checks.wizard.form | account.add.third.check | form | New |
view_account_check_config_form |
account.check.config.form | account.check.config | form | New |
view_account_check_config_tree |
account.check.config.tree | account.check.config | tree | New |
view_account_issued_check_filter |
account.issued.check.select | account.issued.check | search | New |
view_account_issued_check_form |
account.issued.check.form | account.issued.check | form | New |
view_account_issued_check_issued_calendar |
account.issued.check.issued.calendar | account.issued.check | calendar | New |
view_account_issued_check_payment_calendar |
account.issued.check.payment.calendar | account.issued.check | calendar | New |
view_account_issued_check_tree |
account.issued.check.tree | account.issued.check | tree | New |
view_account_third_check_endorsement_calendar |
account.third.check.endorsement.calendar | account.third.check | calendar | New |
view_account_third_check_form |
account.third.check.form | account.third.check | form | New |
view_account_third_check_issued_calendar |
account.third.check.issued.calendar | account.third.check | calendar | New |
view_account_third_check_payment_calendar |
account.third.check.payment.calendar | account.third.check | calendar | New |
view_account_third_check_tree |
account.third.check.tree | account.third.check | tree | New |
view_partner_bank_check_form |
res.partner.bank.form.check.inherit | res.partner.bank | form | Inherits base.view_partner_bank_form |
view_partner_check_form |
res.partner.form.check.inherit | res.partner | form | Inherits base.view_partner_form |
view_third_checks_search |
third.check.search | account.third.check | search | New |
view_vendor_receipt_check_form |
account.voucher.form.receipt.inherit | account.voucher | form | Inherits l10n_ar_account_payment.view_vendor_l10n_ar_receipt_form |
view_voucher_check_form |
account.voucher.check.form.inherit | account.voucher | form | Inherits l10n_ar_account_payment.view_vendor_l10n_ar_payment_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
account_idMany2one → account.accounthelp='In Argentina, Valores a Depositar is used, for example'required=True args: 'account.account', 'Main Check Account' -
company_idMany2one → res.companyrequired=True args: 'res.company', 'Company'
No public methods.
New fields (14)
-
account_bank_idMany2one → res.partner.bankargs: 'res.partner.bank', 'Bank Account' -
amountFloatrequired=True args: 'Amount Check' -
bank_idMany2one → res.bankrequired=True args: 'res.bank', 'Bank' -
clearingSelectiondefault='24' args: [('24', '24 hs'), ('48', '48 hs'), ('72', '72 hs')], 'Clearing' -
company_idMany2one → res.companydefault=<expr>readonly=Truerequired=True args: 'res.company', 'Company' -
issue_dateDateargs: 'Issue Date' -
numberCharrequired=Truesize=20 args: 'Check Number' -
originCharsize=64 args: 'Origin' -
payment_dateDatehelp='Only if this check is post dated' args: 'Payment Date' -
receiving_partner_idMany2one → res.partnerreadonly=Truerequired=False args: 'res.partner', 'Receiving Entity' -
signatoryCharsize=64 args: 'Signatory' -
stateSelectiondefault='draft' args: [('draft', 'Draft'), ('issued', 'Issued'), ('cancel', 'Cancelled')], 'State' -
typeSelectiondefault='common'help='If common, checks only have issued_date. If post-dated they also have payment date' args: [('common', 'Common'), ('postdated', 'Post-dated')], 'Check Type' -
voucher_idMany2one → account.voucherargs: 'account.voucher', 'Voucher'
-
cancel_check(self)@api.multi -
create_voucher_move_line(self)@api.model -
unlink(self)@api.multi
New fields (24)
-
amountFloatreadonly=Truerequired=Truestates={'draft': [('readonly', False)]} args: 'Check Amount' -
bank_idMany2one → res.bankreadonly=Truerequired=Truestates={'draft': [('readonly', False)]} args: 'res.bank', 'Bank' -
clearingSelectiondefault='24' args: [('24', '24 hs'), ('48', '48 hs'), ('72', '72 hs')], 'Clearing' -
company_idMany2one → res.companydefault=<expr>readonly=Truerequired=Truestates={'draft': [('readonly', False)]} args: 'res.company', 'Company' -
debit_note_idMany2one → account.invoicehelp='In case of rejection of the third check'readonly=True args: 'account.invoice', 'Debit Note' -
deposit_bank_idMany2one → res.partner.bankargs: 'res.partner.bank', 'Deposit Account' -
deposit_dateDatereadonly=Truestates={'wallet': [('readonly', False)]} args: 'Deposit Date' -
deposit_slipCharsize=64 args: 'Deposit Slip' -
destCharsize=64 args: 'Destiny' -
destiny_partner_idMany2one → res.partnerstates={'delivered': [('required', True)]} args: 'res.partner', 'Destiny Partner' -
endorsement_dateDatereadonly=Truestates={'wallet': [('readonly', False)]} args: 'Endorsement Date' -
issue_dateDatereadonly=Truerequired=Truestates={'draft': [('readonly', False)]} args: 'Issue Date' -
noteTextargs: 'Additional Information' -
numberCharreadonly=Truerequired=Truesize=20states={'draft': [('readonly', False)]} args: 'Check Number' -
originCharsize=64 args: 'Origin' -
payment_dateDatereadonly=Truestates={'draft': [('readonly', False)]} args: 'Payment Date' -
receipt_dateDatedefault=<expr>readonly=Truerequired=Truestates={'draft': [('readonly', False)]} args: 'Receipt Date' -
signatoryCharsize=64 args: 'Signatory' -
signatory_accountCharsize=64 args: 'Signatory account' -
signatory_vatCharsize=64 args: 'Signatory VAT' -
source_partner_idMany2one → res.partnerreadonly=Truerequired=Falsestates={'draft': [('readonly', False)]} args: 'res.partner', 'Source Partner' -
source_voucher_idMany2one → account.voucherreadonly=True args: 'account.voucher', 'Source Voucher' -
stateSelectiondefault='draft'readonly=True args: [('draft', 'Draft'), ('wallet', 'In Wallet'), ('deposited', 'Deposited'), ('delivered', 'Delivered'), ('rejected', 'Rejected'), ('cancel', 'Cancelled')], 'State' -
typeSelectiondefault='common'help='If common, checks only have issued_date. If post-dated they also have payment date'readonly=Truestates={'draft': [('readonly', False)]} args: [('common', 'Common'), ('postdated', 'Post-dated')], 'Check Type'
-
cancel_check(self)@api.multi -
check_delivered(self)@api.multi -
create_voucher_move_line(self, voucher)@api.model -
deposit_check(self)@api.multi -
reject_check(self)@api.multi -
return_wallet(self)@api.multi -
to_wallet(self)@api.multi -
unlink(self)@api.multi
New fields (3)
-
issued_check_idsOne2many → account.issued.checkreadonly=Truerequired=Falsestates={'draft': [('readonly', False)]} args: 'account.issued.check', 'voucher_id', 'Issued Checks' -
third_check_idsMany2many → account.third.checkreadonly=Truestates={'draft': [('readonly', False)]} args: 'account.third.check', 'third_check_voucher_rel', 'dest_voucher_id', 'third_check_id', 'Third Checks' -
third_check_receipt_idsOne2many → account.third.checkreadonly=Truerequired=Falsestates={'draft': [('readonly', False)]} args: 'account.third.check', 'source_voucher_id', 'Third Checks'
-
action_cancel_draft(self)@api.multi -
cancel_voucher(self)@api.multi -
create_move_line_hook(self, move_id, move_lines)@api.multi -
onchange_issued_checks(self)@api.onchange('issued_check_ids') -
onchange_payment_line(self)@api.onchange('payment_line_ids') -
onchange_third_checks(self)@api.onchange('third_check_ids') -
onchange_third_receipt_checks(self)@api.onchange('third_check_receipt_ids') -
unlink(self)@api.multi
New fields (1)
-
account_idMany2one → account.accountargs: 'account.account', 'Account'
No public methods.
Loading…
Loading…
Loading…