summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-09 15:05:55 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-09 15:05:55 +0700
commiteababb6272797427353ccc5a58609ceac6ceea1c (patch)
tree2e7686ff646a911267b1db7924fbaba7e7e35f80
parent544ccd0952c03f9021478f64bdb31a06e923a13d (diff)
ledger
-rwxr-xr-xindoteknik_custom/__manifest__.py2
-rwxr-xr-xindoteknik_custom/models/__init__.py2
-rw-r--r--indoteknik_custom/models/account_financial_report.py22
-rw-r--r--indoteknik_custom/models/account_general_ledger.py1
-rw-r--r--indoteknik_custom/models/account_report_financial.py22
-rw-r--r--indoteknik_custom/models/account_report_general_ledger.py1
-rw-r--r--indoteknik_custom/views/account_financial_report_view.xml2
-rw-r--r--indoteknik_custom/views/account_report_general_ledger_view.xml2
8 files changed, 4 insertions, 50 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index 362b2b2b..7c669810 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -84,7 +84,7 @@
'views/product_sla.xml',
'views/voucher.xml',
'views/bill_receipt.xml',
- 'views/account_financial_report_view.xml',
+ 'views/account_financial_report_view.xml',
'views/account_report_general_ledger_view.xml',
'views/account_move_multi_update.xml',
'report/report.xml',
diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py
index 45c30473..8c7071e3 100755
--- a/indoteknik_custom/models/__init__.py
+++ b/indoteknik_custom/models/__init__.py
@@ -76,4 +76,4 @@ from . import account_move_multi_update
from . import account_financial_report
from . import account_general_ledger
from . import account_report_financial
-from . import account_report_general_ledger \ No newline at end of file
+from . import account_report_general_ledger
diff --git a/indoteknik_custom/models/account_financial_report.py b/indoteknik_custom/models/account_financial_report.py
index 114449ce..1bf6816a 100644
--- a/indoteknik_custom/models/account_financial_report.py
+++ b/indoteknik_custom/models/account_financial_report.py
@@ -1,25 +1,3 @@
-# -*- coding: utf-8 -*-
-######################################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
-# Author: Cybrosys Technologies(odoo@cybrosys.com)
-#
-# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
-# It is forbidden to publish, distribute, sublicense, or sell copies of the Software
-# or modified copies of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-#
-########################################################################################
-
from datetime import datetime
import json
import datetime
diff --git a/indoteknik_custom/models/account_general_ledger.py b/indoteknik_custom/models/account_general_ledger.py
index 50d52374..e80696a4 100644
--- a/indoteknik_custom/models/account_general_ledger.py
+++ b/indoteknik_custom/models/account_general_ledger.py
@@ -2,7 +2,6 @@ import time
from odoo import api, models, _
from odoo.exceptions import UserError
-
class ReportGeneralLedger(models.AbstractModel):
_name = 'report.account.report_generalledger'
diff --git a/indoteknik_custom/models/account_report_financial.py b/indoteknik_custom/models/account_report_financial.py
index 9ed526da..c11fa25b 100644
--- a/indoteknik_custom/models/account_report_financial.py
+++ b/indoteknik_custom/models/account_report_financial.py
@@ -1,25 +1,3 @@
-# -*- coding: utf-8 -*-
-######################################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
-# Author: Cybrosys Technologies (odoo@cybrosys.com)
-#
-# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
-# It is forbidden to publish, distribute, sublicense, or sell copies of the Software
-# or modified copies of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-#
-########################################################################################
-
import time
from odoo import api, models, _
from odoo.exceptions import UserError
diff --git a/indoteknik_custom/models/account_report_general_ledger.py b/indoteknik_custom/models/account_report_general_ledger.py
index 4e909872..54e5bbd7 100644
--- a/indoteknik_custom/models/account_report_general_ledger.py
+++ b/indoteknik_custom/models/account_report_general_ledger.py
@@ -218,7 +218,6 @@ class AccountReportGeneralLedger(models.TransientModel):
sheet.write(row_number, col_number + 17, balance_month, format5)
row_number += 1
-
workbook.close()
output.seek(0)
diff --git a/indoteknik_custom/views/account_financial_report_view.xml b/indoteknik_custom/views/account_financial_report_view.xml
index 31c04e7c..7c156599 100644
--- a/indoteknik_custom/views/account_financial_report_view.xml
+++ b/indoteknik_custom/views/account_financial_report_view.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
-
+
<record id="account_financial_report_view_custom" model="ir.ui.view">
<field name="name">Common Report</field>
<field name="model">accounting.report.xlsx</field>
diff --git a/indoteknik_custom/views/account_report_general_ledger_view.xml b/indoteknik_custom/views/account_report_general_ledger_view.xml
index b789874f..61c0ffff 100644
--- a/indoteknik_custom/views/account_report_general_ledger_view.xml
+++ b/indoteknik_custom/views/account_report_general_ledger_view.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<odoo>
+<odoo>
<record id="account_report_export_ledger_custom_view" model="ir.ui.view">
<field name="name">Export Ledger</field>
<field name="model">account.report.general.ledger.xlsx</field>