Browse Source

[UPDT] Style and Currency symbol fix

pull/168/head
Ajmal Cybro 4 years ago
parent
commit
f7e5dce5bd
  1. 2
      dynamic_accounts_report/__manifest__.py
  2. 5
      dynamic_accounts_report/doc/RELEASE_NOTES.md
  3. 1
      dynamic_accounts_report/report/ageing.py
  4. 2
      dynamic_accounts_report/report/ageing.xml
  5. 2
      dynamic_accounts_report/report/cash_flow_report.py
  6. 26
      dynamic_accounts_report/report/cash_flow_report.xml
  7. 1
      dynamic_accounts_report/report/daybook.py
  8. 2
      dynamic_accounts_report/report/daybook.xml
  9. 15
      dynamic_accounts_report/report/financial_report_template.xml
  10. 1
      dynamic_accounts_report/report/financial_reports.py
  11. 1
      dynamic_accounts_report/report/general_ledger.py
  12. 39
      dynamic_accounts_report/report/general_ledger.xml
  13. 1
      dynamic_accounts_report/report/partner_ledger.py
  14. 2
      dynamic_accounts_report/report/partner_ledger.xml
  15. 1
      dynamic_accounts_report/report/trial_balance.py
  16. 2
      dynamic_accounts_report/report/trial_balance.xml
  17. 14
      dynamic_accounts_report/security/ir.model.access.csv
  18. BIN
      dynamic_accounts_report/static/description/assets/arrow-circle-black.png
  19. BIN
      dynamic_accounts_report/static/description/assets/arrow-circle-magenta.png
  20. BIN
      dynamic_accounts_report/static/description/assets/feature-1.png
  21. BIN
      dynamic_accounts_report/static/description/assets/feature-2.png
  22. BIN
      dynamic_accounts_report/static/description/assets/hero.png
  23. BIN
      dynamic_accounts_report/static/description/assets/icons/ecom.png
  24. BIN
      dynamic_accounts_report/static/description/assets/icons/education.png
  25. BIN
      dynamic_accounts_report/static/description/assets/icons/hotel.png
  26. BIN
      dynamic_accounts_report/static/description/assets/icons/manufacturing.png
  27. BIN
      dynamic_accounts_report/static/description/assets/icons/pos.png
  28. BIN
      dynamic_accounts_report/static/description/assets/icons/restaurant.png
  29. BIN
      dynamic_accounts_report/static/description/assets/icons/service.png
  30. BIN
      dynamic_accounts_report/static/description/assets/icons/trading.png
  31. BIN
      dynamic_accounts_report/static/description/assets/modules/advanced_ecom.png
  32. BIN
      dynamic_accounts_report/static/description/assets/modules/export_excel.png
  33. BIN
      dynamic_accounts_report/static/description/assets/modules/functional_tutorial.png
  34. BIN
      dynamic_accounts_report/static/description/assets/modules/gantt_view.png
  35. 0
      dynamic_accounts_report/static/description/assets/modules/mobile_service.png
  36. BIN
      dynamic_accounts_report/static/description/assets/modules/shopify_connector.png
  37. BIN
      dynamic_accounts_report/static/description/assets/respnsive-img.png
  38. BIN
      dynamic_accounts_report/static/description/assets/responsive.jpg
  39. 0
      dynamic_accounts_report/static/description/assets/screenshots/01_dynamic_financial_reports.png
  40. 0
      dynamic_accounts_report/static/description/assets/screenshots/02_dynamic_gl.png
  41. 0
      dynamic_accounts_report/static/description/assets/screenshots/03_access_je.png
  42. 0
      dynamic_accounts_report/static/description/assets/screenshots/04_gl_pdf.png
  43. 0
      dynamic_accounts_report/static/description/assets/screenshots/05_gl_xlsx.png
  44. 0
      dynamic_accounts_report/static/description/assets/screenshots/06_dynamic_tb.png
  45. 0
      dynamic_accounts_report/static/description/assets/screenshots/07_access_gl_from_tb.png
  46. 0
      dynamic_accounts_report/static/description/assets/screenshots/08_tb_pdf.png
  47. 0
      dynamic_accounts_report/static/description/assets/screenshots/09_tb_xlsx.png
  48. 0
      dynamic_accounts_report/static/description/assets/screenshots/10_pl_m.png
  49. 0
      dynamic_accounts_report/static/description/assets/screenshots/11_pl_pdf.png
  50. 0
      dynamic_accounts_report/static/description/assets/screenshots/12_pl_xls.png
  51. 0
      dynamic_accounts_report/static/description/assets/screenshots/13_bs_m.png
  52. 0
      dynamic_accounts_report/static/description/assets/screenshots/14_bs_pdf.png
  53. 0
      dynamic_accounts_report/static/description/assets/screenshots/15_bs_pdf.png
  54. 0
      dynamic_accounts_report/static/description/assets/screenshots/16_pl_m1.png
  55. 0
      dynamic_accounts_report/static/description/assets/screenshots/17_pal_pdf.png
  56. 0
      dynamic_accounts_report/static/description/assets/screenshots/18_pal_xls.png
  57. BIN
      dynamic_accounts_report/static/description/images/Accounting kit -2.png
  58. BIN
      dynamic_accounts_report/static/description/images/BB_m.png
  59. BIN
      dynamic_accounts_report/static/description/images/account_dynamic_report_banner.gif
  60. BIN
      dynamic_accounts_report/static/description/images/accounting_kit_window.gif
  61. BIN
      dynamic_accounts_report/static/description/images/auto_payroll_banner.png
  62. BIN
      dynamic_accounts_report/static/description/images/bb_pdf.png
  63. BIN
      dynamic_accounts_report/static/description/images/bb_xls.png
  64. BIN
      dynamic_accounts_report/static/description/images/bud_banner.png
  65. BIN
      dynamic_accounts_report/static/description/images/cb_m.png
  66. BIN
      dynamic_accounts_report/static/description/images/cb_pdf.png
  67. BIN
      dynamic_accounts_report/static/description/images/cb_xls.png
  68. BIN
      dynamic_accounts_report/static/description/images/cf.png
  69. BIN
      dynamic_accounts_report/static/description/images/cf_pdf.png
  70. BIN
      dynamic_accounts_report/static/description/images/cf_xls.png
  71. BIN
      dynamic_accounts_report/static/description/images/checked.png
  72. BIN
      dynamic_accounts_report/static/description/images/crm_dashboard_banner.gif
  73. BIN
      dynamic_accounts_report/static/description/images/cybrosys.png
  74. BIN
      dynamic_accounts_report/static/description/images/db_m.png
  75. BIN
      dynamic_accounts_report/static/description/images/db_pdf.png
  76. BIN
      dynamic_accounts_report/static/description/images/db_xls.png
  77. BIN
      dynamic_accounts_report/static/description/images/dynamic_banner.gif
  78. BIN
      dynamic_accounts_report/static/description/images/hr_acc_cc_banner.png
  79. BIN
      dynamic_accounts_report/static/description/images/o_hrms_banner.gif
  80. BIN
      dynamic_accounts_report/static/description/images/odoo11_magento_banner.jpg
  81. BIN
      dynamic_accounts_report/static/description/images/pa_m.png
  82. BIN
      dynamic_accounts_report/static/description/images/pa_pdf.png
  83. BIN
      dynamic_accounts_report/static/description/images/pa_xls.png
  84. BIN
      dynamic_accounts_report/static/description/images/payroll_banner.gif
  85. BIN
      dynamic_accounts_report/static/description/images/project_custome_gantt_banner.gif
  86. BIN
      dynamic_accounts_report/static/description/images/report_maker_banner.gif
  87. 1795
      dynamic_accounts_report/static/description/index.html
  88. 2
      dynamic_accounts_report/static/src/js/ageing.js
  89. 4
      dynamic_accounts_report/static/src/js/cash_flow.js
  90. 4
      dynamic_accounts_report/static/src/js/daybook.js
  91. 4
      dynamic_accounts_report/static/src/js/financial_reports.js
  92. 5
      dynamic_accounts_report/static/src/js/general_ledger.js
  93. 3
      dynamic_accounts_report/static/src/js/partner_ledger.js
  94. 2
      dynamic_accounts_report/static/src/js/trial_balance.js
  95. 16
      dynamic_accounts_report/static/src/xml/ageing.xml
  96. 14
      dynamic_accounts_report/static/src/xml/cash_flow_view.xml
  97. 451
      dynamic_accounts_report/static/src/xml/daybook.xml
  98. 7
      dynamic_accounts_report/static/src/xml/financial_reports_view.xml
  99. 27
      dynamic_accounts_report/static/src/xml/general_ledger_view.xml
  100. 29
      dynamic_accounts_report/static/src/xml/partner_ledger_view.xml

