[IMP] account_banking_make_deposit

This commit is contained in:
Maxime Chambreuil
2020-05-06 18:56:03 -05:00
parent b4c9fe0eaf
commit 0c7dde9451
5 changed files with 26 additions and 18 deletions

View File

@@ -15,6 +15,7 @@
"account_cancel",
],
"data": [
"data/deposit_method.xml",
"security/res_groups.xml",
"security/ir_rule.xml",
"security/ir.model.access.csv",
@@ -25,9 +26,6 @@
"report/deposit_ticket_report.xml",
"wizard/add_deposit_items.xml",
],
"demo": [
"demo/deposit_method.xml"
],
"development_status": "Beta",
"maintainers": ["max3903"],
}

View File

@@ -20,4 +20,8 @@
<field name="name">Night Drop</field>
</record>
<record id="deposit_method_armored_vehicle" model="deposit.method">
<field name="name">Armored Vehicle</field>
</record>
</odoo>

View File

@@ -593,16 +593,21 @@ msgstr "Ese campo tiene el numéro de rastreo del banco en caso de deposito remo
#. module: account_banking_make_deposit
#: model:ir.model.fields,help:account_banking_make_deposit.field_deposit_ticket__deposit_method_id
msgid "This is how the deposit was made: Examples: *Teller \n"
"*ATM \n"
"*Remote Deposit Capture \n"
"*Online Deposit Capture \n"
"*Night Drop"
msgstr "Como se hizo el deposito: * Ventanilla \n"
msgid "This is how the deposit was made:\n"
"Examples:"
"* Teller \n"
"* ATM \n"
"* Remote Deposit Capture \n"
"* Online Deposit Capture \n"
"* Night Drop \n"
"* Armored Vehicle"
msgstr "Como se hizo el deposito:\n"
"* Ventanilla \n"
"* Cajero automatico \n"
"* Captura remota \n"
"* Captura en linea \n"
"* Deposito de noche"
"* Deposito de noche \n"
"* Vehiculo blindado"
#. module: account_banking_make_deposit
#: model:ir.model,name:account_banking_make_deposit.model_report_account_banking_make_deposit_quickbooks_ticket

View File

@@ -9,5 +9,5 @@ class DepositMethod(models.Model):
_name = "deposit.method"
_description = "Deposit Method"
name = fields.Char(string="Name",
help="Name of the method used for deposit")
name = fields.Char(string="Name", translate=True,
help="Name of the method used to deposit")

View File

@@ -217,12 +217,13 @@ class DepositTicket(models.Model):
'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"
"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"
)
)
verified_date = fields.Date(