summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorNimesh Jethva <nje@odoo.com>2018-09-17 16:23:03 +0530
committerYannick Tivisse <yti@odoo.com>2018-09-21 11:45:14 +0200
commit7246170de62bc2b5e0beca5fb16f7274448ce401 (patch)
treef11dce02d946ffbef66e49888d5f6e3e384e6ebf /addons
parent05749032b3df1f306afa75a7bde7697eddb0a84c (diff)
[IMP]account_*: Improvement in model description
Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
Diffstat (limited to 'addons')
-rw-r--r--addons/account/models/account.py2
-rw-r--r--addons/account/models/account_bank_statement.py4
-rw-r--r--addons/account/models/account_cash_rounding.py2
-rw-r--r--addons/account/models/account_move.py2
-rw-r--r--addons/account/models/account_payment.py2
-rw-r--r--addons/account/models/chart_template.py7
-rw-r--r--addons/account/models/partner.py4
-rw-r--r--addons/account/models/reconciliation_widget.py1
-rw-r--r--addons/account/report/account_aged_partner_balance.py1
-rw-r--r--addons/account/report/account_balance.py1
-rw-r--r--addons/account/report/account_general_ledger.py1
-rw-r--r--addons/account/report/account_invoice_report.py1
-rw-r--r--addons/account/report/account_journal.py1
-rw-r--r--addons/account/report/account_overdue_report.py1
-rw-r--r--addons/account/report/account_partner_ledger.py1
-rw-r--r--addons/account/report/account_report_financial.py1
-rw-r--r--addons/account/report/account_tax.py1
-rw-r--r--addons/account/wizard/account_invoice_send.py1
-rw-r--r--addons/account/wizard/account_move_reversal.py2
-rw-r--r--addons/account/wizard/account_report_aged_partner_balance.py2
-rw-r--r--addons/account/wizard/account_report_common_account.py4
-rw-r--r--addons/account/wizard/account_report_common_journal.py2
-rw-r--r--addons/account/wizard/account_report_common_partner.py4
-rw-r--r--addons/account/wizard/account_report_partner_ledger.py2
-rw-r--r--addons/account/wizard/pos_box.py2
-rw-r--r--addons/account/wizard/setup_wizards.py2
-rw-r--r--addons/account/wizard/wizard_tax_adjustments.py2
-rw-r--r--addons/account_asset/models/account_asset.py4
-rw-r--r--addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py2
-rw-r--r--addons/account_bank_statement_import/wizard/journal_creation.py2
-rw-r--r--addons/account_test/models/accounting_assert_test.py1
-rw-r--r--addons/account_test/report/report_account_test.py1
-rw-r--r--addons/account_voucher/models/account_voucher.py2
-rw-r--r--addons/analytic/models/analytic_account.py1
-rw-r--r--addons/l10n_sg/models/res_company.py1
-rw-r--r--addons/payment/models/payment_acquirer.py1
-rw-r--r--addons/payment/wizards/payment_acquirer_onboarding_wizard.py1
37 files changed, 48 insertions, 24 deletions
diff --git a/addons/account/models/account.py b/addons/account/models/account.py
index 290e44088f4..6f1e1f101b7 100644
--- a/addons/account/models/account.py
+++ b/addons/account/models/account.py
@@ -353,6 +353,7 @@ class AccountAccount(models.Model):
class AccountGroup(models.Model):
_name = "account.group"
+ _description = 'Account Group'
_parent_store = True
_order = 'code_prefix'
@@ -857,6 +858,7 @@ class ResPartnerBank(models.Model):
class AccountTaxGroup(models.Model):
_name = 'account.tax.group'
+ _description = 'Tax Group'
_order = 'sequence asc'
name = fields.Char(required=True, translate=True)
diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py
index 9374827096f..e899374d0c8 100644
--- a/addons/account/models/account_bank_statement.py
+++ b/addons/account/models/account_bank_statement.py
@@ -34,7 +34,7 @@ class AccountBankStmtCashWizard(models.Model):
Account Bank Statement popup that allows entering cash details.
"""
_name = 'account.bank.statement.cashbox'
- _description = 'Account Bank Statement Cashbox Details'
+ _description = 'Bank Statement Cashbox'
cashbox_lines_ids = fields.One2many('account.cashbox.line', 'cashbox_id', string='Cashbox Lines')
@@ -59,7 +59,7 @@ class AccountBankStmtCloseCheck(models.TransientModel):
Account Bank Statement wizard that check that closing balance is correct.
"""
_name = 'account.bank.statement.closebalance'
- _description = 'Account Bank Statement closing balance'
+ _description = 'Bank Statement Closing Balance'
@api.multi
def validate(self):
diff --git a/addons/account/models/account_cash_rounding.py b/addons/account/models/account_cash_rounding.py
index 3b336360736..091874074e4 100644
--- a/addons/account/models/account_cash_rounding.py
+++ b/addons/account/models/account_cash_rounding.py
@@ -12,7 +12,7 @@ class AccountCashRounding(models.Model):
see https://en.wikipedia.org/wiki/Cash_rounding for more details.
"""
_name = 'account.cash.rounding'
- _description = 'Account Rounding'
+ _description = 'Account Cash Rounding'
name = fields.Char(string='Name', translate=True, required=True)
rounding = fields.Float(string='Rounding Precision', required=True,
diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py
index a336f1f096f..e0066eb155b 100644
--- a/addons/account/models/account_move.py
+++ b/addons/account/models/account_move.py
@@ -18,7 +18,7 @@ from lxml import etree
class AccountMove(models.Model):
_name = "account.move"
- _description = "Account Entry"
+ _description = "Journal Entries"
_order = 'date desc, id desc'
@api.multi
diff --git a/addons/account/models/account_payment.py b/addons/account/models/account_payment.py
index 4d0830b1737..ae3a7862d4e 100644
--- a/addons/account/models/account_payment.py
+++ b/addons/account/models/account_payment.py
@@ -248,7 +248,7 @@ class account_abstract_payment(models.AbstractModel):
class account_register_payments(models.TransientModel):
_name = "account.register.payments"
_inherit = 'account.abstract.payment'
- _description = "Register payments on multiple invoices"
+ _description = "Register Payments"
group_invoices = fields.Boolean(string="Group Invoices", help="""If enabled, groups invoices by commercial partner, invoice account,
type and recipient bank account in the generated payments. If disabled,
diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py
index 256fe79feb6..46626cdcec0 100644
--- a/addons/account/models/chart_template.py
+++ b/addons/account/models/chart_template.py
@@ -92,7 +92,7 @@ class AccountAccountTemplate(models.Model):
class AccountChartTemplate(models.Model):
_name = "account.chart.template"
- _description = "Templates for Account Chart"
+ _description = "Account Chart Template"
name = fields.Char(required=True)
parent_id = fields.Many2one('account.chart.template', string='Parent Chart Template')
@@ -901,7 +901,7 @@ class AccountFiscalPositionTemplate(models.Model):
class AccountFiscalPositionTaxTemplate(models.Model):
_name = 'account.fiscal.position.tax.template'
- _description = 'Template Tax Fiscal Position'
+ _description = 'Tax Mapping Template of Fiscal Position'
_rec_name = 'position_id'
position_id = fields.Many2one('account.fiscal.position.template', string='Fiscal Position', required=True, ondelete='cascade')
@@ -911,7 +911,7 @@ class AccountFiscalPositionTaxTemplate(models.Model):
class AccountFiscalPositionAccountTemplate(models.Model):
_name = 'account.fiscal.position.account.template'
- _description = 'Template Account Fiscal Mapping'
+ _description = 'Accounts Mapping Template of Fiscal Position'
_rec_name = 'position_id'
position_id = fields.Many2one('account.fiscal.position.template', string='Fiscal Mapping', required=True, ondelete='cascade')
@@ -921,6 +921,7 @@ class AccountFiscalPositionAccountTemplate(models.Model):
class AccountReconcileModelTemplate(models.Model):
_name = "account.reconcile.model.template"
+ _description = 'Reconcile Model Template'
# Base fields.
chart_template_id = fields.Many2one('account.chart.template', string='Chart Template', required=True)
diff --git a/addons/account/models/partner.py b/addons/account/models/partner.py
index e828a29564d..34f51fc0204 100644
--- a/addons/account/models/partner.py
+++ b/addons/account/models/partner.py
@@ -164,7 +164,7 @@ class AccountFiscalPosition(models.Model):
class AccountFiscalPositionTax(models.Model):
_name = 'account.fiscal.position.tax'
- _description = 'Taxes Fiscal Position'
+ _description = 'Tax Mapping of Fiscal Position'
_rec_name = 'position_id'
position_id = fields.Many2one('account.fiscal.position', string='Fiscal Position',
@@ -181,7 +181,7 @@ class AccountFiscalPositionTax(models.Model):
class AccountFiscalPositionAccount(models.Model):
_name = 'account.fiscal.position.account'
- _description = 'Accounts Fiscal Position'
+ _description = 'Accounts Mapping of Fiscal Position'
_rec_name = 'position_id'
position_id = fields.Many2one('account.fiscal.position', string='Fiscal Position',
diff --git a/addons/account/models/reconciliation_widget.py b/addons/account/models/reconciliation_widget.py
index 5d742281464..8b43259d847 100644
--- a/addons/account/models/reconciliation_widget.py
+++ b/addons/account/models/reconciliation_widget.py
@@ -9,6 +9,7 @@ from odoo.tools.misc import formatLang
class AccountReconciliation(models.AbstractModel):
_name = 'account.reconciliation.widget'
+ _description = 'Account Reconciliation widget'
####################################################
# Public
diff --git a/addons/account/report/account_aged_partner_balance.py b/addons/account/report/account_aged_partner_balance.py
index 88a6f4e3d88..a6bd6908e2f 100644
--- a/addons/account/report/account_aged_partner_balance.py
+++ b/addons/account/report/account_aged_partner_balance.py
@@ -11,6 +11,7 @@ from dateutil.relativedelta import relativedelta
class ReportAgedPartnerBalance(models.AbstractModel):
_name = 'report.account.report_agedpartnerbalance'
+ _description = 'Aged Partner Balance Report'
def _get_partner_move_lines(self, account_type, date_from, target_move, period_length):
# This method can receive the context key 'include_nullified_amount' {Boolean}
diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py
index 020a71efea6..13b7a03e188 100644
--- a/addons/account/report/account_balance.py
+++ b/addons/account/report/account_balance.py
@@ -7,6 +7,7 @@ from odoo.exceptions import UserError
class ReportTrialBalance(models.AbstractModel):
_name = 'report.account.report_trialbalance'
+ _description = 'Trial Balance Report'
def _get_accounts(self, accounts, display_account):
""" compute the balance, debit and credit for the provided accounts
diff --git a/addons/account/report/account_general_ledger.py b/addons/account/report/account_general_ledger.py
index ce7ce9f113f..caf72143533 100644
--- a/addons/account/report/account_general_ledger.py
+++ b/addons/account/report/account_general_ledger.py
@@ -7,6 +7,7 @@ from odoo.exceptions import UserError
class ReportGeneralLedger(models.AbstractModel):
_name = 'report.account.report_generalledger'
+ _description = 'General Ledger Report'
def _get_account_move_entry(self, accounts, init_balance, sortby, display_account):
"""
diff --git a/addons/account/report/account_invoice_report.py b/addons/account/report/account_invoice_report.py
index 7572abf7352..aa37b7bec3c 100644
--- a/addons/account/report/account_invoice_report.py
+++ b/addons/account/report/account_invoice_report.py
@@ -185,6 +185,7 @@ class AccountInvoiceReport(models.Model):
class ReportInvoiceWithPayment(models.AbstractModel):
_name = 'report.account.report_invoice_with_payments'
+ _description = 'Account report with payment lines'
@api.model
def _get_report_values(self, docids, data=None):
diff --git a/addons/account/report/account_journal.py b/addons/account/report/account_journal.py
index 8521ecffc05..a327ef76364 100644
--- a/addons/account/report/account_journal.py
+++ b/addons/account/report/account_journal.py
@@ -7,6 +7,7 @@ from odoo.exceptions import UserError
class ReportJournal(models.AbstractModel):
_name = 'report.account.report_journal'
+ _description = 'Account Journal Report'
def lines(self, target_move, journal_ids, sort_selection, data):
if isinstance(journal_ids, int):
diff --git a/addons/account/report/account_overdue_report.py b/addons/account/report/account_overdue_report.py
index 12e25678b3e..5a76419ad8e 100644
--- a/addons/account/report/account_overdue_report.py
+++ b/addons/account/report/account_overdue_report.py
@@ -6,6 +6,7 @@ from odoo import api, fields, models
class ReportOverdue(models.AbstractModel):
_name = 'report.account.report_overdue'
+ _description = 'Account Overdue Report'
def _get_account_move_lines(self, partner_ids):
res = {x: [] for x in partner_ids}
diff --git a/addons/account/report/account_partner_ledger.py b/addons/account/report/account_partner_ledger.py
index fa7f1206cca..3b0b9e276cc 100644
--- a/addons/account/report/account_partner_ledger.py
+++ b/addons/account/report/account_partner_ledger.py
@@ -8,6 +8,7 @@ from odoo.exceptions import UserError
class ReportPartnerLedger(models.AbstractModel):
_name = 'report.account.report_partnerledger'
+ _description = 'Partner Ledger Report'
def _lines(self, data, partner):
full_account = []
diff --git a/addons/account/report/account_report_financial.py b/addons/account/report/account_report_financial.py
index 5f0f5bd497c..129cd6a7114 100644
--- a/addons/account/report/account_report_financial.py
+++ b/addons/account/report/account_report_financial.py
@@ -7,6 +7,7 @@ from odoo.exceptions import UserError
class ReportFinancial(models.AbstractModel):
_name = 'report.account.report_financial'
+ _description = 'Financial Report'
def _compute_account_balance(self, accounts):
""" compute the balance, debit and credit for the provided accounts
diff --git a/addons/account/report/account_tax.py b/addons/account/report/account_tax.py
index e41ee0564f0..ca8945b9a6f 100644
--- a/addons/account/report/account_tax.py
+++ b/addons/account/report/account_tax.py
@@ -6,6 +6,7 @@ from odoo.exceptions import UserError
class ReportTax(models.AbstractModel):
_name = 'report.account.report_tax'
+ _description = 'Tax Report'
@api.model
def _get_report_values(self, docids, data=None):
diff --git a/addons/account/wizard/account_invoice_send.py b/addons/account/wizard/account_invoice_send.py
index 7ccffbe66a6..23aa2e97ec2 100644
--- a/addons/account/wizard/account_invoice_send.py
+++ b/addons/account/wizard/account_invoice_send.py
@@ -8,6 +8,7 @@ from odoo.exceptions import UserError
class AccountInvoiceSend(models.TransientModel):
_name = 'account.invoice.send'
_inherits = {'mail.compose.message':'composer_id'}
+ _description = 'Account Invoice Send'
is_email = fields.Boolean('Email', default=lambda self: self.env.user.company_id.invoice_is_email)
is_print = fields.Boolean('Print', default=lambda self: self.env.user.company_id.invoice_is_print)
diff --git a/addons/account/wizard/account_move_reversal.py b/addons/account/wizard/account_move_reversal.py
index 9fecac50a21..2150c570314 100644
--- a/addons/account/wizard/account_move_reversal.py
+++ b/addons/account/wizard/account_move_reversal.py
@@ -6,7 +6,7 @@ class AccountMoveReversal(models.TransientModel):
Account move reversal wizard, it cancel an account move by reversing it.
"""
_name = 'account.move.reversal'
- _description = 'Account move reversal'
+ _description = 'Account Move Reversal'
date = fields.Date(string='Reversal date', default=fields.Date.context_today, required=True)
journal_id = fields.Many2one('account.journal', string='Use Specific Journal', help='If empty, uses the journal of the journal entry to be reversed.')
diff --git a/addons/account/wizard/account_report_aged_partner_balance.py b/addons/account/wizard/account_report_aged_partner_balance.py
index 178f1f80c38..24a3d8766f6 100644
--- a/addons/account/wizard/account_report_aged_partner_balance.py
+++ b/addons/account/wizard/account_report_aged_partner_balance.py
@@ -11,7 +11,7 @@ class AccountAgedTrialBalance(models.TransientModel):
_name = 'account.aged.trial.balance'
_inherit = 'account.common.partner.report'
- _description = 'Account Aged Trial balance Report'
+ _description = 'Aged Trial Balance Report'
period_length = fields.Integer(string='Period Length (days)', required=True, default=30)
journal_ids = fields.Many2many('account.journal', string='Journals', required=True)
diff --git a/addons/account/wizard/account_report_common_account.py b/addons/account/wizard/account_report_common_account.py
index bbb217d5b29..d8a9fc43a34 100644
--- a/addons/account/wizard/account_report_common_account.py
+++ b/addons/account/wizard/account_report_common_account.py
@@ -5,9 +5,9 @@ from odoo import api, fields, models
class AccountCommonAccountReport(models.TransientModel):
_name = 'account.common.account.report'
- _description = 'Account Common Account Report'
+ _description = 'Common Account Report'
_inherit = "account.common.report"
-
+
display_account = fields.Selection([('all','All'), ('movement','With movements'),
('not_zero','With balance is not equal to 0'),],
string='Display Accounts', required=True, default='movement')
diff --git a/addons/account/wizard/account_report_common_journal.py b/addons/account/wizard/account_report_common_journal.py
index 2e7ffd1c38c..448561f1d67 100644
--- a/addons/account/wizard/account_report_common_journal.py
+++ b/addons/account/wizard/account_report_common_journal.py
@@ -5,7 +5,7 @@ from odoo import api, fields, models
class AccountCommonJournalReport(models.TransientModel):
_name = 'account.common.journal.report'
- _description = 'Account Common Journal Report'
+ _description = 'Common Journal Report'
_inherit = "account.common.report"
amount_currency = fields.Boolean('With Currency', help="Print Report with the currency column if the currency differs from the company currency.")
diff --git a/addons/account/wizard/account_report_common_partner.py b/addons/account/wizard/account_report_common_partner.py
index 21ff0d5e330..ea2375087af 100644
--- a/addons/account/wizard/account_report_common_partner.py
+++ b/addons/account/wizard/account_report_common_partner.py
@@ -5,9 +5,9 @@ from odoo import fields, models
class AccountingCommonPartnerReport(models.TransientModel):
_name = 'account.common.partner.report'
- _description = 'Account Common Partner Report'
+ _description = 'Common Partner Report'
_inherit = "account.common.report"
-
+
result_selection = fields.Selection([('customer', 'Receivable Accounts'),
('supplier', 'Payable Accounts'),
('customer_supplier', 'Receivable and Payable Accounts')
diff --git a/addons/account/wizard/account_report_partner_ledger.py b/addons/account/wizard/account_report_partner_ledger.py
index 0dc5dff606a..e9e533dbcd4 100644
--- a/addons/account/wizard/account_report_partner_ledger.py
+++ b/addons/account/wizard/account_report_partner_ledger.py
@@ -7,7 +7,7 @@ from odoo.exceptions import UserError
class AccountPartnerLedger(models.TransientModel):
_inherit = "account.common.partner.report"
_name = "account.report.partner.ledger"
- _description = "Account Partner Ledger"
+ _description = "Account Partner Ledger Report"
amount_currency = fields.Boolean("With Currency", help="It adds the currency column on report if the currency differs from the company currency.")
reconciled = fields.Boolean('Reconciled Entries')
diff --git a/addons/account/wizard/pos_box.py b/addons/account/wizard/pos_box.py
index 525432833d1..7a11dd5c822 100644
--- a/addons/account/wizard/pos_box.py
+++ b/addons/account/wizard/pos_box.py
@@ -40,6 +40,7 @@ class CashBox(models.TransientModel):
class CashBoxIn(CashBox):
_name = 'cash.box.in'
+ _description = 'Cash Box In'
ref = fields.Char('Reference')
@@ -60,6 +61,7 @@ class CashBoxIn(CashBox):
class CashBoxOut(CashBox):
_name = 'cash.box.out'
+ _description = 'Cash Box Out'
@api.multi
def _calculate_values_for_statement_line(self, record):
diff --git a/addons/account/wizard/setup_wizards.py b/addons/account/wizard/setup_wizards.py
index 56618642f11..64f6aef1375 100644
--- a/addons/account/wizard/setup_wizards.py
+++ b/addons/account/wizard/setup_wizards.py
@@ -6,6 +6,7 @@ from odoo import api, fields, models
class FinancialYearOpeningWizard(models.TransientModel):
_name = 'account.financial.year.op'
+ _description = 'Opening Balance of Financial Year'
company_id = fields.Many2one(comodel_name='res.company', required=True)
opening_move_posted = fields.Boolean(string='Opening Move Posted', compute='_compute_opening_move_posted')
@@ -30,6 +31,7 @@ class FinancialYearOpeningWizard(models.TransientModel):
class SetupBarBankConfigWizard(models.TransientModel):
_inherits = {'res.partner.bank': 'res_partner_bank_id'}
_name = 'account.setup.bank.manual.config'
+ _description = 'Bank setup manual config'
res_partner_bank_id = fields.Many2one(comodel_name='res.partner.bank', ondelete='cascade', required=True)
create_or_link_option = fields.Selection(selection=[('new', 'Create new journal'), ('link', 'Link to an existing journal')], default='new')
diff --git a/addons/account/wizard/wizard_tax_adjustments.py b/addons/account/wizard/wizard_tax_adjustments.py
index 51f1936b93b..91a0edc7cf4 100644
--- a/addons/account/wizard/wizard_tax_adjustments.py
+++ b/addons/account/wizard/wizard_tax_adjustments.py
@@ -6,7 +6,7 @@ from odoo import models, fields, api
class TaxAdjustments(models.TransientModel):
_name = 'tax.adjustments.wizard'
- _description = 'Wizard for Tax Adjustments'
+ _description = 'Tax Adjustments Wizard'
@api.multi
def _get_default_journal(self):
diff --git a/addons/account_asset/models/account_asset.py b/addons/account_asset/models/account_asset.py
index 4973d6866e8..276f72268df 100644
--- a/addons/account_asset/models/account_asset.py
+++ b/addons/account_asset/models/account_asset.py
@@ -12,7 +12,7 @@ from odoo.tools import float_compare, float_is_zero
class AccountAssetCategory(models.Model):
_name = 'account.asset.category'
- _description = 'Asset category'
+ _description = 'Asset Category'
active = fields.Boolean(default=True)
name = fields.Char(required=True, index=True, string="Asset Type")
@@ -472,7 +472,7 @@ class AccountAssetAsset(models.Model):
class AccountAssetDepreciationLine(models.Model):
_name = 'account.asset.depreciation.line'
- _description = 'Asset depreciation line'
+ _description = 'Asset Depreciation Line'
name = fields.Char(string='Depreciation Name', required=True, index=True)
sequence = fields.Integer(required=True)
diff --git a/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py b/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py
index 4ba3245871f..ab9b9356128 100644
--- a/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py
+++ b/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py
@@ -6,7 +6,7 @@ from odoo import api, fields, models, _
class AssetDepreciationConfirmationWizard(models.TransientModel):
_name = "asset.depreciation.confirmation.wizard"
- _description = "asset.depreciation.confirmation.wizard"
+ _description = "Assets Depreciation Confirmation wizard"
date = fields.Date('Account Date', required=True, help="Choose the period for which you want to automatically post the depreciation lines of running assets", default=fields.Date.context_today)
diff --git a/addons/account_bank_statement_import/wizard/journal_creation.py b/addons/account_bank_statement_import/wizard/journal_creation.py
index d5572980e42..32c2464bc50 100644
--- a/addons/account_bank_statement_import/wizard/journal_creation.py
+++ b/addons/account_bank_statement_import/wizard/journal_creation.py
@@ -5,7 +5,7 @@ from odoo import api, fields, models
class AccountBankStatementImportJounalCreation(models.TransientModel):
_name = 'account.bank.statement.import.journal.creation'
- _description = 'Import Bank Statement Journal Creation Wizard'
+ _description = 'Journal Creation on Bank Statement Import'
journal_id = fields.Many2one('account.journal', delegate=True, required=True, ondelete='cascade')
diff --git a/addons/account_test/models/accounting_assert_test.py b/addons/account_test/models/accounting_assert_test.py
index f2ee18f67df..69d6f159495 100644
--- a/addons/account_test/models/accounting_assert_test.py
+++ b/addons/account_test/models/accounting_assert_test.py
@@ -14,6 +14,7 @@ result = res
class AccountingAssertTest(models.Model):
_name = "accounting.assert.test"
+ _description = 'Accounting Assert Test'
_order = "sequence"
name = fields.Char(string='Test Name', required=True, index=True, translate=True)
diff --git a/addons/account_test/report/report_account_test.py b/addons/account_test/report/report_account_test.py
index 1420f647cf8..cc4ee6bbe01 100644
--- a/addons/account_test/report/report_account_test.py
+++ b/addons/account_test/report/report_account_test.py
@@ -11,6 +11,7 @@ from odoo.tools.safe_eval import safe_eval
class ReportAssertAccount(models.AbstractModel):
_name = 'report.account_test.report_accounttest'
+ _description = 'Account Test Report'
@api.model
def execute_code(self, code_exec):
diff --git a/addons/account_voucher/models/account_voucher.py b/addons/account_voucher/models/account_voucher.py
index e5324f41032..b348e13a62e 100644
--- a/addons/account_voucher/models/account_voucher.py
+++ b/addons/account_voucher/models/account_voucher.py
@@ -396,7 +396,7 @@ class AccountVoucher(models.Model):
class AccountVoucherLine(models.Model):
_name = 'account.voucher.line'
- _description = 'Voucher Lines'
+ _description = 'Accounting Voucher Line'
name = fields.Text(string='Description', required=True)
sequence = fields.Integer(default=10,
diff --git a/addons/analytic/models/analytic_account.py b/addons/analytic/models/analytic_account.py
index 5f488b786ae..199f6097ae1 100644
--- a/addons/analytic/models/analytic_account.py
+++ b/addons/analytic/models/analytic_account.py
@@ -9,6 +9,7 @@ from odoo.exceptions import ValidationError
class AccountAnalyticDistribution(models.Model):
_name = 'account.analytic.distribution'
+ _description = 'Analytic Account Distribution'
_rec_name = 'account_id'
account_id = fields.Many2one('account.analytic.account', string='Analytic Account', required=True)
diff --git a/addons/l10n_sg/models/res_company.py b/addons/l10n_sg/models/res_company.py
index c894cf1a1a9..8c560b59a12 100644
--- a/addons/l10n_sg/models/res_company.py
+++ b/addons/l10n_sg/models/res_company.py
@@ -4,6 +4,7 @@ from odoo import fields, models
class ResCompany(models.Model):
_name = 'res.company'
+ _description = 'Companies'
_inherit = 'res.company'
l10n_sg_unique_entity_number = fields.Char(string='UEN', related="partner_id.l10n_sg_unique_entity_number")
diff --git a/addons/payment/models/payment_acquirer.py b/addons/payment/models/payment_acquirer.py
index 64e7f02436b..0016e41ed62 100644
--- a/addons/payment/models/payment_acquirer.py
+++ b/addons/payment/models/payment_acquirer.py
@@ -1030,6 +1030,7 @@ class PaymentTransaction(models.Model):
class PaymentToken(models.Model):
_name = 'payment.token'
_order = 'partner_id, id desc'
+ _description = 'Payment Token'
name = fields.Char('Name', help='Name of the payment token')
short_name = fields.Char('Short name', compute='_compute_short_name')
diff --git a/addons/payment/wizards/payment_acquirer_onboarding_wizard.py b/addons/payment/wizards/payment_acquirer_onboarding_wizard.py
index e3ea6ffead7..5913e5821b7 100644
--- a/addons/payment/wizards/payment_acquirer_onboarding_wizard.py
+++ b/addons/payment/wizards/payment_acquirer_onboarding_wizard.py
@@ -7,6 +7,7 @@ from odoo.exceptions import UserError
class PaymentWizard(models.TransientModel):
_name = 'payment.acquirer.onboarding.wizard'
+ _description = 'Payment acquire onboarding wizard'
payment_method = fields.Selection([
('paypal', "Pay with PayPal"),