2
0

[IMP] update dotfiles

This commit is contained in:
oca-git-bot 2022-03-30 21:38:04 +02:00 committed by Rodrigo
parent 9d4d9ddb87
commit ce0e170f1c
3 changed files with 3 additions and 3 deletions

View File

@ -1204,7 +1204,7 @@ class AccountAsset(models.Model):
return table
def _get_depreciation_entry_name(self, seq):
""" use this method to customise the name of the accounting entry """
"""use this method to customise the name of the accounting entry"""
return (self.code or str(self.id)) + "/" + str(seq)
def _compute_entries(self, date_end, check_triggers=False):

View File

@ -392,7 +392,7 @@ class AssetReportXlsx(models.AbstractModel):
ws.write_string(row_pos, 0, no_entries, FORMATS["format_left_bold"])
def _get_assets(self, wiz, data):
""" Add the selected assets, both grouped and ungrouped, to `data` """
"""Add the selected assets, both grouped and ungrouped, to `data`"""
dom = [
("date_start", "<=", wiz.date_to),
"|",

View File

@ -71,7 +71,7 @@ class TestAssetManagementXls(AccountTestInvoicingCommon):
cls.report_action = cls.xls_report.xls_export()
def test_01_action_xls(self):
""" Check report XLS action and generate report """
"""Check report XLS action and generate report"""
self.assertGreaterEqual(
self.report_action.items(),
{