2
dynamic_accounts_report/__manifest__.py

@ -22,7 +22,7 @@
{
'name': 'Dynamic Financial Reports',
'version': '14.0.1.0.0',
'version': '14.0.1.1.1',
'category': 'Accounting',
'summary': """Dynamic Financial Reports with drill
down and filters Community Edition""",

5
dynamic_accounts_report/doc/RELEASE_NOTES.md

@ -5,7 +5,10 @@
#### ADD
- Initial commit for Odoo 14 dynamic financial reports
#### 21.05.2021
#### Version 14.0.1.1.1
#### UPDT
- Updated Style and Currency Format

1
dynamic_accounts_report/report/ageing.py

@ -12,6 +12,7 @@ class PartnerAgeing(models.AbstractModel):
data.update(
{'account_data': data.get('report_data')['report_lines'][0],
'Filters': data.get('report_data')['filters'],
'company': self.env.company,
})

2
dynamic_accounts_report/report/ageing.xml

@ -7,7 +7,7 @@
<t t-call="web.internal_layout">
<div class="page">
<div class="oe_structure"/>
<h3 style="text-align:centre;left:50%;"><span t-esc="res_company.name"/>: Partner Ageing
<h3 style="text-align:centre;left:50%;"><span t-esc="Filters.get('company_name')"/>: Partner Ageing
</h3>
<strong> As On Date:</strong>
<t t-esc="Filters['date_from']"/>

2
dynamic_accounts_report/report/cash_flow_report.py

@ -8,9 +8,9 @@ class GeneralLedger(models.AbstractModel):
def _get_report_values(self, docids, data=None):
if self.env.context.get('trial_pdf_report'):
if data.get('report_data'):
data.update({'account_data': data.get('report_data')['report_lines'],
'Filters': data.get('report_data')['filters'],
'company': self.env.company,
})
return data

26
dynamic_accounts_report/report/cash_flow_report.xml

@ -18,21 +18,23 @@
<h4 style="padding-left:10px !important">Cash Flow statements</h4>
<div style="width:90%;margin:1px auto;font-size:12px" class="row mt32 mb32">
<div class="col-4">
<t t-if="Filters.get('target_moves')">
<p>
<strong>Target Moves:</strong>
<span t-esc="Filters['target_moves']"/>
<br/>
<t t-if="Filters.get('levels')">
<div class="col-3">
<strong>Target move:</strong>
<li>
<t t-esc="Filters['target_move']"/>
</li>
</div>
<div class="col-3">
<t t-if="Filters.get('levels')">
<strong>Level :</strong>
<span t-esc="Filters['levels']"/>
</t>
<li>
<t t-esc="Filters['levels']"/>
</li>
</t>
</p>
</t>
</div>
</div>
<div class="col-4">

1
dynamic_accounts_report/report/daybook.py

@ -12,5 +12,6 @@ class DayBook(models.AbstractModel):
if data.get('report_data'):
data.update({'account_data': data.get('report_data')['report_lines'],
'Filters': data.get('report_data')['filters'],
'company': self.env.company,
})
return data

2
dynamic_accounts_report/report/daybook.xml

@ -7,7 +7,7 @@
<t t-call="web.internal_layout">
<div class="page">
<div class="oe_structure"/>
<h3 style="text-align:centre;left:50%;"><span t-esc="res_company.name"/>: Day Book
<h3 style="text-align:centre;left:50%;"><span t-esc="Filters.get('company_name')"/>: Day Book
</h3>
<span t-if="Filters.get('date_from')">

15
dynamic_accounts_report/report/financial_report_template.xml

@ -7,7 +7,7 @@
<t t-set="data_report_header_spacing" t-value="9"/>
<t t-set="data_report_dpi" t-value="110"/>
<div class="page">
<h3><span t-esc="res_company.name"/>: <span t-esc="report_name"/>
<h3><span t-esc="Filters.get('company_name')"/>: <span t-esc="report_name"/>
</h3>
<div>
@ -71,12 +71,7 @@
<div class="col-3">
<strong>Target move:</strong>
<li>
<t t-if="Filters['target_move'] == 'all'">
<span>All</span>
</t>
<t t-if="Filters['target_move'] == 'posted'">
<span>Posted</span>
</t>
<t t-esc="Filters['target_move']"/>
</li>
</div>
</div>
@ -113,15 +108,15 @@
</td>
<td class="text-right">
<span t-esc="line['debit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right">
<span t-esc="line['credit']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right">
<span t-esc="line['balance']"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
</tr>
</t>

1
dynamic_accounts_report/report/financial_reports.py

@ -15,5 +15,6 @@ class InsReportBalanceSheet(models.AbstractModel):
'report_lines': data.get('report_data')['bs_lines'],
'report_name': data.get('report_name'),
'title': data.get('report_data')['name'],
'company': self.env.company,
})
return data

