Browse Source

Oct 01: [FIX] Bug Fixed 'dynamic_accounts_report'

pull/337/head
Cybrosys Technologies 7 months ago
parent
commit
0f4b19a101
  1. 2
      dynamic_accounts_report/__manifest__.py
  2. 2
      dynamic_accounts_report/static/src/js/general_ledger.js
  3. 3
      dynamic_accounts_report/static/src/xml/general_ledger_view.xml

2
dynamic_accounts_report/__manifest__.py

@ -22,7 +22,7 @@
{ {
'name': 'Dynamic Financial Reports V16', 'name': 'Dynamic Financial Reports V16',
'version': '16.0.1.0.12', 'version': '16.0.1.0.13',
'category': 'Accounting', 'category': 'Accounting',
'live_test_url': 'https://www.youtube.com/watch?v=gVQi9q9Rs-E&t=5s', 'live_test_url': 'https://www.youtube.com/watch?v=gVQi9q9Rs-E&t=5s',
'summary': "Odoo 16 Accounting Financial Reports", 'summary': "Odoo 16 Accounting Financial Reports",

2
dynamic_accounts_report/static/src/js/general_ledger.js

@ -99,6 +99,7 @@ odoo.define('dynamic_accounts_report.general_ledger', function(require) {
[this.wizard_id], action_title [this.wizard_id], action_title
], ],
}).then(function(datas) { }).then(function(datas) {
console.log(datas, 'datas')
// _.each(datas['report_lines'], function(rep_lines) { // _.each(datas['report_lines'], function(rep_lines) {
// rep_lines.debit = self.format_currency(datas['currency'],rep_lines.debit); // rep_lines.debit = self.format_currency(datas['currency'],rep_lines.debit);
// rep_lines.credit = self.format_currency(datas['currency'],rep_lines.credit); // rep_lines.credit = self.format_currency(datas['currency'],rep_lines.credit);
@ -109,6 +110,7 @@ odoo.define('dynamic_accounts_report.general_ledger', function(require) {
self.$('.filter_view_tb').html(QWeb.render('GLFilterView', { self.$('.filter_view_tb').html(QWeb.render('GLFilterView', {
filter_data: datas['filters'], filter_data: datas['filters'],
title: datas['name'], title: datas['name'],
tag: datas['tag'],
// eng_title : datas['eng_title'], // eng_title : datas['eng_title'],
})); }));
self.$el.find('.journals').select2({ self.$el.find('.journals').select2({

3
dynamic_accounts_report/static/src/xml/general_ledger_view.xml

@ -169,7 +169,7 @@
</div> </div>
</div> </div>
<br /> <br />
<t t-if="title == 'General Ledger'"> <t t-if="tag === 'g_l'">
<!--journals_filter--> <!--journals_filter-->
<div class="journals_filter" style=""> <div class="journals_filter" style="">
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> <a type="button" class="dropdown-toggle" data-bs-toggle="dropdown">
@ -246,7 +246,6 @@
</option> </option>
</t> </t>
</select> </select>
<t t-log="filter_data" />
<span id="analytic_res" /> <span id="analytic_res" />
</div> </div>
<!-- </t>--> <!-- </t>-->

Loading…
Cancel
Save