diff --git a/account_banking/banking_import_transaction.py b/account_banking/banking_import_transaction.py index 4571310fc..c473490e5 100644 --- a/account_banking/banking_import_transaction.py +++ b/account_banking/banking_import_transaction.py @@ -1898,7 +1898,7 @@ class account_bank_statement(orm.Model): if (not st.journal_id.default_credit_account_id) \ or (not st.journal_id.default_debit_account_id): raise orm.except_orm( - _('Configuration Error !'), + _('Configuration Error'), _('Please verify that an account is defined in the ' 'journal.') ) @@ -1907,7 +1907,7 @@ class account_bank_statement(orm.Model): for line in st.move_line_ids: if line.state != 'valid': raise orm.except_orm( - _('Error !'), + _('Error'), _('The account entries lines are not in valid state.') ) diff --git a/account_banking_make_deposit/__init__.py b/account_banking_make_deposit/__init__.py new file mode 100644 index 000000000..66b96aae0 --- /dev/null +++ b/account_banking_make_deposit/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +from . import wizard +from . import report +from . import models diff --git a/account_banking_make_deposit/__openerp__.py b/account_banking_make_deposit/__openerp__.py new file mode 100644 index 000000000..365eed8ca --- /dev/null +++ b/account_banking_make_deposit/__openerp__.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +{ + 'name': 'Bank Deposit Ticket', + 'description': ''' +This module supports the functionality to prepare and record Bank Deposit +Tickets, often found in check centric markets like the US. It allows users +to select various customer payments and receipts and bundle them into a +Deposit Ticket. This would be used to support the following activities: +Depositing multiple Checks into your bank account under one deposit ticket, +and Deposit Checks and Cash into your bank account from multiple customer +receipts or payments. This module can be used for any “bank transaction” +centric process including: Paypal, Bank Accounts, and even credit cards – +which tend to deposit funds by bundled transactions versus individual +checks. By combining payments and receipts into deposit tickets, and using +this module to manage the general ledger entries, it will streamline the bank +account statement reconciliation process (defined as: comparing your bank +account transactions versus the recorded transactions in OpenERP for audit +and financial control purposes). + +This module also tracks who prepared the Deposit Ticket, and the user who +verified the deposit ticket. In addition to the following: Method of +Deposit (e.g. ATM, Night Drop, Teller, Remote Deposit Capture, Online +Deposit Capture); Bank Tracking number (e.g. TLR#3 BC#47331 REF#94849303938) +; Date of Deposit, Deposit Bag #, etc. + +We recommend users add to their GL Chart of Accounts a new Other Current +Account named Undeposited Funds, as well as a new journal to post payments +to with the Undeposited Funds on the debit side of the transaction. + +Future enhancements – will also include the ability to track deposits NOT +using the Undeposited Funds GL account. + +Why is this module needed? OpenERP by default is designed for more +electronic transaction management – driven by its heritage in Europe +when EFT (electronic) transactions are more readily used – versus Check +centric transactions. In electronic transaction management – bundled +deposits don’t typically occur as payment transactions typically are +displayed individual on statements. + +This module is seen as a prerequisite to support efficient Bank Account +Statement Reconciliation found in the US and other countries. +''', + 'category': 'Generic Modules/Accounting', + 'version': '1.4', + 'author': 'Novapoint Group LLC', + 'website': 'www.novapointgroup.com', + 'depends': [ + 'account_cancel', + 'report_webkit' + ], + 'data': [ + 'security/account_banking_make_deposit_security.xml', + 'security/ir.model.access.csv', + + 'wizard/add_deposit_items_view.xml', + + 'report/deposit_ticket.xml', + + 'views/account_move_line.xml', + 'views/deposit_method.xml', + 'views/deposit_ticket.xml', + ], + 'demo': [ + 'demo/deposit_method.xml' + ], + 'test': [], + 'active': False, + 'installable': True, +} diff --git a/account_banking_make_deposit/demo/deposit_method.xml b/account_banking_make_deposit/demo/deposit_method.xml new file mode 100644 index 000000000..7f8a0ce0f --- /dev/null +++ b/account_banking_make_deposit/demo/deposit_method.xml @@ -0,0 +1,26 @@ + + + + + + Teller + + + + ATM + + + + Remote Deposit Capture + + + + Online Deposit Capture + + + + Night Drop + + + + diff --git a/account_banking_make_deposit/i18n/account_banking_make_deposit.pot b/account_banking_make_deposit/i18n/account_banking_make_deposit.pot new file mode 100644 index 000000000..1b686bf67 --- /dev/null +++ b/account_banking_make_deposit/i18n/account_banking_make_deposit.pot @@ -0,0 +1,617 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * account_banking_make_deposit +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-17 00:47+0000\n" +"PO-Revision-Date: 2015-06-17 00:47+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,move_id:0 +msgid "Link to the automatically generated Journal Items." +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter company Name" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit From Account" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,name:0 +msgid "Deposit Ticket #" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposit tracking no." +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,deposit_items_id:0 +msgid "Deposit Items ID" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,name:0 +msgid "Derived from the related Journal Item." +msgstr "" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:436 +#, python-format +msgid "Select Payments for Deposit" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,company_id:0 +#: field:deposit.ticket,company_id:0 +#: field:deposit.ticket.line,company_id:0 +msgid "Company" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Order date" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "To be Reviewed" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_method_id:0 +msgid "This is how the deposit was made: Examples: *Teller \n" +"*ATM \n" +"*Remote Deposit Capture \n" +"*Online Deposit Capture \n" +"*Night Drop" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,amount:0 +msgid "Derived from the 'debit' amount from related Journal Item." +msgstr "" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_Select All" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,move_line_id:0 +#: field:deposit.ticket.line,move_line_id:0 +msgid "Journal Item" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,amount:0 +#: field:deposit.ticket,amount:0 +#: field:deposit.ticket.line,amount:0 +msgid "Amount" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,journal_id:0 +msgid "The Journal to hold accounting entries." +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,ticket_line_ids:0 +#: model:ir.model,name:account_banking_make_deposit.model_deposit_ticket_line +msgid "Deposit Ticket Line" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,ref:0 +#: field:deposit.ticket.line,ref:0 +msgid "Reference" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Group By..." +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,period_id:0 +msgid "Force Period" +msgstr "" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_Cancel" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,memo:0 +msgid "Memo for the deposit ticket" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,partner_id:0 +#: field:deposit.ticket.line,partner_id:0 +msgid "Partner" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,move_id:0 +msgid "Journal Entry" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,draft_assigned:0 +msgid "Select" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_bag_no:0 +msgid "Deposit Bag No" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter Account Name (from)" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter journal name" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,company_id:0 +msgid "The Company for which the deposit ticket is made to" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,period_id:0 +msgid "Keep empty to use the period of the validation date." +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +#: field:deposit.ticket,state:0 +msgid "State" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Tracking Information" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket_line.py:84 +#, python-format +msgid "You cannot add any new deposit ticket line manually as of this revision! Please use the button \"Add Deposit Items\" to add deposit ticket line!" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter Account Name (to)" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,prepared_by_user_id:0 +#: help:deposit.ticket,verified_by_user_id:0 +msgid "Entered automatically by the “last user” who saved it. System generated." +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,count_total:0 +msgid "Total Items" +msgstr "" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_Unselect All" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Open Periods" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,amount:0 +msgid "Calculates the Total of All Deposit Lines – This is the Total Amount of Deposit." +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_method_id:0 +#: model:ir.actions.act_window,name:account_banking_make_deposit.action_deposit_method +#: model:ir.model,name:account_banking_make_deposit.model_deposit_method +msgid "Deposit Method" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,bank_tracking_no:0 +msgid "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." +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.method,name:0 +msgid "Name of the method used for deposit" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:63 +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:120 +#, python-format +msgid "User Error" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets that have been processed" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Other Information" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,bank_tracking_no:0 +msgid "Deposit Tracking No" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +#: model:ir.actions.act_window,name:account_banking_make_deposit.action_view_add_deposit_items +#: model:ir.model,name:account_banking_make_deposit.model_add_deposit_items +msgid "Add Deposit Items" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_to_account_id:0 +msgid "The Bank/Gl Account the Deposit is being made to." +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_from_account_id:0 +msgid "The Bank/GL Account the Payments are currently found in." +msgstr "" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "Select Payments to Deposit" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,verified_date:0 +msgid "Date in which Deposit Ticket was verified." +msgstr "" + +#. module: account_banking_make_deposit +#: model:ir.actions.report.xml,name:account_banking_make_deposit.report_deposit_ticket +msgid "Internal Deposit Ticket" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter period" +msgstr "" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_OK" +msgstr "" + +#. module: account_banking_make_deposit +#: model:ir.model,name:account_banking_make_deposit.model_deposit_items_line +msgid "Deposit Items Line" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter user name who varified" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:67 +#, python-format +msgid "Only a member of '%s' group may delete/edit deposit tickets when not in draft state!" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,move_line_id:0 +msgid "Related Journal Item." +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:237 +#: view:deposit.ticket:0 +#, python-format +msgid "Draft" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Set to Draft" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,verified_by_user_id:0 +msgid "Verified By" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets that haven't yet been confirmed" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_bag_no:0 +msgid "Deposit Bag number for courier transit." +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_from_account_id:0 +msgid "Deposit From Acct" +msgstr "" + +#. module: account_banking_make_deposit +#: report:addons/account_banking_make_deposit/report/deposit_ticket.mako:0 +#: view:deposit.ticket:0 +msgid "Deposit Ticket Lines" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,date:0 +#: field:deposit.ticket.line,date:0 +msgid "Date" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,count_total:0 +msgid "Counts the total # of line items in the deposit ticket." +msgstr "" + +#. module: account_banking_make_deposit +#: field:account.move.line,deposit_id:0 +#: view:deposit.ticket:0 +#: field:deposit.ticket.line,deposit_id:0 +#: model:ir.actions.act_window,name:account_banking_make_deposit.action_deposit_ticket +#: model:ir.model,name:account_banking_make_deposit.model_deposit_ticket +msgid "Deposit Ticket" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Search Deposit Tickets" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposite date" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,date:0 +msgid "Date of Deposit" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter date of varification" +msgstr "" + +#. module: account_banking_make_deposit +#: model:ir.model,name:account_banking_make_deposit.model_account_move_line +msgid "Journal Items" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Prepared by me" +msgstr "" + +#. module: account_banking_make_deposit +#: model:ir.ui.menu,name:account_banking_make_deposit.menu_deposit_methods +msgid "Deposit Methods" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:115 +#, python-format +msgid "Error" +msgstr "" + +#. module: account_banking_make_deposit +#: model:res.groups,name:account_banking_make_deposit.group_make_deposits_preparer +msgid "Make Deposits Preparer" +msgstr "" + +#. module: account_banking_make_deposit +#: model:ir.actions.act_window,help:account_banking_make_deposit.action_deposit_ticket +msgid "With Deposit Tickets you can create new deposit tickets, by selecting and grouping customer payments, supplier refunds, or other payments into a Deposit Ticket. OpenERP automatically posts accounting entries for “Done” deposit tickets. The GL entry for the deposit is posted into the Current Period based on the date range selected." +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:116 +#, python-format +msgid "Please define sequence on deposit journal" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Process" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter memo" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Period" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:239 +#: view:deposit.ticket:0 +#, python-format +msgid "Done" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,verified_date:0 +msgid "Verified Date" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:240 +#: view:deposit.ticket:0 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposit method" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,prepared_by_user_id:0 +msgid "Prepared By" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposit bag no." +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter user name who prepared" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,company_id:0 +#: help:deposit.ticket.line,date:0 +#: help:deposit.ticket.line,partner_id:0 +#: help:deposit.ticket.line,ref:0 +msgid "Derived from related Journal Item." +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:238 +#: view:deposit.ticket:0 +#, python-format +msgid "Ready for Review" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket_line.py:83 +#: code:addons/account_banking_make_deposit/wizard/add_deposit_items.py:151 +#, python-format +msgid "Processing Error" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_to_account_id:0 +msgid "Deposit To Acct" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,journal_id:0 +msgid "Journal" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets that are ready for review" +msgstr "" + +#. module: account_banking_make_deposit +#: model:ir.ui.menu,name:account_banking_make_deposit.menu_make_deposit_tickets +msgid "Make Deposits" +msgstr "" + +#. module: account_banking_make_deposit +#: field:add.deposit.items,name:0 +#: field:deposit.items.line,name:0 +#: field:deposit.method,name:0 +#: field:deposit.ticket.line,name:0 +msgid "Name" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,date:0 +msgid "The Date of the Deposit Ticket." +msgstr "" + +#. module: account_banking_make_deposit +#: field:add.deposit.items,deposit_items_line_ids:0 +msgid "Lines" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Verified by me" +msgstr "" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit To Account" +msgstr "" + +#. module: account_banking_make_deposit +#: help:account.move.line,draft_assigned:0 +msgid "This field is checked when the move line is assigned to a draft deposit ticket. The deposit ticket is not still completely processed" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/wizard/add_deposit_items.py:152 +#, python-format +msgid "You cannot add any new deposit line item manually as of this revision!" +msgstr "" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:121 +#, python-format +msgid "Cannot create move on centralised journal" +msgstr "" + +#. module: account_banking_make_deposit +#: model:res.groups,name:account_banking_make_deposit.group_make_deposits_verifier +msgid "Make Deposits Verifier" +msgstr "" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,name:0 +msgid "Each deposit will have a unique sequence ID. System generated." +msgstr "" + +#. module: account_banking_make_deposit +#: field:account.move.line,draft_assigned:0 +msgid "Draft Assigned" +msgstr "" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,memo:0 +msgid "Memo" +msgstr "" + diff --git a/account_banking_make_deposit/i18n/fr.po b/account_banking_make_deposit/i18n/fr.po new file mode 100644 index 000000000..577f2dbf3 --- /dev/null +++ b/account_banking_make_deposit/i18n/fr.po @@ -0,0 +1,642 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * account_banking_make_deposit +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-17 00:47+0000\n" +"PO-Revision-Date: 2015-06-16 20:49-0500\n" +"Last-Translator: David Dufresne \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 1.5.4\n" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,move_id:0 +msgid "Link to the automatically generated Journal Items." +msgstr "Lier automatiquement les écritures comptables générées." + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter company Name" +msgstr "Entrer le nom de la société" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit From Account" +msgstr "Dépôt à partir du compte" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,name:0 +msgid "Deposit Ticket #" +msgstr "Numéro de bordereau de dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposit tracking no." +msgstr "Entrer le numéro de repérage" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,deposit_items_id:0 +msgid "Deposit Items ID" +msgstr "ID de la ligne de dépôt" + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,name:0 +msgid "Derived from the related Journal Item." +msgstr "Dérivée de l'écriture comptable" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:436 +#, python-format +msgid "Select Payments for Deposit" +msgstr "Sélectionner les paiements" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,company_id:0 field:deposit.ticket,company_id:0 +#: field:deposit.ticket.line,company_id:0 +msgid "Company" +msgstr "Société" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Order date" +msgstr "Date de dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "To be Reviewed" +msgstr "À réviser" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_method_id:0 +msgid "" +"This is how the deposit was made: Examples: *Teller \n" +"*ATM \n" +"*Remote Deposit Capture \n" +"*Online Deposit Capture \n" +"*Night Drop" +msgstr "Indique comment le dépôt est effectué." + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,amount:0 +msgid "Derived from the 'debit' amount from related Journal Item." +msgstr "Dérivé du montant de débit de l'écriture comptable." + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_Select All" +msgstr "Sélectionner Tout" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,move_line_id:0 +#: field:deposit.ticket.line,move_line_id:0 +msgid "Journal Item" +msgstr "Écriture Comptable" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,amount:0 field:deposit.ticket,amount:0 +#: field:deposit.ticket.line,amount:0 +msgid "Amount" +msgstr "Montant" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,journal_id:0 +msgid "The Journal to hold accounting entries." +msgstr "Le journal dans lequel sera comptabilisé le dépôt." + +#. module: account_banking_make_deposit +#: field:deposit.ticket,ticket_line_ids:0 +#: model:ir.model,name:account_banking_make_deposit.model_deposit_ticket_line +msgid "Deposit Ticket Line" +msgstr "Ligne de bordereau de dépôt" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,ref:0 field:deposit.ticket.line,ref:0 +msgid "Reference" +msgstr "Référence" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Group By..." +msgstr "Grouper par.." + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets" +msgstr "Bordereau de dépôt" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,period_id:0 +msgid "Force Period" +msgstr "Forcer la période" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_Cancel" +msgstr "Annuler" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,memo:0 +msgid "Memo for the deposit ticket" +msgstr "Mémo pour le bordereau de dépôt" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,partner_id:0 +#: field:deposit.ticket.line,partner_id:0 +msgid "Partner" +msgstr "Partenaire" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,move_id:0 +msgid "Journal Entry" +msgstr "Écriture comptable" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,draft_assigned:0 +msgid "Select" +msgstr "Sélectionner" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_bag_no:0 +msgid "Deposit Bag No" +msgstr "Enveloppe de dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter Account Name (from)" +msgstr "Entrez le nom du compte (source)" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter journal name" +msgstr "Entrez le nom du journal" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,company_id:0 +msgid "The Company for which the deposit ticket is made to" +msgstr "La société pour laquelle le dépôt est fait." + +#. module: account_banking_make_deposit +#: help:deposit.ticket,period_id:0 +msgid "Keep empty to use the period of the validation date." +msgstr "Conserver vide si la période est celle de la date de validation." + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 field:deposit.ticket,state:0 +msgid "State" +msgstr "État" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Tracking Information" +msgstr "Information de repérage" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket_line.py:84 +#, python-format +msgid "" +"You cannot add any new deposit ticket line manually as of this revision! " +"Please use the button \"Add Deposit Items\" to add deposit ticket line!" +msgstr "" +"Vous ne pouvex pas ajouter de ligne manuellement dans la version courante. " +"Veuillez utiliser le bouton \"Ajouter des lignes de dépôt\"." + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter Account Name (to)" +msgstr "Entrez le nom du compte" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,prepared_by_user_id:0 +#: help:deposit.ticket,verified_by_user_id:0 +msgid "" +"Entered automatically by the “last user” who saved it. System generated." +msgstr "Dernier usager à avoir modifier le document. Généré par le système." + +#. module: account_banking_make_deposit +#: field:deposit.ticket,count_total:0 +msgid "Total Items" +msgstr "Total général" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_Unselect All" +msgstr "Désélectionner Tout" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Open Periods" +msgstr "Périodes Ouvertes" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,amount:0 +msgid "" +"Calculates the Total of All Deposit Lines – This is the Total Amount of " +"Deposit." +msgstr "Calcule le total des lignes de dépôt." + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_method_id:0 +#: model:ir.actions.act_window,name:account_banking_make_deposit.action_deposit_method +#: model:ir.model,name:account_banking_make_deposit.model_deposit_method +msgid "Deposit Method" +msgstr "Méthode de dépôt" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,bank_tracking_no:0 +msgid "" +"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." +msgstr "Numéro de repérage fourni par la banque ou l'institution financière." + +#. module: account_banking_make_deposit +#: help:deposit.method,name:0 +msgid "Name of the method used for deposit" +msgstr "Méthode utilisée pour le dépôt." + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:63 +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:120 +#, python-format +msgid "User Error" +msgstr "Erreur de validation" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets that have been processed" +msgstr "Dépôts terminés" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Other Information" +msgstr "Autres informations" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,bank_tracking_no:0 +msgid "Deposit Tracking No" +msgstr "Numéro de repérage" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +#: model:ir.actions.act_window,name:account_banking_make_deposit.action_view_add_deposit_items +#: model:ir.model,name:account_banking_make_deposit.model_add_deposit_items +msgid "Add Deposit Items" +msgstr "Ajouter des lignes de dépôt" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_to_account_id:0 +msgid "The Bank/Gl Account the Deposit is being made to." +msgstr "Le compte de destination" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_from_account_id:0 +msgid "The Bank/GL Account the Payments are currently found in." +msgstr "Le compte de provenance du dépôt" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "Select Payments to Deposit" +msgstr "Sélectionner les paiements" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,verified_date:0 +msgid "Date in which Deposit Ticket was verified." +msgstr "Date de validation du dépôt" + +#. module: account_banking_make_deposit +#: model:ir.actions.report.xml,name:account_banking_make_deposit.report_deposit_ticket +msgid "Internal Deposit Ticket" +msgstr "Bordereau de paiement" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter period" +msgstr "Entrez la période" + +#. module: account_banking_make_deposit +#: view:add.deposit.items:0 +msgid "_OK" +msgstr "Valider" + +#. module: account_banking_make_deposit +#: model:ir.model,name:account_banking_make_deposit.model_deposit_items_line +msgid "Deposit Items Line" +msgstr "Lignes de dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter user name who varified" +msgstr "Usager ayant validé le dépôt" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:67 +#, python-format +msgid "" +"Only a member of '%s' group may delete/edit deposit tickets when not in " +"draft state!" +msgstr "" +"Seulement un membre du groupe %s peut suprimer un dépôt qui n'est pas à " +"l'état brouillon." + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,move_line_id:0 +msgid "Related Journal Item." +msgstr "Écritures comptables associées" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:237 +#: view:deposit.ticket:0 +#, python-format +msgid "Draft" +msgstr "Brouillon" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Set to Draft" +msgstr "Mettre à brouillon" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,verified_by_user_id:0 +msgid "Verified By" +msgstr "Validé par" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets that haven't yet been confirmed" +msgstr "Dépôts non validés" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,deposit_bag_no:0 +msgid "Deposit Bag number for courier transit." +msgstr "Enveloppe de dépôt pour courier transit" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_from_account_id:0 +msgid "Deposit From Acct" +msgstr "Compte de provenance" + +#. module: account_banking_make_deposit +#: report:addons/account_banking_make_deposit/report/deposit_ticket.mako:0 +#: view:deposit.ticket:0 +msgid "Deposit Ticket Lines" +msgstr "Lignes de dépôt" + +#. module: account_banking_make_deposit +#: field:deposit.items.line,date:0 field:deposit.ticket.line,date:0 +msgid "Date" +msgstr "Date" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,count_total:0 +msgid "Counts the total # of line items in the deposit ticket." +msgstr "Nombre de lignes de dépôt" + +#. module: account_banking_make_deposit +#: field:account.move.line,deposit_id:0 view:deposit.ticket:0 +#: field:deposit.ticket.line,deposit_id:0 +#: model:ir.actions.act_window,name:account_banking_make_deposit.action_deposit_ticket +#: model:ir.model,name:account_banking_make_deposit.model_deposit_ticket +msgid "Deposit Ticket" +msgstr "Bordereau de paiement" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Search Deposit Tickets" +msgstr "Chercher des bordereaux de paiement" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposite date" +msgstr "Entrez la date de dépôt" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,date:0 +msgid "Date of Deposit" +msgstr "Date de dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter date of varification" +msgstr "Entrez la date de validation" + +#. module: account_banking_make_deposit +#: model:ir.model,name:account_banking_make_deposit.model_account_move_line +msgid "Journal Items" +msgstr "Écritures comptables" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Prepared by me" +msgstr "Préparés par moi" + +#. module: account_banking_make_deposit +#: model:ir.ui.menu,name:account_banking_make_deposit.menu_deposit_methods +msgid "Deposit Methods" +msgstr "Méthodes de dépôt" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:115 +#, python-format +msgid "Error" +msgstr "Erreur" + +#. module: account_banking_make_deposit +#: model:res.groups,name:account_banking_make_deposit.group_make_deposits_preparer +msgid "Make Deposits Preparer" +msgstr "Préparateur de dépôts" + +#. module: account_banking_make_deposit +#: model:ir.actions.act_window,help:account_banking_make_deposit.action_deposit_ticket +msgid "" +"With Deposit Tickets you can create new deposit tickets, by selecting and " +"grouping customer payments, supplier refunds, or other payments into a " +"Deposit Ticket. OpenERP automatically posts accounting entries for “Done” " +"deposit tickets. The GL entry for the deposit is posted into the Current " +"Period based on the date range selected." +msgstr "" +"Vous pouvez grouper des paiement client ou fournisseurs dans un même " +"bordereau de dépôt. Les écritures comptables seront créées automatiquement. " +"La période comptable est fonction de l'intervalle de dates sélectionnées." + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:116 +#, python-format +msgid "Please define sequence on deposit journal" +msgstr "Veuillez définir une séquence sur le journal de dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Process" +msgstr "Effectuer le dépôt" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter memo" +msgstr "Entrez le mémo" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Period" +msgstr "Période" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:239 +#: view:deposit.ticket:0 +#, python-format +msgid "Done" +msgstr "Terminé" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,verified_date:0 +msgid "Verified Date" +msgstr "Date de validation" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:240 +#: view:deposit.ticket:0 +#, python-format +msgid "Cancel" +msgstr "Annuler" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposit method" +msgstr "Entrez la méthode de dépôt" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,prepared_by_user_id:0 +msgid "Prepared By" +msgstr "Préparé par" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter deposit bag no." +msgstr "Entrez le numéro d'enveloppe" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Enter user name who prepared" +msgstr "Entrez l'usager qui a préparé la dépôt" + +#. module: account_banking_make_deposit +#: help:deposit.ticket.line,company_id:0 help:deposit.ticket.line,date:0 +#: help:deposit.ticket.line,partner_id:0 help:deposit.ticket.line,ref:0 +msgid "Derived from related Journal Item." +msgstr "Dérivé de l'écriture de journal" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:238 +#: view:deposit.ticket:0 +#, python-format +msgid "Ready for Review" +msgstr "Prêt pour la révision" + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket_line.py:83 +#: code:addons/account_banking_make_deposit/wizard/add_deposit_items.py:151 +#, python-format +msgid "Processing Error" +msgstr "Erreur de validation" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,deposit_to_account_id:0 +msgid "Deposit To Acct" +msgstr "Compte de destination" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,journal_id:0 +msgid "Journal" +msgstr "Journal" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit Tickets that are ready for review" +msgstr "Bordereaux de dépôt prêts pour la révision" + +#. module: account_banking_make_deposit +#: model:ir.ui.menu,name:account_banking_make_deposit.menu_make_deposit_tickets +msgid "Make Deposits" +msgstr "Préparer un dépôt" + +#. module: account_banking_make_deposit +#: field:add.deposit.items,name:0 field:deposit.items.line,name:0 +#: field:deposit.method,name:0 field:deposit.ticket.line,name:0 +msgid "Name" +msgstr "Nom" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,date:0 +msgid "The Date of the Deposit Ticket." +msgstr "Date du dépôt" + +#. module: account_banking_make_deposit +#: field:add.deposit.items,deposit_items_line_ids:0 +msgid "Lines" +msgstr "Lignes" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Verified by me" +msgstr "Vérifiés par moi" + +#. module: account_banking_make_deposit +#: view:deposit.ticket:0 +msgid "Deposit To Account" +msgstr "Dépôt dans le compte" + +#. module: account_banking_make_deposit +#: help:account.move.line,draft_assigned:0 +msgid "" +"This field is checked when the move line is assigned to a draft deposit " +"ticket. The deposit ticket is not still completely processed" +msgstr "Cochez cette case pour ajouter la ligne au bordereau de paiement." + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/wizard/add_deposit_items.py:152 +#, python-format +msgid "You cannot add any new deposit line item manually as of this revision!" +msgstr "Vous ne pouvez pas créer de ligne de dépôt manuellement." + +#. module: account_banking_make_deposit +#: code:addons/account_banking_make_deposit/models/deposit_ticket.py:121 +#, python-format +msgid "Cannot create move on centralised journal" +msgstr "" +"Vous ne pouvez pas créer d'écriture comptable dans un journal centralisé." + +#. module: account_banking_make_deposit +#: model:res.groups,name:account_banking_make_deposit.group_make_deposits_verifier +msgid "Make Deposits Verifier" +msgstr "Vérificateur de dépôt" + +#. module: account_banking_make_deposit +#: help:deposit.ticket,name:0 +msgid "Each deposit will have a unique sequence ID. System generated." +msgstr "Chaque dépôt a un identifiant séquentiel unique généré par le système." + +#. module: account_banking_make_deposit +#: field:account.move.line,draft_assigned:0 +msgid "Draft Assigned" +msgstr "Assigné" + +#. module: account_banking_make_deposit +#: field:deposit.ticket,memo:0 +msgid "Memo" +msgstr "Mémo" + +#~ msgid "Ref" +#~ msgstr "Référence" + +#~ msgid "Deposit Date" +#~ msgstr "Date de dépôt" + +#~ msgid "Customer" +#~ msgstr "Client" diff --git a/account_banking_make_deposit/models/__init__.py b/account_banking_make_deposit/models/__init__.py new file mode 100644 index 000000000..fe185cca8 --- /dev/null +++ b/account_banking_make_deposit/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +from . import deposit_ticket +from . import deposit_ticket_line +from . import deposit_method +from . import account_move_line diff --git a/account_banking_make_deposit/models/account_move_line.py b/account_banking_make_deposit/models/account_move_line.py new file mode 100644 index 000000000..a28b91cf9 --- /dev/null +++ b/account_banking_make_deposit/models/account_move_line.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +from openerp.osv import orm, fields + + +class account_move_line(orm.Model): + + """Account move line.""" + + _inherit = 'account.move.line' + _columns = { + 'draft_assigned': fields.boolean( + 'Draft Assigned', + help=( + "This field is checked when the move line is assigned " + "to a draft deposit ticket. The deposit ticket is not " + "still completely processed" + ), + ), + 'deposit_id': fields.many2one( + 'deposit.ticket', + 'Deposit Ticket' + ) + } diff --git a/account_banking_make_deposit/models/deposit_method.py b/account_banking_make_deposit/models/deposit_method.py new file mode 100644 index 000000000..8e0adbb1f --- /dev/null +++ b/account_banking_make_deposit/models/deposit_method.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +from openerp.osv import fields, orm + + +class deposit_method(orm.Model): + _name = "deposit.method" + _description = "Deposit Method" + _columns = { + 'name': fields.char( + 'Name', size=64, + required=True, + help='Name of the method used for deposit' + ) + } diff --git a/account_banking_make_deposit/models/deposit_ticket.py b/account_banking_make_deposit/models/deposit_ticket.py new file mode 100644 index 000000000..621298ee3 --- /dev/null +++ b/account_banking_make_deposit/models/deposit_ticket.py @@ -0,0 +1,446 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +import time + +from openerp.osv import fields, orm +from openerp.tools.translate import _ +import decimal_precision as dp + + +class deposit_ticket(orm.Model): + _name = "deposit.ticket" + _description = "Deposit Ticket" + + def check_group(self, cr, uid, ids, context=None): + """ + Check 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. + """ + model_data_obj = self.pool.get('ir.model.data') + res_groups_obj = self.pool.get('res.groups') + group_verifier_id = model_data_obj._get_id( + cr, uid, + 'account_banking_make_deposit', 'group_make_deposits_verifier' + ) + for deposit in self.browse(cr, uid, ids, context=context): + if group_verifier_id: + res_id = model_data_obj.read( + cr, uid, [group_verifier_id], ['res_id'] + )[0]['res_id'] + + group_verifier = res_groups_obj.browse( + cr, uid, res_id, context=context + ) + group_user_ids = [user.id for user in group_verifier.users] + if deposit.state != 'draft' and uid not in group_user_ids: + raise orm.except_orm( + _('User Error'), + _( + "Only a member of '%s' group may delete/edit " + "deposit tickets when not in draft state!" % + (group_verifier.name) + ) + ) + return True + + def unlink(self, cr, uid, ids, context=None): + # Check if the user is allowed to perform the action + self.check_group(cr, uid, ids, context) + # Call the method necessary to remove the changes made earlier + self.remove_all(cr, uid, ids, context=context) + return super(deposit_ticket, self).unlink( + cr, uid, ids, context=context + ) + + def write(self, cr, uid, ids, vals, context=None): + # Check if the user is allowed to perform the action + self.check_group(cr, uid, ids, context) + return super(deposit_ticket, self).write( + cr, uid, ids, vals, context=context + ) + + def action_cancel(self, cr, uid, ids, context=None): + # Call the method necessary to remove the changes made earlier + self.remove_all(cr, uid, ids, context=context) + self.write(cr, uid, ids, {'state': 'cancel'}, context=context) + return True + + def action_review(self, cr, uid, ids, context=None): + self.write(cr, uid, ids, { + 'state': 'to_be_reviewed', + 'prepared_by_user_id': uid + }, context=context) + return True + + def action_process(self, cr, uid, ids, context=None): + """ + Do 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. + """ + move_lines = [] + for deposit in self.browse(cr, uid, ids, context=context): + if not deposit.journal_id.sequence_id: + raise orm.except_orm( + _('Error'), + _('Please define sequence on deposit journal') + ) + if deposit.journal_id.centralisation: + raise orm.except_orm( + _('User Error'), + _('Cannot create move on centralised journal') + ) + # Create the move lines first + move_lines.append( + (0, 0, self.get_move_line(cr, uid, deposit, 'src')) + ) + move_lines.append( + (0, 0, self.get_move_line(cr, uid, deposit, 'dest')) + ) + # Create the move for the deposit + move = { + 'ref': deposit.deposit_bag_no, + 'name': '/', + 'line_id': move_lines, + 'journal_id': deposit.journal_id.id, + 'date': deposit.date, + 'narration': deposit.deposit_bag_no, + 'deposit_id': deposit.id + } + move_id = self.pool.get('account.move').create( + cr, uid, move, context=context + ) + # Post the account move + self.pool.get('account.move').post(cr, uid, [move_id]) + # Link the move with the deposit and populate other fields + self.write(cr, uid, [deposit.id], { + 'move_id': move_id, + 'state': 'done', + 'verified_by_user_id': uid, + 'verified_date': time.strftime('%Y-%m-%d') + }, context=context) + + return True + + def get_move_line(self, cr, uid, deposit, type, context=None): + return { + 'type': type, + 'name': deposit.name or '/', + 'debit': type == 'dest' and deposit.amount or 0.0, + 'credit': type == 'src' and deposit.amount or 0.0, + 'account_id': ( + type == 'src' and + deposit.deposit_from_account_id.id or + deposit.deposit_to_account_id.id + ), + 'date': deposit.date, + 'ref': deposit.deposit_bag_no or '', + 'deposit_id': deposit.id + } + + def remove_all(self, cr, uid, ids, context=None): + """ + Reset 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. + """ + account_move_line_obj = self.pool.get('account.move.line') + account_move_obj = self.pool.get('account.move') + move_line_ids = [] + vals = { + 'draft_assigned': False, + 'deposit_id': False + } + for deposit in self.browse(cr, uid, ids, context=context): + move_line_ids = map(lambda x: x.move_line_id.id, + deposit.ticket_line_ids) + if deposit.move_id: + # Cancel the posted account move + account_move_obj.button_cancel( + cr, uid, [deposit.move_id.id], context=context + ) + # Finally, delete the account move + account_move_obj.unlink( + cr, uid, [deposit.move_id.id], context=context + ) + vals['draft_assigned'] = True + + account_move_line_obj.write( + cr, uid, move_line_ids, vals, context=context + ) + return True + + def action_cancel_draft(self, cr, uid, ids, context=None): + # Call the method necessary to remove the changes made earlier + self.remove_all(cr, uid, ids, context=context) + self.write(cr, uid, ids, { + 'state': 'draft', + 'verified_by_user_id': False, + 'verified_date': False, + 'prepared_by_user_id': False + }, context=context) + return True + + def _get_period(self, cr, uid, context=None): + periods = self.pool.get('account.period').find(cr, uid) + return periods and periods[0] or False + + def _get_amount(self, cr, uid, ids, name, args, context=None): + res = {} + for deposit in self.browse(cr, uid, ids, context=context): + sum = 0.0 + for line in deposit.ticket_line_ids: + sum += line.amount + res[deposit.id] = sum + return res + + def _get_count_total(self, cr, uid, ids, name, args, context=None): + res = {} + for deposit in self.browse(cr, uid, ids, context=context): + res[deposit.id] = len(deposit.ticket_line_ids) + return res + + def get_deposit_states(self, cr, uid, context=None): + return [ + ('draft', _('Draft')), + ('to_be_reviewed', _('Ready for Review')), + ('done', _('Done')), + ('cancel', _('Cancel')), + ] + + def get_state(self, cr, uid, ids, context=None): + if isinstance(ids, (int, long)): + ids = [ids] + + assert len(ids) == 1, 'Expected one record' + + deposit = self.browse(cr, uid, ids[0], context=context) + + states = { + s[0]: s[1] for s in + self.get_deposit_states(cr, uid, context=context) + } + + return states[deposit.state] + + _columns = { + 'memo': fields.char( + 'Memo', + size=64, + states={'done': [('readonly', True)]}, + help="Memo for the deposit ticket", + ), + 'deposit_to_account_id': fields.many2one( + 'account.account', + 'Deposit To Acct', + required=True, + states={'done': [('readonly', True)]}, + domain="[('company_id', '=', company_id), ('type', '!=', 'view')]", + help="The Bank/Gl Account the Deposit is being made to.", + ), + 'deposit_from_account_id': fields.many2one( + 'account.account', + 'Deposit From Acct', + required=True, + states={'done': [('readonly', True)]}, + domain="[('company_id', '=', company_id), ('type', '!=', 'view')]", + help="The Bank/GL Account the Payments are currently found in.", + ), + 'date': fields.date( + 'Date of Deposit', + required=True, + states={'done': [('readonly', True)]}, + help="The Date of the Deposit Ticket." + ), + 'journal_id': fields.many2one( + 'account.journal', + 'Journal', + required=True, + states={'done': [('readonly', True)]}, + help="The Journal to hold accounting entries." + ), + 'company_id': fields.many2one( + 'res.company', + 'Company', + required=True, + readonly=True, + help="The Company for which the deposit ticket is made to" + ), + 'period_id': fields.many2one( + 'account.period', + 'Force Period', + required=True, + states={'done': [('readonly', True)]}, + help="The period used for the accounting entries.", + ), + 'deposit_method_id': fields.many2one( + 'deposit.method', + 'Deposit Method', + states={'done': [('readonly', True)]}, + help=( + "This is how the deposit was made: Examples: " + "*Teller \n" + "*ATM \n" + "*Remote Deposit Capture \n" + "*Online Deposit Capture \n" + "*Night Drop" + ) + ), + 'verified_date': fields.date( + 'Verified Date', + states={'done': [('readonly', True)]}, + help="Date in which Deposit Ticket was verified." + ), + 'prepared_by_user_id': fields.many2one( + 'res.users', + 'Prepared By', + states={'done': [('readonly', True)]}, + help=( + "Entered automatically by the “last user” who saved it." + " System generated." + ), + ), + 'verified_by_user_id': fields.many2one( + 'res.users', + 'Verified By', + states={'done': [('readonly', True)]}, + help=( + "Entered automatically by the “last user”" + " who saved it. System generated." + ), + ), + 'deposit_bag_no': fields.char( + 'Deposit Bag No', + size=64, + states={'done': [('readonly', True)]}, + help="Deposit Bag number for courier transit." + ), + 'bank_tracking_no': fields.char( + 'Deposit Tracking No', + size=64, + help=( + "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." + ), + ), + 'move_id': fields.many2one( + 'account.move', + 'Journal Entry', + readonly=True, + select=1, + help="Link to the automatically generated Journal Items." + ), + 'name': fields.related( + 'move_id', + 'name', + type='char', + readonly=True, + size=64, + relation='account.move', + string='Deposit Ticket #', + help=( + "Each deposit will have a unique sequence ID. " + "System generated." + ), + ), + 'ticket_line_ids': fields.one2many( + 'deposit.ticket.line', + 'deposit_id', + 'Deposit Ticket Line', + states={'done': [('readonly', True)]} + ), + 'amount': fields.function( + _get_amount, + method=True, + string='Amount', + digits_compute=dp.get_precision('Account'), + type='float', + help=( + "Calculates the Total of All Deposit Lines – " + "This is the Total Amount of Deposit." + ), + ), + 'count_total': fields.function( + _get_count_total, + method=True, + type='float', + string='Total Items', + help="Counts the total # of line items in the deposit ticket." + ), + 'state': fields.selection( + lambda self, cr, uid, context={}: self.get_deposit_states( + cr, uid, context=context), + 'State', + select=True, + readonly=True + ), + } + + _defaults = { + 'state': 'draft', + 'period_id': _get_period, + 'date': time.strftime('%Y-%m-%d'), + 'company_id': ( + lambda self, cr, uid, c: + self.pool.get('res.users').browse( + cr, uid, uid, c + ).company_id.id + ), + } + + # the most recent deposits displays first + _order = "date desc" + + def add_deposit_items(self, cr, uid, ids, context=None): + """ + Display the wizard to allow the 'Deposit Preparer' + to select payments for deposit. + """ + if context is None: + context = {} + return { + 'name': _("Select Payments for Deposit"), + 'view_mode': 'form', + 'view_id': False, + 'view_type': 'form', + 'res_model': 'add.deposit.items', + 'type': 'ir.actions.act_window', + 'nodestroy': True, + 'target': 'new', + 'domain': '[]', + 'context': dict(context, active_ids=ids) + } diff --git a/account_banking_make_deposit/models/deposit_ticket_line.py b/account_banking_make_deposit/models/deposit_ticket_line.py new file mode 100644 index 000000000..1fa8020f7 --- /dev/null +++ b/account_banking_make_deposit/models/deposit_ticket_line.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +from openerp.osv import fields, orm +from openerp.tools.translate import _ +import decimal_precision as dp + + +class deposit_ticket_line(orm.Model): + _name = "deposit.ticket.line" + _description = "Deposit Ticket Line" + _columns = { + 'name': fields.char( + 'Name', + size=64, + required=True, + help="Derived from the related Journal Item." + ), + 'ref': fields.char( + 'Reference', + size=64, + help="Derived from related Journal Item." + ), + 'partner_id': fields.many2one( + 'res.partner', + string='Partner', + help="Derived from related Journal Item." + ), + 'amount': fields.float( + 'Amount', + digits_compute=dp.get_precision('Account'), + help="Derived from the 'debit' amount from related Journal Item." + ), + 'date': fields.date( + 'Date', + required=True, + help="Derived from related Journal Item." + ), + 'deposit_id': fields.many2one( + 'deposit.ticket', + 'Deposit Ticket', + required=True, + ondelete='cascade' + ), + 'company_id': fields.related( + 'deposit_id', + 'company_id', + type='many2one', + relation='res.company', + string='Company', + readonly=True, + help="Derived from related Journal Item." + ), + 'move_line_id': fields.many2one( + 'account.move.line', + 'Journal Item', + help="Related Journal Item." + ), + } + + def create(self, cr, uid, vals, context=None): + # Any Line cannot be manually added. Use the wizard to add lines. + if not vals.get('move_line_id', False): + raise orm.except_orm( + _('Processing Error'), + _( + 'You cannot add any new deposit ticket line ' + 'manually as of this revision! ' + 'Please use the button "Add Deposit ' + 'Items" to add deposit ticket line!' + ) + ) + return super(deposit_ticket_line, self).create( + cr, uid, vals, context=context + ) + + def unlink(self, cr, uid, ids, context=None): + """ + Set the 'draft_assigned' field to False for related account move + lines to allow to be entered for another deposit. + """ + account_move_line_obj = self.pool.get('account.move.line') + move_line_ids = [ + line.move_line_id.id + for line in self.browse(cr, uid, ids, context=context) + ] + account_move_line_obj.write( + cr, uid, move_line_ids, {'draft_assigned': False}, context=context + ) + return super(deposit_ticket_line, self).unlink( + cr, uid, ids, context=context + ) diff --git a/account_banking_make_deposit/report/__init__.py b/account_banking_make_deposit/report/__init__.py new file mode 100644 index 000000000..278eb437c --- /dev/null +++ b/account_banking_make_deposit/report/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +from . import deposit_ticket diff --git a/account_banking_make_deposit/report/deposit_ticket.mako b/account_banking_make_deposit/report/deposit_ticket.mako new file mode 100644 index 000000000..e4552bad9 --- /dev/null +++ b/account_banking_make_deposit/report/deposit_ticket.mako @@ -0,0 +1,141 @@ + + + + + + <%page expression_filter="entity" /> + <% + def carriage_returns(text): + return text.replace('\n', '
') + %> + + %for deposit_ticket in objects: + <% setLang(user.lang) %> + +

${deposit_ticket.name or ''}

+ + + + + + + + + + + + + + + + + + +
${_("Deposit From Account")}${_("Deposit To Account")}${_("Deposit Date")}${_("Journal")}${_("Force Period")}${_("Company")}
${deposit_ticket.deposit_from_account_id.name}${deposit_ticket.deposit_to_account_id.name}${formatLang(deposit_ticket.date, date=True)}${deposit_ticket.journal_id and deposit_ticket.journal_id.name}${deposit_ticket.period_id.name}${deposit_ticket.company_id and deposit_ticket.company_id.name or ''}
+ +
+ + + + + + + + + + + + + + + + + + +
${_("Deposit Method")}${_("Deposit Bag No")}${_("Deposit Tracking No")}${_("Total Items")}${_("Amount")}${_("Memo")}
${deposit_ticket.deposit_method_id and deposit_ticket.deposit_method_id.name or ''}${deposit_ticket.deposit_bag_no or ''}${deposit_ticket.bank_tracking_no or ''}${formatLang(deposit_ticket.count_total)}${formatLang(deposit_ticket.amount)}${deposit_ticket.memo or ''}
+ +
+ + + + + + + + + + + + + + +
${_("Prepared By")}${_("Verified By")}${_("Verified Date")}${_("State")}
${deposit_ticket.prepared_by_user_id and deposit_ticket.prepared_by_user_id.name or ''}${deposit_ticket.verified_by_user_id and deposit_ticket.verified_by_user_id.name or ''}${formatLang(deposit_ticket.verified_date or '',date=True)}${deposit_ticket.get_state()}
+ +
+ +

