Skip to content
Snippets Groups Projects
Commit 57e93f49 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] account: missing labels on some fields

And reexport some missign terms
parent 7be2403c
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 9.0\n" "Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-18 08:05+0000\n" "POT-Creation-Date: 2015-12-17 14:09+0000\n"
"PO-Revision-Date: 2015-11-18 08:05+0000\n" "PO-Revision-Date: 2015-12-17 14:09+0000\n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -18,7 +18,7 @@ msgstr "" ...@@ -18,7 +18,7 @@ msgstr ""
#. module: account #. module: account
#: model:mail.template,body_html:account.email_template_edi_invoice #: model:mail.template,body_html:account.email_template_edi_invoice
msgid "\n" msgid "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n" "<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <p>Hello ${object.partner_id.name},</p>\n" " <p>Hello ${object.partner_id.name},</p>\n"
" <p>A new invoice is available for you: </p>\n" " <p>A new invoice is available for you: </p>\n"
" \n" " \n"
...@@ -2101,19 +2101,14 @@ msgstr "" ...@@ -2101,19 +2101,14 @@ msgstr ""
msgid "Cashbox Lines" msgid "Cashbox Lines"
msgstr "" msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement_cashbox_end_id
msgid "Cashbox end id"
msgstr ""
#. module: account #. module: account
#: model:ir.model.fields,field_description:account.field_account_cashbox_line_cashbox_id #: model:ir.model.fields,field_description:account.field_account_cashbox_line_cashbox_id
msgid "Cashbox id" msgid "Cashbox"
msgstr "" msgstr ""
#. module: account #. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement_cashbox_start_id #: model:ir.model.fields,field_description:account.field_account_bank_statement_cashbox_cashbox_lines_ids
msgid "Cashbox start id" msgid "Cashbox Lines"
msgstr "" msgstr ""
#. module: account #. module: account
...@@ -2806,7 +2801,9 @@ msgstr "" ...@@ -2806,7 +2801,9 @@ msgstr ""
#. module: account #. module: account
#: model:ir.model.fields,field_description:account.field_account_abstract_payment_currency_id #: model:ir.model.fields,field_description:account.field_account_abstract_payment_currency_id
#: model:ir.model.fields,field_description:account.field_account_bank_statement_currency_id
#: model:ir.model.fields,field_description:account.field_account_bank_statement_line_currency_id #: model:ir.model.fields,field_description:account.field_account_bank_statement_line_currency_id
#: model:ir.model.fields,field_description:account.field_account_bank_statement_line_journal_currency_id
#: model:ir.model.fields,field_description:account.field_account_chart_template_currency_id #: model:ir.model.fields,field_description:account.field_account_chart_template_currency_id
#: model:ir.model.fields,field_description:account.field_account_invoice_company_currency_id #: model:ir.model.fields,field_description:account.field_account_invoice_company_currency_id
#: model:ir.model.fields,field_description:account.field_account_invoice_currency_id #: model:ir.model.fields,field_description:account.field_account_invoice_currency_id
...@@ -2815,6 +2812,7 @@ msgstr "" ...@@ -2815,6 +2812,7 @@ msgstr ""
#: model:ir.model.fields,field_description:account.field_account_invoice_report_currency_id #: model:ir.model.fields,field_description:account.field_account_invoice_report_currency_id
#: model:ir.model.fields,field_description:account.field_account_invoice_tax_currency_id #: model:ir.model.fields,field_description:account.field_account_invoice_tax_currency_id
#: model:ir.model.fields,field_description:account.field_account_journal_currency_id #: model:ir.model.fields,field_description:account.field_account_journal_currency_id
#: model:ir.model.fields,field_description:account.field_account_move_currency_id
#: model:ir.model.fields,field_description:account.field_account_move_line_company_currency_id #: model:ir.model.fields,field_description:account.field_account_move_line_company_currency_id
#: model:ir.model.fields,field_description:account.field_account_move_line_currency_id #: model:ir.model.fields,field_description:account.field_account_move_line_currency_id
#: model:ir.model.fields,field_description:account.field_account_partial_reconcile_company_currency_id #: model:ir.model.fields,field_description:account.field_account_partial_reconcile_company_currency_id
...@@ -2822,6 +2820,7 @@ msgstr "" ...@@ -2822,6 +2820,7 @@ msgstr ""
#: model:ir.model.fields,field_description:account.field_account_partial_reconcile_currency_id #: model:ir.model.fields,field_description:account.field_account_partial_reconcile_currency_id
#: model:ir.model.fields,field_description:account.field_account_payment_currency_id #: model:ir.model.fields,field_description:account.field_account_payment_currency_id
#: model:ir.model.fields,field_description:account.field_account_register_payments_currency_id #: model:ir.model.fields,field_description:account.field_account_register_payments_currency_id
#: model:ir.model.fields,field_description:account.field_res_partner_currency_id
#: model:ir.model.fields,field_description:account.field_wizard_multi_charts_accounts_currency_id #: model:ir.model.fields,field_description:account.field_wizard_multi_charts_accounts_currency_id
#: model:ir.ui.view,arch_db:account.report_generalledger #: model:ir.ui.view,arch_db:account.report_generalledger
#: model:ir.ui.view,arch_db:account.view_account_payment_search #: model:ir.ui.view,arch_db:account.view_account_payment_search
...@@ -2840,20 +2839,12 @@ msgid "Currency as per company's country." ...@@ -2840,20 +2839,12 @@ msgid "Currency as per company's country."
msgstr "" msgstr ""
#. module: account #. module: account
#: code:addons/account/models/account_move.py:1168 #: code:addons/account/models/account_move.py:1180
#: code:addons/account/models/account_move.py:1176 #: code:addons/account/models/account_move.py:1188
#, python-format #, python-format
msgid "Currency exchange rate difference" msgid "Currency exchange rate difference"
msgstr "" msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement_currency_id
#: model:ir.model.fields,field_description:account.field_account_bank_statement_line_journal_currency_id
#: model:ir.model.fields,field_description:account.field_account_move_currency_id
#: model:ir.model.fields,field_description:account.field_res_partner_currency_id
msgid "Currency id"
msgstr ""
#. module: account #. module: account
#: model:account.account.type,name:account.data_account_type_current_assets #: model:account.account.type,name:account.data_account_type_current_assets
#: model:ir.ui.view,arch_db:account.view_account_form #: model:ir.ui.view,arch_db:account.view_account_form
...@@ -3465,6 +3456,11 @@ msgstr "" ...@@ -3465,6 +3456,11 @@ msgstr ""
msgid "Ending Balance" msgid "Ending Balance"
msgstr "" msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement_cashbox_end_id
msgid "Ending Cashbox"
msgstr ""
#. module: account #. module: account
#: model:ir.ui.view,arch_db:account.account_planner #: model:ir.ui.view,arch_db:account.account_planner
msgid "Enjoy your Odoo experience," msgid "Enjoy your Odoo experience,"
...@@ -5248,12 +5244,6 @@ msgstr "" ...@@ -5248,12 +5244,6 @@ msgstr ""
msgid "Messages" msgid "Messages"
msgstr "" msgstr ""
#. module: account
#: model:ir.model.fields,help:account.field_account_bank_statement_message_ids
#: model:ir.model.fields,help:account.field_account_invoice_message_ids
msgid "Messages and communication history"
msgstr ""
#. module: account #. module: account
#: selection:account.journal,type:0 #: selection:account.journal,type:0
#: model:ir.ui.view,arch_db:account.view_account_journal_form #: model:ir.ui.view,arch_db:account.view_account_journal_form
...@@ -7209,6 +7199,11 @@ msgstr "" ...@@ -7209,6 +7199,11 @@ msgstr ""
msgid "Starting Balance" msgid "Starting Balance"
msgstr "" msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement_cashbox_start_id
msgid "Starting Cashbox"
msgstr ""
#. module: account #. module: account
#: model:ir.ui.view,arch_db:account.view_account_payment_search #: model:ir.ui.view,arch_db:account.view_account_payment_search
msgid "State" msgid "State"
......
...@@ -26,7 +26,7 @@ class AccountCashboxLine(models.Model): ...@@ -26,7 +26,7 @@ class AccountCashboxLine(models.Model):
coin_value = fields.Float(string='Coin/Bill Value', required=True, digits=0) coin_value = fields.Float(string='Coin/Bill Value', required=True, digits=0)
number = fields.Integer(string='Number of Coins/Bills', help='Opening Unit Numbers') number = fields.Integer(string='Number of Coins/Bills', help='Opening Unit Numbers')
subtotal = fields.Float(compute='_sub_total', string='Subtotal', digits=0, readonly=True) subtotal = fields.Float(compute='_sub_total', string='Subtotal', digits=0, readonly=True)
cashbox_id = fields.Many2one('account.bank.statement.cashbox') cashbox_id = fields.Many2one('account.bank.statement.cashbox', string="Cashbox")
class AccountBankStmtCashWizard(models.Model): class AccountBankStmtCashWizard(models.Model):
...@@ -132,7 +132,7 @@ class AccountBankStatement(models.Model): ...@@ -132,7 +132,7 @@ class AccountBankStatement(models.Model):
balance_start = fields.Monetary(string='Starting Balance', states={'confirm': [('readonly', True)]}, default=_default_opening_balance) balance_start = fields.Monetary(string='Starting Balance', states={'confirm': [('readonly', True)]}, default=_default_opening_balance)
balance_end_real = fields.Monetary('Ending Balance', states={'confirm': [('readonly', True)]}) balance_end_real = fields.Monetary('Ending Balance', states={'confirm': [('readonly', True)]})
state = fields.Selection([('open', 'New'), ('confirm', 'Validated')], string='Status', required=True, readonly=True, copy=False, default='open') state = fields.Selection([('open', 'New'), ('confirm', 'Validated')], string='Status', required=True, readonly=True, copy=False, default='open')
currency_id = fields.Many2one('res.currency', compute='_compute_currency', oldname='currency') currency_id = fields.Many2one('res.currency', compute='_compute_currency', oldname='currency', string="Currency")
journal_id = fields.Many2one('account.journal', string='Journal', required=True, states={'confirm': [('readonly', True)]}, default=_default_journal) journal_id = fields.Many2one('account.journal', string='Journal', required=True, states={'confirm': [('readonly', True)]}, default=_default_journal)
journal_type = fields.Selection(related='journal_id.type', help="Technical field used for usability purposes") journal_type = fields.Selection(related='journal_id.type', help="Technical field used for usability purposes")
company_id = fields.Many2one('res.company', related='journal_id.company_id', string='Company', store=True, readonly=True, company_id = fields.Many2one('res.company', related='journal_id.company_id', string='Company', store=True, readonly=True,
...@@ -146,8 +146,8 @@ class AccountBankStatement(models.Model): ...@@ -146,8 +146,8 @@ class AccountBankStatement(models.Model):
move_line_ids = fields.One2many('account.move.line', 'statement_id', string='Entry lines', states={'confirm': [('readonly', True)]}) move_line_ids = fields.One2many('account.move.line', 'statement_id', string='Entry lines', states={'confirm': [('readonly', True)]})
all_lines_reconciled = fields.Boolean(compute='_check_lines_reconciled') all_lines_reconciled = fields.Boolean(compute='_check_lines_reconciled')
user_id = fields.Many2one('res.users', string='Responsible', required=False, default=lambda self: self.env.user) user_id = fields.Many2one('res.users', string='Responsible', required=False, default=lambda self: self.env.user)
cashbox_start_id = fields.Many2one('account.bank.statement.cashbox') cashbox_start_id = fields.Many2one('account.bank.statement.cashbox', string="Starting Cashbox")
cashbox_end_id = fields.Many2one('account.bank.statement.cashbox') cashbox_end_id = fields.Many2one('account.bank.statement.cashbox', string="Ending Cashbox")
@api.onchange('journal_id') @api.onchange('journal_id')
......
...@@ -73,7 +73,7 @@ class AccountMove(models.Model): ...@@ -73,7 +73,7 @@ class AccountMove(models.Model):
ref = fields.Char(string='Reference', copy=False) ref = fields.Char(string='Reference', copy=False)
date = fields.Date(required=True, states={'posted': [('readonly', True)]}, index=True, default=fields.Date.context_today) date = fields.Date(required=True, states={'posted': [('readonly', True)]}, index=True, default=fields.Date.context_today)
journal_id = fields.Many2one('account.journal', string='Journal', required=True, states={'posted': [('readonly', True)]}, default=_get_default_journal) journal_id = fields.Many2one('account.journal', string='Journal', required=True, states={'posted': [('readonly', True)]}, default=_get_default_journal)
currency_id = fields.Many2one('res.currency', compute='_compute_currency', store=True) currency_id = fields.Many2one('res.currency', compute='_compute_currency', store=True, string="Currency")
rate_diff_partial_rec_id = fields.Many2one('account.partial.reconcile', string='Exchange Rate Entry of', help="Technical field used to keep track of the origin of journal entries created in case of fluctuation of the currency exchange rate. This is needed when cancelling the source: it will post the inverse journal entry to cancel that part too.") rate_diff_partial_rec_id = fields.Many2one('account.partial.reconcile', string='Exchange Rate Entry of', help="Technical field used to keep track of the origin of journal entries created in case of fluctuation of the currency exchange rate. This is needed when cancelling the source: it will post the inverse journal entry to cancel that part too.")
state = fields.Selection([('draft', 'Unposted'), ('posted', 'Posted')], string='Status', state = fields.Selection([('draft', 'Unposted'), ('posted', 'Posted')], string='Status',
required=True, readonly=True, copy=False, default='draft', required=True, readonly=True, copy=False, default='draft',
......
...@@ -405,7 +405,7 @@ class ResPartner(models.Model): ...@@ -405,7 +405,7 @@ class ResPartner(models.Model):
total_invoiced = fields.Monetary(compute='_invoice_total', string="Total Invoiced", total_invoiced = fields.Monetary(compute='_invoice_total', string="Total Invoiced",
groups='account.group_account_invoice') groups='account.group_account_invoice')
currency_id = fields.Many2one('res.currency', compute='_get_company_currency', readonly=True, currency_id = fields.Many2one('res.currency', compute='_get_company_currency', readonly=True,
help='Utility field to express amount currency') string="Currency", help='Utility field to express amount currency')
contracts_count = fields.Integer(compute='_journal_item_count', string="Contracts", type='integer') contracts_count = fields.Integer(compute='_journal_item_count', string="Contracts", type='integer')
journal_item_count = fields.Integer(compute='_journal_item_count', string="Journal Items", type="integer") journal_item_count = fields.Integer(compute='_journal_item_count', string="Journal Items", type="integer")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment