[FIX] - remove duplicated/useless code

This commit is contained in:
sbejaoui
2020-08-26 10:28:05 +02:00
committed by Alba Riera
parent 00b11536a2
commit bc7d40a35e
2 changed files with 2 additions and 11 deletions

View File

@@ -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

View File

@@ -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>