[IMP] update dotfiles
This commit is contained in:
parent
9d4d9ddb87
commit
ce0e170f1c
@ -1204,7 +1204,7 @@ class AccountAsset(models.Model):
|
|||||||
return table
|
return table
|
||||||
|
|
||||||
def _get_depreciation_entry_name(self, seq):
|
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)
|
return (self.code or str(self.id)) + "/" + str(seq)
|
||||||
|
|
||||||
def _compute_entries(self, date_end, check_triggers=False):
|
def _compute_entries(self, date_end, check_triggers=False):
|
||||||
|
@ -392,7 +392,7 @@ class AssetReportXlsx(models.AbstractModel):
|
|||||||
ws.write_string(row_pos, 0, no_entries, FORMATS["format_left_bold"])
|
ws.write_string(row_pos, 0, no_entries, FORMATS["format_left_bold"])
|
||||||
|
|
||||||
def _get_assets(self, wiz, data):
|
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 = [
|
dom = [
|
||||||
("date_start", "<=", wiz.date_to),
|
("date_start", "<=", wiz.date_to),
|
||||||
"|",
|
"|",
|
||||||
|
@ -71,7 +71,7 @@ class TestAssetManagementXls(AccountTestInvoicingCommon):
|
|||||||
cls.report_action = cls.xls_report.xls_export()
|
cls.report_action = cls.xls_report.xls_export()
|
||||||
|
|
||||||
def test_01_action_xls(self):
|
def test_01_action_xls(self):
|
||||||
""" Check report XLS action and generate report """
|
"""Check report XLS action and generate report"""
|
||||||
self.assertGreaterEqual(
|
self.assertGreaterEqual(
|
||||||
self.report_action.items(),
|
self.report_action.items(),
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user