1
dynamic_accounts_report/report/general_ledger.py

@ -15,5 +15,6 @@ class GeneralLedger(models.AbstractModel):
'debit_total': data.get('report_data')['debit_total'],
'credit_total': data.get('report_data')['credit_total'],
'title': data.get('report_data')['name'],
'company': self.env.company,
})
return data

39
dynamic_accounts_report/report/general_ledger.xml

@ -1,7 +1,5 @@
<odoo>
<template id="dynamic_accounts_report.general_ledger">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="12"/>
@ -10,7 +8,7 @@
<t t-call="web.internal_layout">
<div class="page">
<div class="oe_structure"/>
<h3 style="text-align:centre;left:50%;"><span t-esc="res_company.name"/>: <t t-esc="title"/>
<h3 style="text-align:centre;left:50%;"><span t-esc="Filters.get('company_name')"/>: <t t-esc="title"/>
</h3>
<span t-if="Filters.get('date_from')">
@ -27,9 +25,10 @@
<div>
<div style="text-align:centre;left:50%;" class="row">
<div style="width:100%;">
<div style="text-align:centre;" class="row">
<div class="col-3" style="">
<div class="col-2">
<strong>Journals:</strong>
<t t-foreach="Filters['journals']" t-as="ps">
<li>
@ -38,19 +37,47 @@
</t>
</div>
<div class="col-2">
<strong>Accounts:</strong>
<t t-foreach="Filters['accounts']" t-as="ps">
<li>
<t t-esc="ps"/>
</li>
</t>
</div>
<div class="col-2">
<strong>Analytic:</strong>
<t t-foreach="Filters['analytics']" t-as="ps">
<li>
<t t-esc="ps"/>
</li>
</t>
</div>
<div class="col-2">
<strong>Analytic Tag:</strong>
<t t-foreach="Filters['analytic_tags']" t-as="ps">
<li>
<t t-esc="ps"/>
</li>
</t>
</div>
<div class="col-3">
<strong>Target move:</strong>
<li>
<t t-esc="Filters['target_move']"/>
</li>
</div>
</div>
</div>
<br></br>
<table class="table table-sm table-reports">
<thead>
<tr class="text-center">
<tr class="text-right">
<th>Date</th>
<th>JRNL</th>
<th>Partner</th>

1
dynamic_accounts_report/report/partner_ledger.py

@ -11,5 +11,6 @@ class PartnerLedgerReport(models.AbstractModel):
if data.get('report_data'):
data.update({'account_data': data.get('report_data')['report_lines'],
'Filters': data.get('report_data')['filters'],
'company': self.env.company,
})
return data

2
dynamic_accounts_report/report/partner_ledger.xml

@ -8,7 +8,7 @@
<t t-call="web.internal_layout">
<div class="page">
<div class="oe_structure"/>
<h3 style="text-align:centre;left:50%;"><span t-esc="res_company.name"/>: Partner Ledger
<h3 style="text-align:centre;left:50%;"><span t-esc="Filters.get('company_name')"/>: Partner Ledger
</h3>
<span t-if="Filters.get('date_from')">

1
dynamic_accounts_report/report/trial_balance.py

@ -13,5 +13,6 @@ class TrialBalance(models.AbstractModel):
'Filters': data.get('report_data')['filters'],
'debit_total': data.get('report_data')['debit_total'],
'credit_total': data.get('report_data')['credit_total'],
'company': self.env.company,
})
return data

2
dynamic_accounts_report/report/trial_balance.xml

@ -7,7 +7,7 @@
<t t-call="web.internal_layout">
<div class="page">
<div class="oe_structure"/>
<h3 style="text-align:centre;left:50%;"><span t-esc="res_company.name"/>: Trial Balance
<h3 style="text-align:centre;left:50%;"><span t-esc="Filters.get('company_name')"/>: Trial Balance
</h3>
<span t-if="Filters.get('date_from')">

14
dynamic_accounts_report/security/ir.model.access.csv

@ -1,8 +1,8 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_account_general_ledger,access.account.general.ledger,model_account_general_ledger,base.group_user,1,1,1,1
access_account_trial_balance,access.account.trial.balance,model_account_trial_balance,base.group_user,1,1,1,1
access_account_cash_flow,access.account.cash.flow,model_account_cash_flow,base.group_user,1,1,1,1
access_dynamic_balance_sheet_report,access.dynamic.balance.sheet.report,model_dynamic_balance_sheet_report,base.group_user,1,1,1,1
access_account_partner_ledger,access.account.partner.ledger,model_account_partner_ledger,base.group_user,1,1,1,1
access_account_partner_ageing,account_partner_ageing.account_partner_ageing,model_account_partner_ageing,base.group_user,1,1,1,1
access_account_day_book,account_day_book.account_day_book,model_account_day_book,base.group_user,1,1,1,1
access_account_general_ledger,access.account.general.ledger,model_account_general_ledger,account.group_account_user,1,1,1,1
access_account_trial_balance,access.account.trial.balance,model_account_trial_balance,account.group_account_user,1,1,1,1
access_account_cash_flow,access.account.cash.flow,model_account_cash_flow,account.group_account_user,1,1,1,1
access_dynamic_balance_sheet_report,access.dynamic.balance.sheet.report,model_dynamic_balance_sheet_report,account.group_account_user,1,1,1,1
access_account_partner_ledger,access.account.partner.ledger,model_account_partner_ledger,account.group_account_user,1,1,1,1
access_account_partner_ageing,account_partner_ageing.account_partner_ageing,model_account_partner_ageing,account.group_account_user,1,1,1,1
access_account_day_book,account_day_book.account_day_book,model_account_day_book,account.group_account_user,1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_general_ledger access.account.general.ledger model_account_general_ledger base.group_user account.group_account_user 1 1 1 1
3 access_account_trial_balance access.account.trial.balance model_account_trial_balance base.group_user account.group_account_user 1 1 1 1
4 access_account_cash_flow access.account.cash.flow model_account_cash_flow base.group_user account.group_account_user 1 1 1 1
5 access_dynamic_balance_sheet_report access.dynamic.balance.sheet.report model_dynamic_balance_sheet_report base.group_user account.group_account_user 1 1 1 1
6 access_account_partner_ledger access.account.partner.ledger model_account_partner_ledger base.group_user account.group_account_user 1 1 1 1
7 access_account_partner_ageing account_partner_ageing.account_partner_ageing model_account_partner_ageing base.group_user account.group_account_user 1 1 1 1
8 access_account_day_book account_day_book.account_day_book model_account_day_book base.group_user account.group_account_user 1 1 1 1

