Bank Deposit Ticket
account_banking_make_deposit · OCA/bank-payment
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 78 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis
6 migration notes
6 models
7 views
0 HTTP endpoints
Migration considerations
- Migrating to 18.0: `user_has_groups()` was removed: use `self.env.user.has_group()`. migration-user-has-groups · source
AddDepositItems— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceDepositTicket— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (12 methods) migration-api-multi-one · sourceDepositTicketLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_deposit_ticket_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. migration-view-attrs-states · sourceview_deposit_ticket_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
deposit_ticket_report |
deposit_ticket_report | ir.ui.view | qweb | New |
view_account_move_line_deposit_id |
account.move.line.deposit.id | account.move.line | search | Inherits account.view_account_move_line_filter |
view_account_move_line_form_deposit_id |
account.move.line.form.deposit.id | account.move.line | form | Inherits account.view_move_line_form |
view_add_deposit_items |
Add Deposit Items | add.deposit.items | form | New |
view_deposit_ticket_filter |
deposit.ticket.select | deposit.ticket | search | New |
view_deposit_ticket_form |
deposit.ticket.form | deposit.ticket | form | New |
view_deposit_ticket_tree |
deposit.ticket.tree | deposit.ticket | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (2)
-
deposit_idMany2one → deposit.ticketargs: 'deposit.ticket', 'Deposit Ticket' -
draft_assignedBooleanhelp='This field is checked when the move line is assigned to a draft deposit ticket. The deposit ticket is not still completely processed' args: 'Draft Assigned'
No public methods.
New fields (2)
-
deposit_items_line_idsOne2many → deposit.items.lineargs: 'deposit.items.line', 'deposit_items_id', 'Lines' -
nameCharsize=64 args: 'Name'
-
add_deposit_lines(self)@api.multiAdd Deposit Items Lines as Deposit Ticket Lines for the deposit. -
default_get(self, field_lines)@api.model -
select_all(self)@api.multiSelect all the deposit item lines in the wizard. -
unselect_all(self)@api.multiUnselect all the deposit item lines in the wizard.
New fields (9)
-
amountFloatdigits=dp.get_precision('Account') args: 'Amount' -
company_idMany2one → res.companyargs: 'res.company', 'Company' -
dateDaterequired=True args: 'Date' -
deposit_items_idMany2one → add.deposit.itemsargs: 'add.deposit.items', 'Deposit Items ID' -
draft_assignedBooleanargs: 'Select' -
move_line_idMany2one → account.move.lineargs: 'account.move.line', 'Journal Item' -
nameCharsize=64 args: 'Name' -
partner_idMany2one → res.partnerargs: 'res.partner', 'Partner' -
refCharsize=64 args: 'Reference'
No public methods.
New fields (1)
-
nameCharhelp='Name of the method used to deposit'string='Name'translate=True
No public methods.
New fields (18)
-
amountFloatcompute='_compute_amount'digits=dp.get_precision('Account')help='Calculates the Total of All Deposit Lines - This is the Total Amount of Deposit.' args: 'Amount' -
bank_tracking_noCharhelp='This field is used to hold a tracking number provided by the bank/financial institution often used in Remote Deposit Capture on a deposit receipt. Entered after deposit occurs.'size=64 args: 'Deposit Tracking #' -
company_idMany2one → res.companydefault=<expr>help='The Company for which the deposit ticket is made'readonly=Truerequired=True args: 'res.company', 'Company' -
count_totalFloatcompute='_compute_amount'help='Counts the total # of line items in the deposit ticket.' args: 'Total Items' -
dateDatedefault=fields.Date.today()help='The Date of the Deposit Ticket.'required=Truestates={'done': [('readonly', True)]} args: 'Date of Deposit' -
deposit_bag_noCharhelp='Deposit Bag number for courier transit.'size=64states={'done': [('readonly', True)]} args: 'Deposit Bag #' -
deposit_from_account_idMany2one → account.accountdomain="[('company_id', '=', company_id)]"help='The Bank/GL Account the Payments are currently found in.'required=Truestates={'done': [('readonly', True)]} args: 'account.account', 'Deposit From Acct' -
deposit_method_idMany2one → deposit.methodhelp='This is how the deposit was made:\nExamples:\n* Teller \n* ATM \n* Remote Deposit Capture \n* Online Deposit Capture \n* Night Drop \n* Armored Vehicle'states={'done': [('readonly', True)]} args: 'deposit.method', 'Deposit Method' -
deposit_to_account_idMany2one → account.accountdomain="[('company_id', '=', company_id)]"help='The Bank/Gl Account the Deposit is being made to.'required=Truestates={'done': [('readonly', True)]} args: 'account.account', 'Deposit To Acct' -
journal_idMany2one → account.journalhelp='The Journal to hold accounting entries.'required=Truestates={'done': [('readonly', True)]} args: 'account.journal', 'Journal' -
memoCharhelp='Memo for the deposit ticket'size=64states={'done': [('readonly', True)]} args: 'Memo' -
move_idMany2one → account.movehelp='Link to the automatically generated Journal Items.'index=Truereadonly=True args: 'account.move', 'Journal Entry' -
nameCharhelp='Each deposit will have a unique sequence ID. System generated.'index=1related='move_id.name' args: 'Deposit Ticket #' -
prepared_by_user_idMany2one → res.usershelp="Entered automatically by the 'last user' who saved it. System generated."states={'done': [('readonly', True)]} args: 'res.users', 'Prepared By' -
stateSelectiondefault='draft'index=Truereadonly=True args: [('draft', _('Draft')), ('to_be_reviewed', _('Ready for Review')), ('done', _('Done')), ('cancel', _('Cancel'))], 'State' -
ticket_line_idsOne2many → deposit.ticket.linestates={'done': [('readonly', True)]} args: 'deposit.ticket.line', 'deposit_id', 'Deposit Ticket Line' -
verified_by_user_idMany2one → res.usershelp="Entered automatically by the 'last user' who saved it. System generated."states={'done': [('readonly', True)]} args: 'res.users', 'Verified By' -
verified_dateDatehelp='Date in which Deposit Ticket was verified.'states={'done': [('readonly', True)]} args: 'Verified Date'
-
action_cancel(self)@api.multi -
action_cancel_draft(self)@api.multi -
action_process(self)@api.multiDo the following: 1.The 'Verifier By' field is populated by the name of the Verifier. 2.The 'Deposit Ticket #' field is populated. 3.The account.move.lines are updated and written with the 'Deposit Ticket #' 4.The status field is updated to "Done" 5.New GL entries are made. -
action_review(self)@api.multi -
add_deposit_items(self)@api.multiDisplay the wizard to allow the 'Deposit Preparer' to select payments for deposit. -
check_group(self)@api.multiCheck if following security constraints are implemented for groups: Make Deposits Preparer - they can create, view and delete any of the Deposit Tickets provided the Deposit Ticket is not in the DONE state, or the Ready for Review state. Make Deposits Verifier - they can create, view, edit, and delete any of the Deposits Tickets information at any time. NOTE: DONE Deposit Tickets are only allowed to be deleted by a Make Deposits Verifier. -
get_move_line(self, deposit, line_type)@api.multi -
onchange_journal(self)@api.onchange('journal_id') -
remove_all(self)@api.multiReset the deposit ticket to draft state, and remove the entries associated with the DONE transactions ( account moves, updating account.move.lines, resetting preparer and verifier and verified date fields. Reflect all changes necessary. -
unlink(self)@api.multi -
write(self, vals)@api.multi
New fields (9)
-
amountFloatdigits=dp.get_precision('Account')help="Derived from the 'debit' amount from related Journal Item." args: 'Amount' -
company_idMany2one → res.companyhelp='The Company for which the deposit ticket is made to'readonly=Truerequired=True args: 'res.company', 'Company' -
currency_idMany2one → res.currencyargs: 'res.currency', 'Currency' -
dateDatehelp='Derived from the related Journal Item'required=True args: 'Date' -
deposit_idMany2one → deposit.ticketondelete='cascade'required=True args: 'deposit.ticket', 'Deposit Ticket' -
move_line_idMany2one → account.move.linehelp='Related Journal Item' args: 'account.move.line', 'Journal Item' -
nameCharhelp='Derived from the related Journal Item.'required=Truesize=64 args: 'Name' -
partner_idMany2one → res.partnerhelp='Derived from the related Journal Item.' args: 'res.partner', 'Partner' -
refCharhelp='Derived from the related Journal Item.'required=Truesize=64 args: 'Reference'
-
create(self, vals)@api.model -
onchange_date(self)@api.onchange('deposit_id') -
onchange_deposit_id(self)@api.onchange('deposit_id') -
unlink(self)@api.multiSet the 'draft_assigned' field to False for related account move lines to allow to be entered for another deposit.
Loading…