Skip to content

Commit

Permalink
change tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
smetl committed Jan 19, 2018
1 parent c1f0651 commit 02f768f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions addons/account_asset/models/account_asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class AccountAssetCategory(models.Model):
('manual', 'Based on Purchase Date')],
string='Depreciation Dates', default='manual', required=True,
help='The way to compute the date of the first depreciation.\n'
' * Based on the last day of period: The depreciation dates will be based on the last day of the purchase month or the last day of the fiscal year if the depreciation periods are in years.\n'
' * Based on purchase date: The depreciation journal entries will start on the purchase day.')
' * Based on last day of purchase period: The depreciation dates will be based on the last day of the purchase month or the purchase year (depending on the periodicity of the depreciations).\n'
' * Based on purchase date: The depreciation dates will be based on the purchase date.')

@api.onchange('account_asset_id')
def onchange_account_asset(self):
Expand Down Expand Up @@ -112,12 +112,12 @@ class AccountAssetAsset(models.Model):
type = fields.Selection(related="category_id.type", string='Type', required=True)
date_first_depreciation = fields.Selection([
('last_day_period', 'Based on Last Day of Purchase Period'),
('manual', 'Manual')],
('manual', 'Based on Purchase Date')],
string='Depreciation Dates', default='manual',
readonly=True, states={'draft': [('readonly', False)]}, required=True,
help='The way to compute the date of the first depreciation.\n'
' * Based on the last day of period: The depreciation dates will be based on the last day of the purchase month or the last day of the fiscal year if the depreciation periods are in years.\n'
' * Manual: The first depreciation date will be based on a date defined manually which, by default, is the purchase day.\n')
' * Based on last day of purchase period: The depreciation dates will be based on the last day of the purchase month or the purchase year (depending on the periodicity of the depreciations).\n'
' * Based on purchase date: The depreciation dates will be based on the purchase date.\n')
first_depreciation_manual_date = fields.Date(
string='First Depreciation Date',
readonly=True, states={'draft': [('readonly', False)]},
Expand Down

0 comments on commit 02f768f

Please sign in to comment.