BIN
dynamic_accounts_report/static/description/assets/arrow-circle-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
dynamic_accounts_report/static/description/assets/arrow-circle-magenta.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
dynamic_accounts_report/static/description/assets/feature-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
dynamic_accounts_report/static/description/assets/feature-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

BIN
dynamic_accounts_report/static/description/assets/hero.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/ecom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/education.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/hotel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/manufacturing.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/pos.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/restaurant.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/service.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
dynamic_accounts_report/static/description/assets/icons/trading.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
dynamic_accounts_report/static/description/assets/modules/advanced_ecom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
dynamic_accounts_report/static/description/assets/modules/export_excel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
dynamic_accounts_report/static/description/assets/modules/functional_tutorial.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
dynamic_accounts_report/static/description/assets/modules/gantt_view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

0
dynamic_accounts_report/static/description/images/mobile_service_shop_pro_banner.png → dynamic_accounts_report/static/description/assets/modules/mobile_service.png

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

BIN
dynamic_accounts_report/static/description/assets/modules/shopify_connector.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
dynamic_accounts_report/static/description/assets/respnsive-img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

BIN
dynamic_accounts_report/static/description/assets/responsive.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

0
dynamic_accounts_report/static/description/images/dynamic_financial_reports.png → dynamic_accounts_report/static/description/assets/screenshots/01_dynamic_financial_reports.png

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

0
dynamic_accounts_report/static/description/images/dynamic_gl.png → dynamic_accounts_report/static/description/assets/screenshots/02_dynamic_gl.png

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB

0
dynamic_accounts_report/static/description/images/gl_journal.png → dynamic_accounts_report/static/description/assets/screenshots/03_access_je.png

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

0
dynamic_accounts_report/static/description/images/gl_pdf.png → dynamic_accounts_report/static/description/assets/screenshots/04_gl_pdf.png

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 129 KiB

0
dynamic_accounts_report/static/description/images/gl_xlsx.png → dynamic_accounts_report/static/description/assets/screenshots/05_gl_xlsx.png

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

0
dynamic_accounts_report/static/description/images/dynamic_tb.png → dynamic_accounts_report/static/description/assets/screenshots/06_dynamic_tb.png

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

0
dynamic_accounts_report/static/description/images/tb_gl.png → dynamic_accounts_report/static/description/assets/screenshots/07_access_gl_from_tb.png

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

0
dynamic_accounts_report/static/description/images/tb_pdf.png → dynamic_accounts_report/static/description/assets/screenshots/08_tb_pdf.png

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

0
dynamic_accounts_report/static/description/images/tb_xlsx.png → dynamic_accounts_report/static/description/assets/screenshots/09_tb_xlsx.png

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

0
dynamic_accounts_report/static/description/images/pl_m.png → dynamic_accounts_report/static/description/assets/screenshots/10_pl_m.png

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

0
dynamic_accounts_report/static/description/images/pl_pdf.png → dynamic_accounts_report/static/description/assets/screenshots/11_pl_pdf.png

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

0
dynamic_accounts_report/static/description/images/pl_xls.png → dynamic_accounts_report/static/description/assets/screenshots/12_pl_xls.png

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

0
dynamic_accounts_report/static/description/images/bs_m.png → dynamic_accounts_report/static/description/assets/screenshots/13_bs_m.png

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

0
dynamic_accounts_report/static/description/images/bs_pdf.png → dynamic_accounts_report/static/description/assets/screenshots/14_bs_pdf.png

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

0
dynamic_accounts_report/static/description/images/bs_xls.png → dynamic_accounts_report/static/description/assets/screenshots/15_bs_pdf.png

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

0
dynamic_accounts_report/static/description/images/pl_m1.png → dynamic_accounts_report/static/description/assets/screenshots/16_pl_m1.png

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

0
dynamic_accounts_report/static/description/images/pal_pdf.png → dynamic_accounts_report/static/description/assets/screenshots/17_pal_pdf.png

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

0
dynamic_accounts_report/static/description/images/pal_xls.png → dynamic_accounts_report/static/description/assets/screenshots/18_pal_xls.png

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
dynamic_accounts_report/static/description/images/Accounting kit -2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 KiB

BIN
dynamic_accounts_report/static/description/images/BB_m.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

BIN
dynamic_accounts_report/static/description/images/account_dynamic_report_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

BIN
dynamic_accounts_report/static/description/images/accounting_kit_window.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 KiB

BIN
dynamic_accounts_report/static/description/images/auto_payroll_banner.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

BIN
dynamic_accounts_report/static/description/images/bb_pdf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

BIN
dynamic_accounts_report/static/description/images/bb_xls.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

BIN
dynamic_accounts_report/static/description/images/bud_banner.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

BIN
dynamic_accounts_report/static/description/images/cb_m.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

BIN
dynamic_accounts_report/static/description/images/cb_pdf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

BIN
dynamic_accounts_report/static/description/images/cb_xls.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

BIN
dynamic_accounts_report/static/description/images/cf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

BIN
dynamic_accounts_report/static/description/images/cf_pdf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

BIN
dynamic_accounts_report/static/description/images/cf_xls.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

BIN
dynamic_accounts_report/static/description/images/checked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

BIN
dynamic_accounts_report/static/description/images/crm_dashboard_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

BIN
dynamic_accounts_report/static/description/images/cybrosys.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

BIN
dynamic_accounts_report/static/description/images/db_m.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

BIN
dynamic_accounts_report/static/description/images/db_pdf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

BIN
dynamic_accounts_report/static/description/images/db_xls.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

BIN
dynamic_accounts_report/static/description/images/dynamic_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 KiB

BIN
dynamic_accounts_report/static/description/images/hr_acc_cc_banner.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

BIN
dynamic_accounts_report/static/description/images/o_hrms_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

BIN
dynamic_accounts_report/static/description/images/odoo11_magento_banner.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

BIN
dynamic_accounts_report/static/description/images/pa_m.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

BIN
dynamic_accounts_report/static/description/images/pa_pdf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

BIN
dynamic_accounts_report/static/description/images/pa_xls.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

BIN
dynamic_accounts_report/static/description/images/payroll_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

BIN
dynamic_accounts_report/static/description/images/project_custome_gantt_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 KiB

BIN
dynamic_accounts_report/static/description/images/report_maker_banner.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

1795
dynamic_accounts_report/static/description/index.html

File diff suppressed because it is too large

2
dynamic_accounts_report/static/src/js/ageing.js