${_("Deposit Ticket Lines")}

+ + + + + + + + + + + %for line in deposit_ticket.ticket_line_ids: + + + + + + + + + %endfor +
${_("Date")}${_("Name")}${_("Ref")}${_("Customer")}${_("Amount")}${_("Company")}
${formatLang(line.date, date=True)} ${line.name} ${line.ref or ''} ${line.partner_id.name or ''} ${formatLang(line.amount or '')} ${line.company_id.name or ''}
+
+ %endfor + + diff --git a/account_banking_make_deposit/report/deposit_ticket.py b/account_banking_make_deposit/report/deposit_ticket.py new file mode 100644 index 000000000..2407b8b7f --- /dev/null +++ b/account_banking_make_deposit/report/deposit_ticket.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 NovaPoint Group LLC () +# Copyright (C) 2004-2010 OpenERP SA () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# +############################################################################## +import time +from openerp.report import report_sxw + + +class deposit_ticket_webkit(report_sxw.rml_parse): + def __init__(self, cr, uid, name, context): + super(deposit_ticket_webkit, self).__init__( + cr, uid, name, context=context + ) + self.localcontext.update({ + 'time': time, + 'cr': cr, + 'uid': uid, + }) + +report_sxw.report_sxw( + 'report.deposit.ticket.webkit', + 'deposit.ticket', + 'addons/deposit_ticket_report_webkit/report/deposit_ticket.mako', + parser=deposit_ticket_webkit +) diff --git a/account_banking_make_deposit/report/deposit_ticket.xml b/account_banking_make_deposit/report/deposit_ticket.xml new file mode 100644 index 000000000..217627aaa --- /dev/null +++ b/account_banking_make_deposit/report/deposit_ticket.xml @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/account_banking_make_deposit/security/account_banking_make_deposit_security.xml b/account_banking_make_deposit/security/account_banking_make_deposit_security.xml new file mode 100644 index 000000000..529548b24 --- /dev/null +++ b/account_banking_make_deposit/security/account_banking_make_deposit_security.xml @@ -0,0 +1,32 @@ + + + + + + + + Make Deposits Preparer + + + + Make Deposits Verifier + + + + + + + + + + + + + Deposit Tickets + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + + + diff --git a/account_banking_make_deposit/security/ir.model.access.csv b/account_banking_make_deposit/security/ir.model.access.csv new file mode 100644 index 000000000..47df97bf2 --- /dev/null +++ b/account_banking_make_deposit/security/ir.model.access.csv @@ -0,0 +1,7 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"access_deposit_ticket_preparer","access.deposit.ticket.preparer","model_deposit_ticket","group_make_deposits_preparer",1,1,1,1 +"access_deposit_ticket_verifier","access.deposit.ticket.verifier","model_deposit_ticket","group_make_deposits_verifier",1,1,1,1 +"access_deposit_ticket_line_preparer","access.deposit.ticket.line.preparer","model_deposit_ticket_line","group_make_deposits_preparer",1,1,1,1 +"access_deposit_ticket_line_verifier","access.deposit.ticket.line.verifier","model_deposit_ticket_line","group_make_deposits_verifier",1,0,0,0 +"access_deposit_method_user","access.deposit.method.user","model_deposit_method","account.group_account_user",1,0,0,0 +"access_deposit_method_manager","access.deposit.method.manager","model_deposit_method","account.group_account_manager",1,1,1,1 diff --git a/account_banking_make_deposit/views/account_move_line.xml b/account_banking_make_deposit/views/account_move_line.xml new file mode 100644 index 000000000..c7a8e7a47 --- /dev/null +++ b/account_banking_make_deposit/views/account_move_line.xml @@ -0,0 +1,30 @@ + + + + + + + + account.move.line.deposit.id + account.move.line + + + + + + + + + + account.move.line.form.deposit.id + account.move.line + + + + + + + + + + diff --git a/account_banking_make_deposit/views/deposit_method.xml b/account_banking_make_deposit/views/deposit_method.xml new file mode 100644 index 000000000..16835b56f --- /dev/null +++ b/account_banking_make_deposit/views/deposit_method.xml @@ -0,0 +1,23 @@ + + + + + + + + Deposit Method + ir.actions.act_window + deposit.method + form + tree,form + + + + + + diff --git a/account_banking_make_deposit/views/deposit_ticket.xml b/account_banking_make_deposit/views/deposit_ticket.xml new file mode 100644 index 000000000..29a7d732a --- /dev/null +++ b/account_banking_make_deposit/views/deposit_ticket.xml @@ -0,0 +1,153 @@ + + + + + + + + deposit.ticket.tree + deposit.ticket + 2 + + + + + + + + + + + + + + + + + deposit.ticket.form + deposit.ticket + +
+
+
+ + + + + + + + + + + + + + +