@@ -202,44 +202,44 @@
- | [[ data['model']=='account.journal.period'and 'Company' or removeParentNode('para') ]]
- [[ data['model']=='ir.ui.menu' and 'Chart of Account' or removeParentNode('para') ]] |
+ [[ data['model']=='account.journal.period'and 'Company' or removeParentNode('para') ]]
+ [[ data['model']=='ir.ui.menu' and 'Chart of Account' or removeParentNode('para') ]] |
Fiscal Year |
- Journal |
+ Journal |
Filters By |
- Entries Sorted By |
+ Entries Sorted By |
Target Moves |
-
- | [[ get_account(data) or '' ]] |
+
+ | [[ get_account(data) or '' ]] |
[[ get_fiscalyear(data) or '' ]] |
- [[o.journal_id.name ]] |
- [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]]
- [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]]
-
- | Start Date |
- End Date |
-
-
- | [[ formatLang(get_start_date(data),date=True) ]] |
- [[ formatLang(get_end_date(data),date=True) ]] |
-
-
- [[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]
-
- | Start Period |
- End Period |
-
-
- | [[ get_start_period(data) or removeParentNode('para') ]] |
- [[ get_end_period(data) or removeParentNode('para') ]] |
-
-
- |
- [[ get_sortby(data) ]] |
- [[ get_target_move(data) ]] |
-
-
+ [[o.journal_id.name ]] |
+ [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]]
+ [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]]
+
+ | Start Date |
+ End Date |
+
+
+ | [[ formatLang(get_start_date(data),date=True) ]] |
+ [[ formatLang(get_end_date(data),date=True) ]] |
+
+
+ [[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]
+
+ | Start Period |
+ End Period |
+
+
+ | [[ get_start_period(data) or removeParentNode('para') ]] |
+ [[ get_end_period(data) or removeParentNode('para') ]] |
+
+
+ |
+ [[ get_sortby(data) ]] |
+ [[ get_target_move(data) ]] |
+
+
@@ -269,14 +269,14 @@
[[lines(o.period_id.id, o.journal_id.id) or removeParentNode('story') ]]
- | [[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]][[ formatLang(line.date,date=True) ]] |
- [[ line.ref ]] |
- [[ line.account_id.code ]] |
- [[ line.partner_id and line.partner_id.name ]] |
- [[ line.move_id.name ]] - [[ line.name ]] |
- [[ formatLang(line.debit) ]] |
- [[ formatLang(line.credit) ]] |
- [[ formatLang(line.credit - line.debit) ]] [[ company.currency_id.symbol ]] |
+ [[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]][[ formatLang(line['date'],date=True) ]] |
+ [[ line['ref'] or '' ]] |
+ [[ line['account_code'] or '' ]] |
+ [[ line['partner_name'] or '' ]] |
+ [[ line['move_name'] or '' ]] - [[ line['name'] or '' ]] |
+ [[ formatLang(line['debit']) ]] |
+ [[ formatLang(line['credit']) ]] |
+ [[ formatLang(line['progress']) ]] [[ company.currency_id.symbol ]] |
@@ -290,8 +290,8 @@
Move/Entry label |
Debit |
Credit |
- Balance |
- Currency |
+ Balance |
+ Currency |
| [[o.period_id.name ]] |
@@ -301,19 +301,19 @@
|
[[ formatLang(sum_debit(o.period_id.id, o.journal_id.id)) ]] |
[[ formatLang(sum_credit(o.period_id.id, o.journal_id.id)) ]] |
- [[ formatLang((sum_debit(o.period_id.id, o.journal_id.id) - sum_credit(o.period_id.id, o.journal_id.id))) ]] [[ company.currency_id.symbol ]] |
+ [[ formatLang((sum_debit(o.period_id.id, o.journal_id.id) - sum_credit(o.period_id.id, o.journal_id.id))) ]] [[ company.currency_id.symbol ]] |
[[lines(o.period_id.id, o.journal_id.id) or removeParentNode('story') ]]
- | [[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]][[ formatLang(line.date,date=True) ]] |
- [[ line.ref ]] |
- [[ line.account_id.code ]] |
- [[ line.partner_id and line.partner_id.name ]] |
- [[ line.move_id.name ]] - [[ line.name ]] |
- [[ formatLang(line.debit) ]] |
- [[ formatLang(line.credit) ]] |
- [[ formatLang(line.credit - line.debit) ]] [[ company.currency_id.symbol ]] |
- [[ line.currency_id and formatLang(line.amount_currency) or '' ]] [[ line.currency_id.symbol or '']] |
+ [[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]][[ formatLang(line['date'],date=True) ]] |
+ [[ line['ref'] or '' ]] |
+ [[ line['account_code'] or '' ]] |
+ [[ line['partner_name'] or '' ]] |
+ [[ line['move_name'] or '' ]] - [[ line['name'] or '' ]] |
+ [[ formatLang(line['debit']) ]] |
+ [[ formatLang(line['credit']) ]] |
+ [[ formatLang(line['progress']) ]] [[ company.currency_id.symbol ]] |
+ [[ line.currency_id and formatLang(line.amount_currency) or '' ]] [[ line.currency_id.symbol or '']] |
diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py
index 8bd7b64f3f4..f902810ac31 100644
--- a/addons/account_voucher/account_voucher.py
+++ b/addons/account_voucher/account_voucher.py
@@ -638,7 +638,6 @@ class account_voucher(osv.osv):
'date': inv.date,
'date_maturity': inv.date_due
}
-
if (debit == 0.0 or credit == 0.0 or debit+credit > 0) and (debit > 0.0 or credit > 0.0):
master_line = move_line_pool.create(cr, uid, move_line)