mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] - remove duplicated/useless code
This commit is contained in:
@@ -8,11 +8,6 @@ from dateutil import relativedelta
|
||||
|
||||
from odoo.addons.queue_job.job import Job
|
||||
|
||||
DELAY2 = ('odoo.addons.account_asset_batch_compute.wizards.'
|
||||
'account_asset_compute.async_asset_compute')
|
||||
DELAY1 = ('odoo.addons.account_asset_batch_compute.models.'
|
||||
'account_asset.async_compute_entries')
|
||||
|
||||
|
||||
class TestAccountAssetBatchCompute(TransactionCase):
|
||||
|
||||
@@ -61,8 +56,6 @@ class TestAccountAssetBatchCompute(TransactionCase):
|
||||
})
|
||||
today = date.today()
|
||||
first_day_of_month = date(today.year, today.month, 1)
|
||||
self.nextmonth =\
|
||||
first_day_of_month + relativedelta.relativedelta(months=1)
|
||||
self.nextmonth = first_day_of_month + relativedelta.relativedelta(
|
||||
months=1)
|
||||
self.asset01.date_start = first_day_of_month
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<!-- Copyright 2016 ACSONE SA/NV
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<openerp>
|
||||
<data>
|
||||
<odoo>
|
||||
|
||||
<record model="ir.ui.view" id="account_asset_compute_view_form">
|
||||
<field name="name">account.asset.compute (in account_asset_batch_compute)</field>
|
||||
@@ -16,5 +15,4 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user