@ -341,7 +341,7 @@ odoo.define('dynamic_accounts_report.ageing', function (require) {
post_res.value = $(".target_move")[0].value
post_res.innerHTML=post_res.value;
if ($(".target_move")[0].value == "") {
post_res.innerHTML="all";
post_res.innerHTML="posted";
}
}

4
dynamic_accounts_report/static/src/js/cash_flow.js

@ -51,7 +51,7 @@ odoo.define('dynamic_cash_flow_statements.cash_flow', function (require) {
var offset = 0;
var td = $(event.currentTarget).next('tr').find('td');
if (td.length == 1) {
rpc.query({
self._rpc({
model: 'account.cash.flow',
method: 'view_report',
args: [
@ -255,7 +255,7 @@ odoo.define('dynamic_cash_flow_statements.cash_flow', function (require) {
post_res.value = $(".target_move")[0].value
post_res.innerHTML=post_res.value;
if ($(".target_move")[0].value == "") {
post_res.innerHTML="all";
post_res.innerHTML="posted";
}
}

4
dynamic_accounts_report/static/src/js/daybook.js

@ -204,6 +204,8 @@ odoo.define('dynamic_partner_daybook.daybook', function (require) {
QWeb.render('SubSectiondb', {
account_data: data['report_lines'][i]['child_lines'],
currency_symbol : data.currency[0],
currency_position : data.currency[1],
}))
$(event.currentTarget).next('tr').find('td ul li:first a').css({
@ -332,7 +334,7 @@ odoo.define('dynamic_partner_daybook.daybook', function (require) {
post_res.value = $(".target_move")[0].value
post_res.innerHTML=post_res.value;
if ($(".target_move")[0].value == "") {
post_res.innerHTML="all";
post_res.innerHTML="posted";
}
}

4
dynamic_accounts_report/static/src/js/financial_reports.js

@ -311,7 +311,7 @@ odoo.define('dynamic_accounts_report.financial_reports', function (require) {
filter_data_selected.date_from = dateString;
}
if ($("#date_to").val()) {
var dateString = $("#date_from").val();
var dateString = $("#date_to").val();
filter_data_selected.date_to = dateString;
}
@ -321,7 +321,7 @@ odoo.define('dynamic_accounts_report.financial_reports', function (require) {
post_res.value = $(".target_move")[0].value
post_res.innerHTML=post_res.value;
if ($(".target_move")[0].value == "") {
post_res.innerHTML="all";
post_res.innerHTML="posted";
}
}

5
dynamic_accounts_report/static/src/js/general_ledger.js

@ -230,6 +230,9 @@ odoo.define('dynamic_cash_flow_statements.general_ledger', function (require) {
$(event.currentTarget).next('tr').find('td ul').after(
QWeb.render('SubSection', {
account_data: data['report_lines'][i]['move_lines'],
currency_symbol : data.currency[0],
currency_position : data.currency[1],
}))
$(event.currentTarget).next('tr').find('td ul li:first a').css({
'background-color': '#00ede8',
@ -397,7 +400,7 @@ odoo.define('dynamic_cash_flow_statements.general_ledger', function (require) {
post_res.value = $(".target_move")[0].value
post_res.innerHTML=post_res.value;
if ($(".target_move")[0].value == "") {
post_res.innerHTML="all";
post_res.innerHTML="posted";
}
}

3
dynamic_accounts_report/static/src/js/partner_ledger.js

@ -186,7 +186,6 @@ odoo.define('dynamic_accounts_report.partner_ledger', function (require) {
],
}).then(function(data) {
for (var i = 0; i < data['report_lines'].length; i++) {
console.log(data['report_lines'][i]['move_lines'])
if (account_id == data['report_lines'][i]['id'] ){
$(event.currentTarget).next('tr').find('td .pl-table-div').remove();
@ -358,7 +357,7 @@ odoo.define('dynamic_accounts_report.partner_ledger', function (require) {
if ($(".reconciled").length){
var reconciled_res = document.getElementById("reconciled_res")
filter_data_selected.reconciled = $(".reconciled")[1].value
filter_data_selected.reconciled = $(".reconciled")[0].value
reconciled_res.value = $(".reconciled")[0].value
reconciled_res.innerHTML=reconciled_res.value;
if ($(".reconciled").value==""){

2
dynamic_accounts_report/static/src/js/trial_balance.js

@ -219,7 +219,7 @@ odoo.define('dynamic_cash_flow_statements.trial', function (require) {
post_res.value = $(".target_move")[0].value
post_res.innerHTML=post_res.value;
if ($(".target_move")[0].value == "") {
post_res.innerHTML="all";
post_res.innerHTML="posted";
}
}

16
dynamic_accounts_report/static/src/xml/ageing.xml

@ -3,8 +3,8 @@
<t t-name="AgeingTemp">
<div class="">
<div class="">
<h1>
PARTNER AGEING
<h1 style="padding:10px">
Partner Ageing
</h1>
</div>
@ -138,8 +138,8 @@
<div class="" style="position: relative;">
<div class="sub_container_left">
<div class="report_print">
<button type="button" class="btn btn-primary" id="pdf" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Print (PDF)</button>
<button type="button" class="btn btn-primary" id="xlsx" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Export (XLSX)</button>
<button type="button" class="btn btn-primary" id="pdf" style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">Print (PDF)</button>
<button type="button" class="btn btn-primary" id="xlsx" style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">Export (XLSX)</button>
</div>
</div>
<br></br>
@ -171,9 +171,9 @@ Account Type:
</a>
<select id="selection" class="dropdown-menu result_selection" name="states[]" >
<div role="separator" class="dropdown-divider"></div>
<option value="customer_supplier">Receivable and Payable Accounts</option>
<option value="customer">Receivable Accounts </option>
<option value="supplier">Payable Accounts</option>
<option value="customer_supplier">Receivable and Payable Accounts</option>
</select>
<span id="account_res"></span>
</div>
@ -218,8 +218,8 @@ Target Move:
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]" >
<div role="separator" class="dropdown-divider"></div>
<option value="posted">Posted Entries</option>
<option value="all">All Entries </option>
<option value="Posted">Posted Entries</option>
<option value="All">All Entries </option>
</select>
<span id="post_res"></span>
@ -228,7 +228,7 @@ Target Move:
</div>
<div style="">
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:25px;right:0px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">Apply</button>
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">Apply</button>
</div>
</div>

14
dynamic_accounts_report/static/src/xml/cash_flow_view.xml

@ -3,8 +3,8 @@
<t t-name="CFTemp">
<div class="">
<div class="">
<h1>
CASH FLOW STATEMENTS
<h1 style="padding:10px">
Cash Flow Statement
</h1>
</div>
@ -142,8 +142,8 @@
<div class="" style="position: relative;">
<div class="sub_container_left">
<div class="report_print">
<button type="button" class="btn btn-primary" id="pdf" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Print (PDF)</button>
<button type="button" class="btn btn-primary" id="xlsx" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Export (XLSX)</button>
<button type="button" class="btn btn-primary" id="pdf" style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">Print (PDF)</button>
<button type="button" class="btn btn-primary" id="xlsx" style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">Export (XLSX)</button>
</div>
</div>
<br></br>
@ -183,8 +183,8 @@ Target Move:
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]" >
<div role="separator" class="dropdown-divider"></div>
<option value="all">All Entries </option>
<option value="posted">Posted Entries</option>
<option value="Posted">Posted Entries</option>
<option value="All">All Entries </option>
</select>
<span id="post_res"></span>
</div>
@ -208,7 +208,7 @@ Level:
</div>
<div style="">
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:25px;right:0px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">Apply</button>
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">Apply</button>
</div>
</div>

451
dynamic_accounts_report/static/src/xml/daybook.xml

@ -1,10 +1,9 @@
<templates>
<t t-name="DaybookTemp">
<div class="">
<div class="">
<h1>
Day Book
<h1 style="padding:10px">
Day Book
</h1>
</div>
@ -12,20 +11,20 @@
<div>
<div class="filter_view_db"></div>
</div>
<br></br>
<div>
<br></br>
<div>
<div class="table_view_db" style="right:20px;"></div>
</div>
</div>
</t>
<t t-name="Daytable">
<div>
</div>
</t>
<t t-name="Daytable">
<div>
<div class="table_main_view">
<table cellspacing="0" width="100%">
<thead>
<tr>
<th colspan="6">Date</th>
<th class="mon_fld">Debit</th>
<th class="mon_fld">Debit</th>
<th class="mon_fld">Credit</th>
<th class="mon_fld">Balance</th>
@ -33,229 +32,277 @@
</thead>
<tbody style="width:100%;">
</tbody>
<tbody>
<t t-foreach="report_lines" t-as="account">
<t t-set="common_id" t-value="0"/>
<tr style="border: 1.5px solid black;" class="db-line"
<tbody>
<t t-foreach="report_lines" t-as="account">
<t t-set="common_id" t-value="0"/>
<tr style="border: 1.5px solid black;" class="db-line"
data-toggle="collapse"
t-att-data-account-id="account['id']"
t-attf-data-target=".a{{account['id']}}">
<td colspan="6" style="border: 0px solid black;">
<i class="fa fa-caret-down" role="img" aria-label="Unfolded" title="Unfolded"></i>
<span>
<t t-esc="account['date']"/>
</span>
<td class="mon_fld">
<t t-raw="account['debit']"/><t t-esc="currency[0]"/>
</td>
<td class="mon_fld">
<t t-raw="account['credit']"/><t t-esc="currency[0]"/>
</td>
<td class="mon_fld">
<t t-raw="account['balance']"/><t t-esc="currency[0]"/>
</td>
<t t-set="common_id" t-value="'a'+account['id']"/>
</td>
<tr t-attf-class="collapse a{{account['id']}}">
<td colspan="10">
<ul>
</ul>
</td>
</tr>
</tr>
</t>
</tbody>
<t t-if="currency[1] == 'before'">
<td colspan="6" style="border: 0px solid black;">
<i class="fa fa-caret-down" role="img" aria-label="Unfolded"
title="Unfolded"></i>
<span>
<t t-esc="account['date']"/>
</span>
<td class="mon_fld">
<t t-esc="currency[0]"/>
<t t-raw="account['debit']"/>
</td>
<td class="mon_fld">
<t t-esc="currency[0]"/>
<t t-raw="account['credit']"/>
</td>
<td class="mon_fld">
<t t-esc="currency[0]"/>
<t t-raw="account['balance']"/>
</td>
<t t-set="common_id" t-value="'a'+account['id']"/>
</td>
</t>
<t t-else="">
<td colspan="6" style="border: 0px solid black;">
<i class="fa fa-caret-down" role="img" aria-label="Unfolded"
title="Unfolded"></i>
<span>
<t t-esc="account['date']"/>
</span>
<td class="mon_fld">
<t t-raw="account['debit']"/>
<t t-esc="currency[0]"/>
</td>
<td class="mon_fld">
<t t-raw="account['credit']"/>
<t t-esc="currency[0]"/>
</td>
<td class="mon_fld">
<t t-raw="account['balance']"/>
<t t-esc="currency[0]"/>
</td>
<t t-set="common_id" t-value="'a'+account['id']"/>
</td>
</t>
<tr t-attf-class="collapse a{{account['id']}}">
<td colspan="10">
<ul>
</ul>
</td>
</tr>
</tr>
</t>
</tbody>
</table>
</div>
</div>
</t>
<t t-name="DayFilterView">
<div class="" style="position: relative;">
<div class="sub_container_left">
<div class="report_print">
<button type="button" class="btn btn-primary" id="pdf" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Print (PDF)</button>
<button type="button" class="btn btn-primary" id="xlsx" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Export (XLSX)</button>
</div>
</div>
<br></br>
<div class="sub_container_right" style="width:50%;height:3%;right:0px;top:0px;position: absolute;">
<div class="" style="position: relative;">
<div class="sub_container_left">
<div class="report_print">
<button type="button" class="btn btn-primary" id="pdf"
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">
Print (PDF)
</button>
<button type="button" class="btn btn-primary" id="xlsx"
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">
Export (XLSX)
</button>
</div>
</div>
<br></br>
<div class="sub_container_right" style="width:50%;height:3%;right:0px;top:0px;position: absolute;">
<div class="" style="right:80x;">
<div class="" style="right:80x;">
<br></br>
<div class="row" style="right:80px;top:0px;position: absolute;width:50;">
<div class="time_range" style="">
<a type="button" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="fa fa-calendar" title="Dates" role="img" aria-label="Dates"></span>
Date Range
</a>
<div class="dropdown-menu" role="menu">
<div class="" >
<label class="" for="date_from">Start Date :</label>
<div class="">
<div class="" aria-atomic="true" id="" >
<input type="date" id="date_from"></input>
</div>
</div>
<label class="" for="date_to">End Date :</label>
<div class="">
<div class="" aria-atomic="true" id="" >
<input type="date" id="date_to"></input>
</div>
</div>
</div>
</div>
</div>
<div class="journals_filter" style="">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-book"></span>
Journals:
</a>
<select class="dropdown-menu journals" name="states[]" multiple="multiple">
<div role="separator" class="dropdown-divider"></div>
<t t-foreach="filter_data.journals_list" t-as="journal">
<option t-attf-value="{{journal[0]}}"><t t-esc="journal[1]"/>
</option>
</t>
</select>
<span id="journal_res"></span>
</div>
<div class="accounts_filter">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-book"></span>
Accounts:
</a>
<select class="dropdown-menu account" name="states[]" multiple="multiple">
<t t-foreach="filter_data.accounts_list" t-as="account">
<option t-attf-value="{{account[0]}}">
<t t-esc="account[1]"/>
</option>
</t>
</select>
<span id="acc_res"></span>
</div>
<br></br>
<div class="row" style="right:80px;top:0px;position: absolute;width:50;">
<div class="time_range" style="">
<a type="button" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="fa fa-calendar" title="Dates" role="img" aria-label="Dates"></span>
Date Range
</a>
<div class="dropdown-menu" role="menu">
<div class="">
<label class="" for="date_from">Start Date :</label>
<div class="">
<div class="" aria-atomic="true" id="">
<input type="date" id="date_from"></input>
</div>
</div>
<label class="" for="date_to">End Date :</label>
<div class="">
<div class="" aria-atomic="true" id="">
<input type="date" id="date_to"></input>
</div>
</div>
</div>
</div>
</div>
<div class="journals_filter" style="">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-book"></span>
Journals:
</a>
<select class="dropdown-menu journals" name="states[]" multiple="multiple">
<div role="separator" class="dropdown-divider"></div>
<t t-foreach="filter_data.journals_list" t-as="journal">
<option t-attf-value="{{journal[0]}}">
<t t-esc="journal[1]"/>
</option>
</t>
</select>
<span id="journal_res"></span>
</div>
<div class="accounts_filter">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-book"></span>
Accounts:
</a>
<select class="dropdown-menu account" name="states[]" multiple="multiple">
<t t-foreach="filter_data.accounts_list" t-as="account">
<option t-attf-value="{{account[0]}}">
<t t-esc="account[1]"/>
</option>
</t>
</select>
<span id="acc_res"></span>
</div>
<div class="search-Target-move" style="">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-filter"></span>
Target Move:
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]" >
<div role="separator" class="dropdown-divider"></div>
<option value="all">All Entries </option>
<option value="posted">Posted Entries</option>
</select>
<span id="post_res"></span>
</div>
</div>
<div class="search-Target-move" style="">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-filter"></span>
Target Move:
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]">
<div role="separator" class="dropdown-divider"></div>
<option value="Posted">Posted Entries</option>
<option value="All">All Entries</option>
</select>
<span id="post_res"></span>
</div>
</div>
</div>
<div style="">
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:25px;right:0px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">Apply</button>
</div>
<div style="">
<button type="button" id="apply_filter" class="btn btn-primary"
style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">
Apply
</button>
</div>
</div>
</div>
</t>
</div>
</div>
</div>
</t>
<t t-name="SubSectiondb">
<div class="db-table-div">
<table class="table table-sm o_main_table"
<t t-name="SubSectiondb">
<div class="db-table-div">
<table class="table table-sm o_main_table"
style="border: 0px solid black;display compact;">
<thead>
<tr style="">
<th>Date</th>
<th>JRNL</th>
<th>Partner</th>
<th>Move</th>
<th>Entry Label</th>
<th >Debit</th>
<th >Credit</th>
<th >Balance</th>
<thead>
<tr style="">
<th>Date</th>
<th>JRNL</th>
<th>Partner</th>
<th>Move</th>
<th>Entry Label</th>
<th>Debit</th>
<th>Credit</th>
<th>Balance</th>
</tr>
</thead>
<tbody>
<t t-foreach="account_data" t-as="account_line">
<t t-set="style" t-value="''"/>
<tr>
<td>
<t t-if="account_line.ldate">
<div class="dropdown dropdown-toggle">
<a data-toggle="dropdown" href="#">
<span class="caret"/>
<span data-id="17">
<t t-esc="account_line.ldate"/>
</span>
</a>
<ul class="dropdown-menu"
role="menu"
aria-labelledby="dropdownMenu">
<li>
<a class="view-account-move"
tabindex="-1" href="#"
t-att-data-move-id="account_line.move_id">
View Source move
</a>
</li>
</ul>
</div>
</t>
</td>
<td>
<t t-esc="account_line.lcode"/>
</td>
<td>
<t t-esc="account_line.partner_name"/>
</td>
<td t-att-style="style">
<t t-esc="account_line.move_name"/>
</td>
<td t-att-style="style">
<t t-esc="account_line.lname"/>
</td>
<t t-if="account_line.currency_position == 'before'">
<td t-att-style="style" class="text-right">
<t t-if="account_line.debit == 0">
</tr>
</thead>
<tbody>
<t t-foreach="account_data" t-as="account_line">
<t t-set="style" t-value="''"/>
<tr>
<td>
<t t-if="account_line.ldate">
<div class="dropdown dropdown-toggle">
<a data-toggle="dropdown" href="#">
<span class="caret"/>
<span data-id="17">
<t t-esc="account_line.ldate"/>
</span>
</a>
<ul class="dropdown-menu"
role="menu"
aria-labelledby="dropdownMenu">
<li>
<a class="view-account-move"
tabindex="-1" href="#"
t-att-data-move-id="account_line.move_id">
View Source move
</a>
</li>
</ul>
</div>
</t>
</td>
<td>
<t t-esc="account_line.lcode"/>
</td>
<td>
<t t-esc="account_line.partner_name"/>
</td>
<td t-att-style="style">
<t t-esc="account_line.move_name"/>
</td>
<td t-att-style="style">
<t t-esc="account_line.lname"/>
</td>
<t t-if="currency_position == 'before'">
<td t-att-style="style" class="text-right">
<t t-if="account_line.debit == 0">
<span>-</span>
</t>
<t t-else="">
<t t-esc="account_line.currency_code"/>
<t t-esc="currency_symbol"/>
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/>
</t>
</td>
<td t-att-style="style" class="text-right">
<t t-if="account_line.credit == 0">
</td>
<td t-att-style="style" class="text-right">
<t t-if="account_line.credit == 0">
<span>-</span>
</t>
<t t-else="">
<t t-esc="account_line.currency_code"/>
<t t-esc="currency_symbol"/>
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/>
</t>
</td>
<td t-att-style="style" class="text-right">
<t t-if="account_line.balance == 0">
</td>
<td t-att-style="style" class="text-right">
<t t-if="account_line.balance == 0">
<span>-</span>
</t>
<t t-else="">
<t t-esc="account_line.currency_code"/>
<t t-esc="currency_symbol"/>
<t t-esc="Math.round(account_line.balance * Math.pow(10, 2)) / Math.pow(10, 2)"/>
</t>
</td>
</t>
<t t-else="">
</td>
</t>
<t t-else="">
<td t-att-style="style" class="amt">
<t t-if="account_line.debit == 0">
<span>-</span>
</t>
<t t-else="">
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/>
<t t-esc="account_line.currency_code"/>
<t t-esc="currency_symbol"/>
</t>
</td>
<td t-att-style="style" class="amt">
@ -264,7 +311,7 @@ Target Move:
</t>
<t t-else="">
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/>
<t t-esc="account_line.currency_code"/>
<t t-esc="currency_symbol"/>
</t>
</td>
<td t-att-style="style" class="amt">
@ -273,16 +320,16 @@ Target Move:
</t>
<t t-else="">
<t t-esc="Math.round(account_line.balance * Math.pow(10, 2)) / Math.pow(10, 2)"/>
<t t-esc="account_line.currency_code"/>
<t t-esc="currency_symbol"/>
</t>
</td>
</t>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</t>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</templates>

7
dynamic_accounts_report/static/src/xml/financial_reports_view.xml

@ -52,7 +52,7 @@
<div class="form-group ">
<div class="show-gl" aria-atomic="true" id="" data-target-input="">
<li role="presentation">
<a role="menuitem" style="background-color:grey;" t-att-data-account-id="account['id']" class="show-gl" >View General Ledger</a>
<a role="menuitem" style="background-color:aqua; font-weight:bold;" t-att-data-account-id="account['id']" class="show-gl" >View General Ledger</a>
</li>
</div>
</div>
@ -243,8 +243,9 @@ Target Move:
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]" >
<div role="separator" class="dropdown-divider"></div>
<option value="posted">Posted Entries</option>
<option value="all">All Entries </option>
<option value="Posted">Posted Entries</option>
<option value="All">All Entries</option>
</select>
<span id="post_res"></span>
</div>

27
dynamic_accounts_report/static/src/xml/general_ledger_view.xml

@ -123,7 +123,7 @@
<t t-name="GLFilterView">
<div>
<h1>
<h1 style="padding:10px">
<t t-esc="title"/>
</h1>
@ -132,11 +132,11 @@
<div class="sub_container_left">
<div class="report_print">
<button type="button" class="btn btn-primary" id="pdf"
style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">
Print (PDF)
</button>
<button type="button" class="btn btn-primary" id="xlsx"
style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">
Export (XLSX)
</button>
</div>
@ -238,8 +238,8 @@
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]">
<div role="separator" class="dropdown-divider"></div>
<option value="all">All Entries</option>
<option value="posted">Posted Entries</option>
<option value="Posted">Posted Entries</option>
<option value="All">All Entries</option>
</select>
<span id="post_res"></span>
</div>
@ -248,7 +248,7 @@
</div>
<div style="">
<button type="button" id="apply_filter" class="btn btn-primary"
style="top:0px;height:25px;right:0px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">
style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">
Apply
</button>
@ -277,6 +277,7 @@
<tbody>
<t t-foreach="account_data" t-as="account_line">
<t t-set="style" t-value="''"/>
<t t-set="style_right" t-value="'text-align:right;'"/>
<tr>
<td>
<t t-if="account_line.ldate">
@ -311,8 +312,8 @@
<td t-att-style="style">
<t t-esc="account_line.lname"/>
</td>
<t t-if="account_line.currency_position == 'before'">
<td t-att-style="style" class="amt">
<t t-if="currency_position == 'before'">
<td t-att-style="style_right" class="amt">
<t t-if="account_line.debit == 0">
<span>-</span>
</t>
@ -321,7 +322,7 @@
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/>
</t>
</td>
<td t-att-style="style" class="amt">
<td t-att-style="style_right" class="amt">
<t t-if="account_line.credit == 0">
<span>-</span>
</t>
@ -330,7 +331,7 @@
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/>
</t>
</td>
<td t-att-style="style" class="amt">
<td t-att-style="style_right" class="amt">
<t t-if="account_line.balance == 0">
<span>-</span>
</t>
@ -341,7 +342,7 @@
</td>
</t>
<t t-else="">
<td t-att-style="style" class="amt">
<td t-att-style="style_right" class="amt">
<t t-if="account_line.debit == 0">
<span>-</span>
</t>
@ -350,7 +351,7 @@
<t t-esc="account_line.currency_code"/>
</t>
</td>
<td t-att-style="style" class="amt">
<td t-att-style="style_right" class="amt">
<t t-if="account_line.credit == 0">
<span>-</span>
</t>
@ -359,7 +360,7 @@
<t t-esc="account_line.currency_code"/>
</t>
</td>
<td t-att-style="style" class="amt">
<td t-att-style="style_right" class="amt">
<t t-if="account_line.balance == 0">
<span>-</span>
</t>

29
dynamic_accounts_report/static/src/xml/partner_ledger_view.xml

@ -2,7 +2,7 @@
<t t-name="PartnerTemp">
<div class="">
<div class="">
<h1>
<h1 style="padding:10px">
Partner Ledger
</h1>
</div>
@ -95,11 +95,11 @@
<div class="sub_container_left">
<div class="report_print">
<button type="button" class="btn btn-primary" id="pdf"
style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">
Print (PDF)
</button>
<button type="button" class="btn btn-primary" id="xlsx"
style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">
Export (XLSX)
</button>
</div>
@ -147,17 +147,7 @@
<span id="partner_res"></span>
</div>
<div class="reconciliation_sts_filter">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-book"></span>
Reconciliation Status:
</a>
<select class="dropdown-menu reconciled" name="states[]" multiple="multiple">
<option value="unreconciled">Unreconciled</option>
</select>
<span id="reconciled_res"></span>
</div>
<div class="acccount_type_filter">
<a type="button" class="dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-book"></span>
@ -229,8 +219,8 @@
</a>
<select id="entries" class="dropdown-menu target_move" name="states[]">
<div role="separator" class="dropdown-divider"></div>
<option value="posted">Posted Entries</option>
<option value="all">All Entries</option>
<option value="Posted">Posted Entries</option>
<option value="All">All Entries</option>
</select>
<span id="post_res"></span>
</div>
@ -239,7 +229,7 @@
</div>
<div style="">
<button type="button" id="apply_filter" class="btn btn-primary"
style="top:0px;height:25px;right:0px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">
style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">
Apply
</button>
@ -267,7 +257,8 @@
<tbody>
<t t-foreach="account_data" t-as="account_line">
<t t-set="style" t-value="''"/>
<t t-set="style" t-value="'text-align:right;'"/>
<t t-set="styleleft" t-value="'text-align:left;'"/>
<tr>
<td>
<t t-if="account_line.ldate">
@ -299,10 +290,10 @@
<t t-esc="account_line.account_name"/>
</span>
</td>
<td t-att-style="style">
<td t-att-style="styleleft">
<t t-esc="account_line.move_name"/>
</td>
<td t-att-style="style">
<td t-att-style="styleleft">
<t t-esc="account_line.lname"/>
</td>
<t t-if="account_line.currency_position == 'before'">

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save