@@ -496,19 +496,19 @@
[[data['form']['amount_currency'] == True or removeParentNode('blockTable')]]
|
- [[ '..'*(o.level-1) ]][[ o.code ]] [[ o.name ]]
+ [[ '..'*(o.level-1) ]][[ o.code ]] [[ o.name ]]
|
- [[ formatLang(sum_debit_account(o), digits=get_digits(dp='Account')) ]]
+ [[ formatLang(sum_debit_account(o), digits=get_digits(dp='Account')) ]]
|
- [[ formatLang(sum_credit_account(o), digits=get_digits(dp='Account')) ]]
+ [[ formatLang(sum_credit_account(o), digits=get_digits(dp='Account')) ]]
|
- [[ formatLang(sum_balance_account(o), digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(sum_balance_account(o), digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
|
- [[ o.currency_id and formatLang(sum_currency_amount_account(o), digits=get_digits(dp='Account')) + o.currency_id.code or '' ]]
+ [[ o.currency_id and formatLang(sum_currency_amount_account(o), digits=get_digits(dp='Account')) + o.currency_id.symbol or '' ]]
|
@@ -526,7 +526,7 @@
[[ line['lcode'] ]]
|
- [[ strip_name(line['partner_name'],21) ]]
+ [[ strip_name(line['partner_name'],20) ]]
|
[[ strip_name(line['lref'],17) ]]
@@ -535,7 +535,7 @@
[[ line['move'] ]]
|
- [[ strip_name(line['lname'],26) ]]
+ [[ strip_name(line['lname'],22) ]]
|
[[ strip_name(line['line_corresp'],18) ]]
@@ -598,16 +598,16 @@
[[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]]
|
- [[ '..'*(o.level-1) ]][[ o.code ]] [[ o.name ]]
+ [[ '..'*(o.level-1) ]][[ o.code ]] [[ o.name ]]
|
- [[ formatLang(sum_debit_account(o), digits=get_digits(dp='Account')) ]]
+ [[ formatLang(sum_debit_account(o), digits=get_digits(dp='Account')) ]]
|
- [[ formatLang(sum_credit_account(o), digits=get_digits(dp='Account')) ]]
+ [[ formatLang(sum_credit_account(o), digits=get_digits(dp='Account')) ]]
|
- [[ formatLang(sum_balance_account(o), digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(sum_balance_account(o), digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
|
@@ -625,7 +625,7 @@
[[ line['lcode'] ]]
|
- [[ strip_name(line['partner_name'],25) ]]
+ [[ strip_name(line['partner_name'],24) ]]
|
[[ strip_name(line['lref'],21) ]]
@@ -634,7 +634,7 @@
[[ line['move'] ]]
|
- [[ strip_name(line['lname'],35) ]]
+ [[ strip_name(line['lname'],28) ]]
|
[[ strip_name(line['line_corresp'],23) ]]
diff --git a/addons/account/report/account_journal.rml b/addons/account/report/account_journal.rml
index a81c634ddc8..9b0ac55bb56 100644
--- a/addons/account/report/account_journal.rml
+++ b/addons/account/report/account_journal.rml
@@ -229,7 +229,7 @@
- [[ display_currency(data) == False or removeParentNode('blockTable') ]]
+ [[ display_currency(data) == False or removeParentNode('blockTable') ]]
| Date |
Ref |
@@ -256,14 +256,14 @@
[[ strip_name(line.ref,20) ]] |
[[ line.move_id.name <> '/' and line.move_id.name or ('*'+str(line.move_id.id)) ]] |
[[ line.account_id.code ]] |
- [[ line.partner_id and strip_name(line.partner_id.name,16) ]] |
- [[ strip_name(line.name,35) ]] |
+ [[ line.partner_id and strip_name(line.partner_id.name,17) ]] |
+ [[ strip_name(line.name,27) ]] |
[[ formatLang(line.debit) ]] [[ company.currency_id.symbol ]] |
[[ formatLang(line.credit) ]] [[ company.currency_id.symbol ]] |
- [[ display_currency(data) or removeParentNode('blockTable') ]]
+ [[ display_currency(data) or removeParentNode('blockTable') ]]
| Date |
Ref |
@@ -293,7 +293,7 @@
[[ strip_name(line.ref,20) ]] |
[[ line.move_id.name <> '/' and line.move_id.name or ('*'+str(line.move_id.id)) ]] |
[[ line.account_id.code ]] |
- [[ line.partner_id and strip_name(line.partner_id.name,16) ]] |
+ [[ line.partner_id and strip_name(line.partner_id.name,15) ]] |
[[ strip_name(line.name,17) ]] |
[[ formatLang(line.debit) ]] [[ company.currency_id.symbol ]] |
[[ formatLang(line.credit) ]] [[ company.currency_id.symbol ]] |
diff --git a/addons/account/report/account_partner_balance.py b/addons/account/report/account_partner_balance.py
index ab3cfd70970..eacafb02eda 100644
--- a/addons/account/report/account_partner_balance.py
+++ b/addons/account/report/account_partner_balance.py
@@ -28,8 +28,6 @@ from common_report_header import common_report_header
class partner_balance(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
- if context is None:
- context = {}
super(partner_balance, self).__init__(cr, uid, name, context=context)
self.account_ids = []
self.localcontext.update( {
@@ -276,6 +274,7 @@ class partner_balance(report_sxw.rml_parse, common_report_header):
return temp_res
def _sum_litige(self):
+ #gives the total of move lines with blocked boolean set to TRUE for the report selection
move_state = ['draft','posted']
if self.target_move == 'posted':
move_state = ['posted']
@@ -296,12 +295,15 @@ class partner_balance(report_sxw.rml_parse, common_report_header):
return temp_res
def _get_partners(self):
+ cr, uid = self.cr, self.uid
+ context = self.localcontext # all of it?
+
if self.result_selection == 'customer':
- return 'Receivable Accounts'
+ return _('Receivable Accounts')
elif self.result_selection == 'supplier':
- return 'Payable Accounts'
+ return _('Payable Accounts')
elif self.result_selection == 'customer_supplier':
- return 'Receivable and Payable Accounts'
+ return _('Receivable and Payable Accounts')
return ''
report_sxw.report_sxw('report.account.partner.balance', 'res.partner', 'account/report/account_partner_balance.rml',parser=partner_balance, header="internal")
diff --git a/addons/account/report/account_partner_ledger.rml b/addons/account/report/account_partner_ledger.rml
index 1a32bc13bde..69faa977da1 100644
--- a/addons/account/report/account_partner_ledger.rml
+++ b/addons/account/report/account_partner_ledger.rml
@@ -262,11 +262,11 @@
-
+
-
+
@@ -274,67 +274,65 @@
-
- [[ display_currency(data) == False or removeParentNode('blockTable') ]]
-
- |
- Date
- |
-
- JNRL
- |
-
- Ref
- |
-
- Account
- |
-
- Entry Label
- |
-
- Debit
- |
-
- Credit
- |
-
- Balance
- |
-
-
-
- [[ display_currency(data) == True or removeParentNode('blockTable') ]]
-
- |
- Date
- |
-
- JNRL
- |
-
- Ref
- |
-
- Account
- |
-
- Entry Label
- |
-
- Debit
- |
-
- Credit
- |
-
- Balance
- |
-
- Currency
- |
-
-
+
+
+ |
+ Date
+ |
+
+ JNRL
+ |
+
+ Ref
+ |
+
+ Account
+ |
+
+ Entry Label
+ |
+
+ Debit
+ |
+
+ Credit
+ |
+
+ Balance
+ |
+
+
+
+
+ |
+ Date
+ |
+
+ JNRL
+ |
+
+ Ref
+ |
+
+ Account
+ |
+
+ Entry Label
+ |
+
+ Debit
+ |
+
+ Credit
+ |
+
+ Balance
+ |
+
+ Currency
+ |
+
+
[[ repeatIn(objects, 'p') ]]
[[ setLang(p.lang) ]]
@@ -439,7 +437,7 @@
[[ display_currency(data) == False or removeParentNode('section') ]]
-
+
Date
@@ -490,47 +488,47 @@
|
- Initial Balance
+ Initial Balance
|
- [[ formatLang(get_intial_balance(p)[0][0])]]
+ [[ formatLang(get_intial_balance(p)[0][0])]]
|
- [[ formatLang(get_intial_balance(p)[0][1]) ]]
+ [[ formatLang(get_intial_balance(p)[0][1]) ]]
|
- [[ formatLang(get_intial_balance(p)[0][2]) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(get_intial_balance(p)[0][2]) ]] [[ company.currency_id.symbol ]]
|
[[ repeatIn(lines(p), 'line') ]]
-
+
|
- [[ formatLang(line['date'],date=True) ]]
+ [[ formatLang(line['date'],date=True) ]]
|
- [[ line['code'] ]]
+ [[ line['code'] ]]
|
- [[ line['move_name'] ]]
+ [[ line['move_name'] ]]
|
- [[ line['a_code'] ]]
+ [[ line['a_code'] ]]
|
- [[ strip_name(line['ref'],10) ]] - [[ strip_name(line['name'],15) ]]
+ [[ strip_name(line['ref'],10) ]] - [[ strip_name(line['name'],15) ]]
|
- [[ formatLang((line['debit'])) ]]
+ [[ formatLang((line['debit'])) ]]
|
- [[ formatLang((line['credit'])) ]]
+ [[ formatLang((line['credit'])) ]]
|
- [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
|
@@ -540,7 +538,7 @@
[[ display_currency(data) == True or removeParentNode('section') ]]
-
+
|
Date
@@ -571,7 +569,7 @@
|
-
+
[[ p.ref ]] - [[ p.name ]]
@@ -594,7 +592,7 @@
[[ data['form']['initial_balance']==True or removeParentNode('section') ]]
-
+
Initial Balance
@@ -618,35 +616,35 @@
[[ repeatIn(lines(p), 'line') ]]
-
+
|
- [[ formatLang(line['date'],date=True) ]]
+ [[ formatLang(line['date'],date=True) ]]
|
- [[ line['code'] ]]
+ [[ line['code'] ]]
|
- [[ line['move_name'] ]]
+ [[ line['move_name'] ]]
|
- [[ line['a_code'] ]]
+ [[ line['a_code'] ]]
|
- [[ strip_name(line['ref'],5) ]] - [[ strip_name(line['name'],5) ]]
+ [[ strip_name(line['ref'],8) ]] - [[ strip_name(line['name'],7) ]]
|
- [[ formatLang((line['debit'])) ]]
+ [[ formatLang((line['debit'])) ]]
|
- [[ formatLang((line['credit'])) ]]
+ [[ formatLang((line['credit'])) ]]
|
- [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
|
- [[ (line['currency_id']==None or line['amount_currency']==None) and removeParentNode('font') ]] [[ formatLang(line['amount_currency'] ) ]] [[ line['currency_code'] or '' ]]
+ [[ (line['currency_id']==None or line['amount_currency']==None) and removeParentNode('font') ]] [[ formatLang(line['amount_currency'] ) ]] [[ line['currency_code'] or '' ]]
|
@@ -655,4 +653,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account/report/account_partner_ledger_other.rml b/addons/account/report/account_partner_ledger_other.rml
index b3dec993cdb..22942e15c78 100644
--- a/addons/account/report/account_partner_ledger_other.rml
+++ b/addons/account/report/account_partner_ledger_other.rml
@@ -262,11 +262,11 @@
-
+
-
+
@@ -274,67 +274,67 @@
-
- [[ display_currency(data) == False or removeParentNode('blockTable') ]]
-
- |
- Date
- |
-
- JNRL
- |
-
- Ref
- |
-
- Account
- |
-
- Entry Label
- |
-
- Debit
- |
-
- Credit
- |
-
- Balance
- |
-
-
-
- [[ display_currency(data) == True or removeParentNode('blockTable') ]]
-
- |
- Date
- |
-
- JNRL
- |
-
- Ref
- |
-
- Account
- |
-
- Entry Label
- |
-
- Debit
- |
-
- Credit
- |
-
- Balance
- |
-
- Currency
- |
-
-
+
+ [[ display_currency(data) == False or removeParentNode('blockTable') ]]
+
+ |
+ Date
+ |
+
+ JNRL
+ |
+
+ Ref
+ |
+
+ Account
+ |
+
+ Entry Label
+ |
+
+ Debit
+ |
+
+ Credit
+ |
+
+ Balance
+ |
+
+
+
+ [[ display_currency(data) == True or removeParentNode('blockTable') ]]
+
+ |
+ Date
+ |
+
+ JNRL
+ |
+
+ Ref
+ |
+
+ Account
+ |
+
+ Entry Label
+ |
+
+ Debit
+ |
+
+ Credit
+ |
+
+ Balance
+ |
+
+ Currency
+ |
+
+
@@ -434,7 +434,7 @@
-
+
[[ display_currency(data) == False or removeParentNode('blockTable') ]]
@@ -493,53 +493,53 @@
|
- Initial Balance
+ Initial Balance
|
- [[ formatLang(get_intial_balance(p)[0][0])]]
+ [[ formatLang(get_intial_balance(p)[0][0])]]
|
- [[ formatLang(get_intial_balance(p)[0][1]) ]]
+ [[ formatLang(get_intial_balance(p)[0][1]) ]]
|
- [[ formatLang(get_intial_balance(p)[0][2]) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(get_intial_balance(p)[0][2]) ]] [[ company.currency_id.symbol ]]
|
[[ repeatIn(lines(p), 'line') ]]
-
+
|
- [[ formatLang(line['date'],date=True) ]]
+ [[ formatLang(line['date'],date=True) ]]
|
- [[ line['code'] ]]
+ [[ line['code'] ]]
|
- [[ line['move_name'] ]]
+ [[ line['move_name'] ]]
|
- [[ line['a_code'] ]]
+ [[ line['a_code'] ]]
|
- [[ strip_name(line['ref'],10) ]] - [[ strip_name(line['name'],15) ]]
+ [[ strip_name(line['ref'],10) ]] - [[ strip_name(line['name'],15) ]]
|
- [[ formatLang((line['debit'])) ]]
+ [[ formatLang((line['debit'])) ]]
|
- [[ formatLang((line['credit'])) ]]
+ [[ formatLang((line['credit'])) ]]
|
- [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
|
-
+
[[ display_currency(data) == True or removeParentNode('blockTable') ]]
@@ -578,7 +578,7 @@
[[ display_currency(data) == True or removeParentNode('section') ]]
-
+
[[ p.ref ]] - [[ p.name ]]
@@ -601,22 +601,22 @@
[[ data['form']['initial_balance']==True or removeParentNode('section') ]]
-
+
|
- Initial Balance
+ Initial Balance
|
- [[ formatLang(get_intial_balance(p)[0][0])]]
+ [[ formatLang(get_intial_balance(p)[0][0])]]
|
- [[ formatLang(get_intial_balance(p)[0][1]) ]]
+ [[ formatLang(get_intial_balance(p)[0][1]) ]]
|
- [[ formatLang(get_intial_balance(p)[0][2]) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(get_intial_balance(p)[0][2]) ]] [[ company.currency_id.symbol ]]
|
-
+
|
@@ -625,35 +625,35 @@
[[ repeatIn(lines(p), 'line') ]]
-
+
|
- [[ formatLang(line['date'],date=True) ]]
+ [[ formatLang(line['date'],date=True) ]]
|
- [[ line['code'] ]]
+ [[ line['code'] ]]
|
- [[ line['move_name'] ]]
+ [[ line['move_name'] ]]
|
- [[ line['a_code'] ]]
+ [[ line['a_code'] ]]
|
- [[ strip_name(line['ref'],5) ]] - [[ strip_name(line['name'],5) ]]
+ [[ strip_name(line['ref'],8) ]] - [[ strip_name(line['name'],7) ]]
|
- [[ formatLang((line['debit'])) ]]
+ [[ formatLang((line['debit'])) ]]
|
- [[ formatLang((line['credit'])) ]]
+ [[ formatLang((line['credit'])) ]]
|
- [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang((line['progress'])) ]] [[ company.currency_id.symbol ]]
|
- [[ (line['currency_id']==None or line['amount_currency']==None) and removeParentNode('font') ]] [[ formatLang(line['amount_currency'] ) ]] [[ line['currency_code'] or '' ]]
+ [[ (line['currency_id']==None or line['amount_currency']==None) and removeParentNode('font') ]] [[ formatLang(line['amount_currency'] ) ]] [[ line['currency_code'] or '' ]]
|
@@ -662,4 +662,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account/report/account_print_invoice.rml b/addons/account/report/account_print_invoice.rml
index 80ccd2aabae..0bab362e578 100644
--- a/addons/account/report/account_print_invoice.rml
+++ b/addons/account/report/account_print_invoice.rml
@@ -27,6 +27,10 @@
+
+
+
+
@@ -41,6 +45,10 @@
+
+
+
+
@@ -178,20 +186,23 @@
-
+
|
- Document
+ Description
|
Invoice Date
|
+
+ Origin
+ |
- Partner Ref.
+ Your Reference
|
-
+
|
[[ o.name or ' ' ]]
@@ -199,6 +210,9 @@
|
[[ formatLang(o.date_invoice,date=True) ]]
|
+
+ [[ o.origin or '' ]]
+ |
[[ (o.address_invoice_id and o.address_invoice_id.partner_id and o.address_invoice_id.partner_id.ref) or ' ' ]]
|
@@ -207,31 +221,31 @@
-
+
|
- Description
+ Description
|
- Taxes
+ Taxes
|
- Quantity
+ Quantity
|
- Unit Price
+ Unit Price
|
- Disc.(%)
+ Disc.(%)
|
- Price
+ Price
|
[[ repeatIn(o.invoice_line,'l') ]]
-
+
|
[[ l.name ]]
@@ -246,10 +260,10 @@
[[ formatLang(l.price_unit) ]]
|
- [[ formatLang(l.discount, digits=get_digits(dp='Account')) ]]
+ [[ formatLang(l.discount, dp='Account') ]]
|
- [[ formatLang(l.price_subtotal, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(l.price_subtotal, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -284,7 +298,7 @@
-
+
|
@@ -308,7 +322,7 @@
Taxes:
|
- [[ formatLang(o.amount_tax, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_tax, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -354,7 +368,7 @@
[[ t.name ]]
|
- [[ formatLang(t.base, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(t.base, dp='Account') ]] [[ o.currency_id.symbol ]]
|
[[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
@@ -393,4 +407,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account/report/account_profit_loss.rml b/addons/account/report/account_profit_loss.rml
index 33e69d02e96..582885d89dc 100644
--- a/addons/account/report/account_profit_loss.rml
+++ b/addons/account/report/account_profit_loss.rml
@@ -231,7 +231,7 @@
[[ final_result()['type'] == 'Net Profit' and final_result()['type'] or removeParentNode('blockTable') ]]
|
- [[ final_result()['balance'] and final_result()['type'] == 'Net Loss' and formatLang(abs(final_result()['balance'])) ]] [[ final_result()['balance'] and final_result()['type'] == 'Net Loss' and company.currency_id.symbol ]]
+ [[ final_result()['balance'] and final_result()['type'] == 'Net Profit' and formatLang(abs(final_result()['balance'])) ]] [[ final_result()['balance'] and final_result()['type'] == 'Net Profit' and company.currency_id.symbol ]]
|
diff --git a/addons/account/report/common_report_header.py b/addons/account/report/common_report_header.py
index 809cb38e879..48e26e839d3 100644
--- a/addons/account/report/common_report_header.py
+++ b/addons/account/report/common_report_header.py
@@ -64,8 +64,8 @@ class common_report_header(object):
def _get_target_move(self, data):
if data.get('form', False) and data['form'].get('target_move', False):
if data['form']['target_move'] == 'all':
- return 'All Entries'
- return 'All Posted Entries'
+ return _('All Entries')
+ return _('All Posted Entries')
return ''
def _get_end_date(self, data):
@@ -94,10 +94,10 @@ class common_report_header(object):
def _get_filter(self, data):
if data.get('form', False) and data['form'].get('filter', False):
if data['form']['filter'] == 'filter_date':
- return 'Date'
+ return _('Date')
elif data['form']['filter'] == 'filter_period':
- return 'Periods'
- return 'No Filter'
+ return _('Periods')
+ return _('No Filter')
def _sum_debit_period(self, period_id, journal_id=None):
journals = journal_id or self.journal_ids
diff --git a/addons/account/security/ir.model.access.csv b/addons/account/security/ir.model.access.csv
index 68839c8f18c..83efe67f103 100644
--- a/addons/account/security/ir.model.access.csv
+++ b/addons/account/security/ir.model.access.csv
@@ -9,9 +9,7 @@
"access_account_account_user","account.account user","model_account_account","base.group_user",1,0,0,0
"access_account_account_partner_manager","account.account partner manager","model_account_account","base.group_partner_manager",1,0,0,0
"access_account_journal_view","account.journal.view","model_account_journal_view","account.group_account_user",1,0,0,0
-"access_account_journal_view_hruser","account.journal.view hruser","model_account_journal_view","base.group_hr_user",1,0,0,0
"access_account_journal_column","account.journal.column","model_account_journal_column","account.group_account_user",1,0,0,0
-"access_account_journal_column_hruser","account.journal.column hruser","model_account_journal_column","base.group_hr_user",1,0,0,0
"access_account_journal","account.journal","model_account_journal","account.group_account_user",1,0,0,0
"access_account_period","account.period","model_account_period","account.group_account_user",1,0,0,0
"access_account_journal_period_manager","account.journal.period manager","model_account_journal_period","account.group_account_manager",1,0,0,0
@@ -100,6 +98,7 @@
"access_account_bank_statement_manager","account.bank.statement manager","model_account_bank_statement","account.group_account_manager",1,1,1,1
"access_account_entries_report_manager","account.entries.report","model_account_entries_report","account.group_account_manager",1,1,1,1
"access_account_entries_report_user","account.entries.report","model_account_entries_report","account.group_account_user",1,0,0,0
+"access_account_entries_report_employee","account.entries.report employee","model_account_entries_report","base.group_user",1,0,0,0
"access_analytic_entries_report_manager","analytic.entries.report","model_analytic_entries_report","account.group_account_manager",1,0,0,0
"access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_manager",1,1,1,1
"access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_user",1,1,1,1
diff --git a/addons/account/test/account_report.yml b/addons/account/test/account_report.yml
index aaf45de3212..312db44cd0c 100644
--- a/addons/account/test/account_report.yml
+++ b/addons/account/test/account_report.yml
@@ -28,7 +28,6 @@
(data, format) = netsvc.LocalService('report.account.overdue').create(cr, uid, [ref('base.res_partner_asus'),ref('base.res_partner_agrolait'),ref('base.res_partner_c2c')], {}, {})
if tools.config['test_report_directory']:
file(os.path.join(tools.config['test_report_directory'], 'account-report_overdue.'+format), 'wb+').write(data)
-
-
In order to test the PDF reports defined on Account Move, we will print the Voucher Report
-
@@ -37,311 +36,183 @@
(data, format) = netsvc.LocalService('report.account.move.voucher').create(cr, uid, [ref('account.account_move_0')], {}, {})
if tools.config['test_report_directory']:
file(os.path.join(tools.config['test_report_directory'], 'account-voucher-report.'+format), 'wb+').write(data)
-
-
Print the Aged Partner Balance Report
-
- !python {model: res.partner}: |
- import time
- from datetime import datetime
- from dateutil.relativedelta import relativedelta
- start = datetime.fromtimestamp(time.mktime(time.strptime(time.strftime('%Y-%m-%d'), "%Y-%m-%d")))
- start = datetime(int(start.year), int(start.month), int(start.day))
- res = {}
- for i in range(5)[::-1]:
- stop = start - relativedelta(days=30)
- res[str(i)] = {
- 'name': (i!=0 and (str((5-(i+1)) * 30) + '-' + str((5-i) * 30)) or ('+'+str(4 * 30))),
- 'stop': start.strftime('%Y-%m-%d'),
- 'start': (i!=0 and stop.strftime('%Y-%m-%d') or False),
- }
- start = stop - relativedelta(days=1)
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
-
- data_dict = {'model': 'ir.ui.menu', 'form': \
- {'chart_account_id':ref('account.chart0'),
- 'initial_balance': 1, 'periods': period_list,
- 'journal_ids':journal_ids, 'page_split': 0,
- 'date_from': time.strftime('%Y-%m-%d'),
- 'period_length': 30, 'amount_currency': 0,
- 'query_line' : query_line, 'result_selection':
- 'customer','direction_selection':
- 'past','fiscalyear_id':fy_id } }
- data_dict['form'].update(res)
- from tools.test_reports import try_report
- try_report(cr, uid, 'report.account.aged_trial_balance', [], data_dict, context={})
+ !python {model: account.account}: |
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')],'active_id':ref('account.chart0')})
+ data_dict = {'chart_account_id':ref('account.chart0')}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_aged_balance_view',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Account Balance Sheet in Horizontal mode
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- data_dict = {'model': 'ir.ui.menu', 'form': {'reserve_account_id':ref('account.rsa') ,'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','display_type': 1,'journal_ids':[],'fiscalyear': ref('account.data_fiscalyear') ,'target_move': 'all'}}
- (data, format) = netsvc.LocalService('report.account.balancesheet.horizontal').create(cr, uid, [], data_dict, {'periods': []})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-account_balance_sheet_horizontal.'+format), 'wb+').write(data)
-
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0'),'display_type': True}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_bs_report',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Account Balance Sheet in Normal mode
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- data_dict = {'model': 'ir.ui.menu', 'form': {'reserve_account_id':ref('account.rsa') ,'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','display_type': 0,'journal_ids':[],'fiscalyear': ref('account.data_fiscalyear') ,'target_move': 'all'}}
- (data, format) = netsvc.LocalService('report.account.balancesheet').create(cr, uid, [], data_dict, {'periods': []})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-account_balance_sheet.'+format), 'wb+').write(data)
-
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0'),'display_type': False}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_bs_report',wiz_data=data_dict, context=ctx, our_module='account')
-
- Print the Account Balance Report in Normal mode - From Account Chart
+ Print the Account Balance Report in Normal mode through the wizard - From Account Chart
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- data_dict = {'model': 'account.account', 'form': {'chart_account_id':ref('account.chart0'),'select_account': False,'display_account':'bal_all','format_perc':0,'filter': 'filter_no','show_columns' :0, 'account_choice': 'moves','landscape':0,'period_manner': 'actual','fiscalyear_id': ref('account.data_fiscalyear') ,'target_move': 'all','periods': [],'id':ref('account.bal'),'context':{'state':'all'}}}
- (data, format) = netsvc.LocalService('report.account.account.balance').create(cr, uid, [ref('account.bal'),ref('account.gpf')], data_dict, {'periods': []})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-account_balance-normal.'+format), 'wb+').write(data)
-
- data_dict.update({'model': 'ir.ui.menu'})
- data_dict['form'].update({'active_ids':[ref('account.bal'),ref('account.gpf')]})
-
- (data, format) = netsvc.LocalService('report.account.account.balance').create(cr, uid, [], data_dict, {'periods': []})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-account_balance-normal-menu.'+format), 'wb+').write(data)
-
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0')}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_balance_menu',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Central Journal Report - From Account
-
!python {model: account.journal.period}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- journal_period_ids = self.pool.get('account.journal.period').search(cr, uid, [('journal_id', 'in', journal_ids), ('period_id', 'in', period_list)], context=context)
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
- data_dict = {'model': 'account.journal.period', 'id':journal_period_ids[0], 'form': {'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','amount_currency': 0,'compare_pattern': 'none','account_choice': 'moves','landscape':0,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':query_line,'target_move': 'all','periods': period_list,'journal_ids':journal_ids,'id':ref('account.bal') }}
- (data, format) = netsvc.LocalService('report.account.central.journal').create(cr, uid, journal_period_ids, data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-central_journal.'+format), 'wb+').write(data)
-
- data_dict.update({'model': 'ir.ui.menu'})
- data_dict['form'].update({'active_ids':journal_period_ids})
-
- (data, format) = netsvc.LocalService('report.account.central.journal').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-central_journal-menu.'+format), 'wb+').write(data)
+ journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),
+ ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
+ ctx={}
+ ctx.update({'model': 'account.journal.period','active_ids':journal_ids})
+ data_dict = {'chart_account_id':ref('account.chart0')}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_central_journal',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the General Journal Report - From Journal
-
!python {model: account.journal.period}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- journal_period_ids = self.pool.get('account.journal.period').search(cr, uid, [('journal_id', 'in', journal_ids), ('period_id', 'in', period_list)], context=context)
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
- data_dict = {'model': 'ir.ui.menu','id':journal_period_ids[0], 'form': {'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','amount_currency': 0,'compare_pattern': 'none','account_choice': 'moves','landscape':0,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':query_line,'target_move': 'all','periods': period_list,'journal_ids':journal_ids, 'active_ids':journal_period_ids}}
- (data, format) = netsvc.LocalService('report.account.general.journal').create(cr, uid, journal_period_ids, data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-general_journal.'+format), 'wb+').write(data)
-
+ journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),
+ ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
+ ctx={}
+ ctx.update({'model': 'account.journal.period','active_ids':journal_ids})
+ data_dict = {'chart_account_id':ref('account.chart0')}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_general_journal',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the General Ledger Report in Normal Mode
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- acc_ids = [ref('account.bal'),ref('account.gpf')]
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
-
- data_dict = {'model': 'account.account', 'form': {'initial_balance': 1,'initial_bal_query': query_line,'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','sortby': 'sort_date','amount_currency': 0,'landscape':0,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':query_line,'target_move': 'all','periods': period_list,'journal_ids':journal_ids,'id':ref('account.bal') }}
- (data, format) = netsvc.LocalService('report.account.general.ledger').create(cr, uid, acc_ids, data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-general_ledger.'+format), 'wb+').write(data)
-
- data_dict.update({'model': 'ir.ui.menu'})
- data_dict['form'].update({'active_ids': acc_ids})
- (data, format) = netsvc.LocalService('report.account.general.ledger').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-general_ledger-menu.'+format), 'wb+').write(data)
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0'),'landscape':False}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_general_ledger_menu',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the General Ledger Report in Landscape Mode
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- acc_ids = [ref('account.bal'),ref('account.gpf')]
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
-
- data_dict = {'model': 'account.account', 'form': {'initial_balance': 1,'initial_bal_query':query_line,'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','sortby': 'sort_date','amount_currency': 0,'landscape':1,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':query_line,'target_move': 'all','periods': period_list,'journal_ids':journal_ids,'id':ref('account.bal') }}
- (data, format) = netsvc.LocalService('report.account.general.ledger_landscape').create(cr, uid, acc_ids, data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-general_ledger-landscape.'+format), 'wb+').write(data)
-
- data_dict.update({'model': 'ir.ui.menu'})
- data_dict['form'].update({'active_ids': acc_ids})
- (data, format) = netsvc.LocalService('report.account.general.ledger_landscape').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-general_ledger-landscape-menu.'+format), 'wb+').write(data)
-
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0'),'landscape':True}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_general_ledger_menu',wiz_data=data_dict, context=ctx, our_module='account')
-
Print Journal Report - From Model
-
!python {model: account.journal.period}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- journal_period_ids = self.pool.get('account.journal.period').search(cr, uid, [('journal_id', 'in', journal_ids), ('period_id', 'in', period_list)], context=context)
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
-
- data_dict = {'model': 'account.journal.period', 'id':journal_period_ids[0], 'form': {'sort_selection': 'date','chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','amount_currency': 0,'compare_pattern': 'none','account_choice': 'moves','landscape':0,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':query_line,'target_move': 'all','periods': period_list,'journal_ids':journal_ids,'id':ref('account.bal') }}
- (data, format) = netsvc.LocalService('report.account.journal.period.print').create(cr, uid, journal_period_ids, data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-print_journal.'+format), 'wb+').write(data)
-
- data_dict.update({'model': 'ir.ui.menu'})
- data_dict['form'].update({'active_ids':journal_period_ids})
-
- (data, format) = netsvc.LocalService('report.account.journal.period.print').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-print_journal-menu.'+format), 'wb+').write(data)
-
+ ctx={}
+ ctx.update({'model': 'account.journal.period','active_ids':journal_ids})
+ data_dict = {'chart_account_id':ref('account.chart0')}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_print_journal',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Partner Balance Report
-
- !python {model: res.partner}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
- journal_period_ids = self.pool.get('account.journal.period').search(cr, uid, [('journal_id', 'in', journal_ids), ('period_id', 'in', period_list)], context=context)
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
-
- data_dict = {'model': 'ir.ui.menu', 'form': {'result_selection': 'customer','chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','display_type': 0,'journal_ids':journal_ids,'active_ids':journal_period_ids,'display_partner': 'all','fiscalyear': fy_id ,'target_move': 'all','query_line':query_line}}
- (data, format) = netsvc.LocalService('report.account.partner.balance').create(cr, uid, journal_period_ids, data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-partner_balance.'+format), 'wb+').write(data)
-
+ !python {model: account.account}: |
+ ctx={}
+ data_dict = {'chart_account_id':ref('account.chart0')}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')],'active_id':ref('account.chart0')})
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_partner_balance',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Partner Ledger Report
-
- !python {model: res.partner}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
-
- data_dict = {'model': 'ir.ui.menu', 'form': {'initial_bal_query':query_line,'amount_currency': 0,'reconcil': True,'initial_balance':1,'page_split': True,'result_selection': 'customer','chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','display_type': 0,'journal_ids':journal_ids,'display_partner': 'non-zero_balance','fiscalyear': fy_id ,'target_move': 'all','query_line':query_line}}
- (data, format) = netsvc.LocalService('report.account.third_party_ledger').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-partner_ledger.'+format), 'wb+').write(data)
-
+ !python {model: account.account}: |
+ ctx={}
+ data_dict = {'chart_account_id':ref('account.chart0'),'page_split': True}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')],'active_id':ref('account.chart0')})
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_partner_ledger',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Partner Ledger-Other Report
-
!python {model: res.partner}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = [ref('account.sales_journal'),ref('account.refund_sales_journal'),ref('account.expenses_journal'),ref('account.refund_expenses_journal'),ref('account.bank_journal'),ref('account.check_journal'),ref('account.cash_journal')]
-
- obj_move = self.pool.get('account.move.line')
- ctx = {}
- ctx['fiscalyear'] = fy_id
- ctx['journal_ids'] = journal_ids
- ctx['chart_account_id'] = ref('account.chart0')
-
- query_line = obj_move._query_get(cr, uid, obj='l', context=ctx)
- data_dict = {'model': 'ir.ui.menu', 'form': {'initial_bal_query':query_line,'amount_currency': 0,'reconcil': True,'initial_balance':1,'page_split': False,'result_selection': 'customer','chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','display_type': 0,'journal_ids':journal_ids,'display_partner': 'non-zero_balance','fiscalyear': fy_id ,'target_move': 'all','query_line':query_line}}
- (data, format) = netsvc.LocalService('report.account.third_party_ledger_other').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-partner_ledger-other.'+format), 'wb+').write(data)
-
+ ctx={}
+ data_dict = {'chart_account_id':ref('account.chart0'),'page_split': False}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')],'active_id':ref('account.chart0')})
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_partner_ledger',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Profit-Loss Report in Normal Mode
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = []
- acc_ids = [ref('account.bal'),ref('account.gpf')]
- data_dict = {'model': 'ir.ui.menu', 'form': {'display_type': False,'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','amount_currency': 0,'landscape':0,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':'True ','target_move': 'all','periods': period_list,'journal_ids':journal_ids,'id':ref('account.bal'),'active_ids':acc_ids }}
- (data, format) = netsvc.LocalService('report.pl.account').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-profit-loss.'+format), 'wb+').write(data)
-
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0'),'display_type': False}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_pl_report',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Profit-Loss Report in Horizontal Mode
-
!python {model: account.account}: |
- import netsvc, tools, os, time
- fy_id = ref('account.data_fiscalyear')
- period_list = self.pool.get('account.period').search(cr, uid, [('fiscalyear_id', 'in', [fy_id])], context=context)
- journal_ids = []
- acc_ids = [ref('account.bal'),ref('account.gpf')]
- data_dict = {'model': 'ir.ui.menu', 'form': {'display_type': True,'chart_account_id':ref('account.chart0'),'display_account':'bal_all','filter': 'filter_no','amount_currency': 0,'landscape':0,'period_manner': 'actual','fiscalyear_id': fy_id ,'query_line':'True ','target_move': 'all','periods': period_list,'journal_ids':journal_ids,'id':ref('account.bal'),'active_ids':acc_ids }}
- (data, format) = netsvc.LocalService('report.pl.account.horizontal').create(cr, uid, [], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account-profit-loss-horizontal.'+format), 'wb+').write(data)
+ ctx={}
+ ctx.update({'model': 'account.account','active_ids':[ref('account.chart0')]})
+ data_dict = {'chart_account_id':ref('account.chart0'),'display_type': True}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_pl_report',wiz_data=data_dict, context=ctx, our_module='account')
+-
+ Print the Analytic Balance Report through the wizard
+-
+ !python {model: account.analytic.account}: |
+ ctx={}
+ ctx.update({'model': 'account.analytic.account','active_ids': [ref('account.analytic_root')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_analytic_balance',wiz_data=data_dict, context=ctx, our_module='account')
+
+-
+ Print the Cost Ledger Report through the wizard
+-
+ !python {model: account.analytic.account}: |
+ ctx={}
+ ctx.update({'model': 'account.analytic.account','active_ids': [ref('account.analytic_root'),ref('account.analytic_absences'),ref('account.analytic_internal'),ref('account.analytic_our_super_product')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_analytic_cost',wiz_data=data_dict, context=ctx, our_module='account')
+
+-
+ Print the Cost Ledger(Only Quantities) Report through the wizard
+-
+ !python {model: account.analytic.account}: |
+ ctx={}
+ ctx.update({'model': 'account.analytic.account','active_ids': [ref('account.analytic_root'),ref('account.analytic_absences'),ref('account.analytic_internal'),ref('account.analytic_our_super_product')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_analytic_cost_ledger_journal',wiz_data=data_dict, context=ctx, our_module='account')
+
+-
+ Print the Analytic Journal Report through the wizard
+-
+ !python {model: account.analytic.journal}: |
+ ctx={}
+ ctx.update({'model': 'account.analytic.journal','active_ids': [ref('account.cose_journal_sale'), ref('account.exp'), ref('account.sit')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_analytic_journal',wiz_data=data_dict, context=ctx, our_module='account')
+
+-
+ Print the Inverted Analytic Balance Report through the wizard
+-
+ !python {model: account.analytic.account}: |
+ ctx={}
+ ctx.update({'model': 'account.analytic.account','active_ids': [ref('account.analytic_root')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_analytic_invert_balance',wiz_data=data_dict, context=ctx, our_module='account')
diff --git a/addons/account/wizard/account_change_currency.py b/addons/account/wizard/account_change_currency.py
index 47f9ac9c2c8..d915a1cd34b 100644
--- a/addons/account/wizard/account_change_currency.py
+++ b/addons/account/wizard/account_change_currency.py
@@ -72,7 +72,7 @@ class account_change_currency(osv.osv_memory):
new_price = (line.price_unit / old_rate ) * rate
obj_inv_line.write(cr, uid, [line.id], {'price_unit': new_price})
obj_inv.write(cr, uid, [invoice.id], {'currency_id': new_currency}, context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_change_currency()
diff --git a/addons/account/wizard/account_fiscalyear_close.py b/addons/account/wizard/account_fiscalyear_close.py
index 42383341828..6190f792c7f 100644
--- a/addons/account/wizard/account_fiscalyear_close.py
+++ b/addons/account/wizard/account_fiscalyear_close.py
@@ -215,7 +215,7 @@ class account_fiscalyear_close(osv.osv_memory):
cr.execute('UPDATE account_fiscalyear ' \
'SET end_journal_period_id = %s ' \
'WHERE id = %s', (ids[0], old_fyear.id))
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_fiscalyear_close()
diff --git a/addons/account/wizard/account_fiscalyear_close_state.py b/addons/account/wizard/account_fiscalyear_close_state.py
index 9a559d039da..abf054746ce 100644
--- a/addons/account/wizard/account_fiscalyear_close_state.py
+++ b/addons/account/wizard/account_fiscalyear_close_state.py
@@ -57,7 +57,7 @@ class account_fiscalyear_close_state(osv.osv_memory):
fy_pool = self.pool.get('account.fiscalyear')
fy_code = fy_pool.browse(cr, uid, fy_id, context=context).code
fy_pool.log(cr, uid, fy_id, "Fiscal year '%s' is closed, no more modification allowed." % (fy_code))
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_fiscalyear_close_state()
diff --git a/addons/account/wizard/account_invoice_state.py b/addons/account/wizard/account_invoice_state.py
index 2e7a519aa34..7adcb908a34 100644
--- a/addons/account/wizard/account_invoice_state.py
+++ b/addons/account/wizard/account_invoice_state.py
@@ -43,7 +43,7 @@ class account_invoice_confirm(osv.osv_memory):
if record['state'] not in ('draft','proforma','proforma2'):
raise osv.except_osv(_('Warning'), _("Selected Invoice(s) cannot be confirmed as they are not in 'Draft' or 'Pro-Forma' state!"))
wf_service.trg_validate(uid, 'account.invoice', record['id'], 'invoice_open', cr)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_invoice_confirm()
@@ -67,7 +67,7 @@ class account_invoice_cancel(osv.osv_memory):
if record['state'] in ('cancel','paid'):
raise osv.except_osv(_('Warning'), _("Selected Invoice(s) cannot be cancelled as they are already in 'Cancelled' or 'Done' state!"))
wf_service.trg_validate(uid, 'account.invoice', record['id'], 'invoice_cancel', cr)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_invoice_cancel()
diff --git a/addons/account/wizard/account_open_closed_fiscalyear.py b/addons/account/wizard/account_open_closed_fiscalyear.py
index 582bbc36619..541e7b2cbdb 100644
--- a/addons/account/wizard/account_open_closed_fiscalyear.py
+++ b/addons/account/wizard/account_open_closed_fiscalyear.py
@@ -42,7 +42,7 @@ class account_open_closed_fiscalyear(osv.osv_memory):
ids_move = move_obj.search(cr, uid, [('journal_id','=',period_journal.journal_id.id),('period_id','=',period_journal.period_id.id)])
if ids_move:
cr.execute('delete from account_move where id IN %s', (tuple(ids_move),))
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_open_closed_fiscalyear()
diff --git a/addons/account/wizard/account_period_close.py b/addons/account/wizard/account_period_close.py
index 3b3acecc389..5b7589d7830 100644
--- a/addons/account/wizard/account_period_close.py
+++ b/addons/account/wizard/account_period_close.py
@@ -50,7 +50,7 @@ class account_period_close(osv.osv_memory):
# Log message for Period
for period_id, name in period_pool.name_get(cr, uid, [id]):
period_pool.log(cr, uid, period_id, "Period '%s' is closed, no more modification allowed for this period." % (name))
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_period_close()
diff --git a/addons/account/wizard/account_reconcile.py b/addons/account/wizard/account_reconcile.py
index f89ffb47a76..8131f6a9668 100644
--- a/addons/account/wizard/account_reconcile.py
+++ b/addons/account/wizard/account_reconcile.py
@@ -101,7 +101,7 @@ class account_move_line_reconcile(osv.osv_memory):
context.update({'stop_reconcile': True})
account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id,
period_id, journal_id, context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_move_line_reconcile()
@@ -145,7 +145,7 @@ class account_move_line_reconcile_writeoff(osv.osv_memory):
if context is None:
context = {}
account_move_line_obj.reconcile_partial(cr, uid, context['active_ids'], 'manual', context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
def trans_rec_reconcile(self, cr, uid, ids, context=None):
account_move_line_obj = self.pool.get('account.move.line')
@@ -169,7 +169,7 @@ class account_move_line_reconcile_writeoff(osv.osv_memory):
context.update({'stop_reconcile': True})
account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id,
period_id, journal_id, context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_move_line_reconcile_writeoff()
diff --git a/addons/account/wizard/account_reconcile_partner_process.py b/addons/account/wizard/account_reconcile_partner_process.py
index 9f91d1ec2d2..7cfeff70891 100644
--- a/addons/account/wizard/account_reconcile_partner_process.py
+++ b/addons/account/wizard/account_reconcile_partner_process.py
@@ -83,7 +83,7 @@ class account_partner_reconcile_process(osv.osv_memory):
res_partner_obj.write(cr, uid, partner_id[0], {'last_reconciliation_date': time.strftime('%Y-%m-%d')}, context)
#TODO: we have to find a way to update the context of the current tab (we could open a new tab with the context but it's not really handy)
#TODO: remove that comments when the client side dev is done
- return {}
+ return {'type': 'ir.actions.act_window_close'}
_columns = {
'to_reconcile': fields.float('Remaining Partners', readonly=True, help='This is the remaining partners for who you should check if there is something to reconcile or not. This figure already count the current partner as reconciled.'),
diff --git a/addons/account/wizard/account_report_account_balance.py b/addons/account/wizard/account_report_account_balance.py
index 1c3743bf3c7..a72d58dd904 100644
--- a/addons/account/wizard/account_report_account_balance.py
+++ b/addons/account/wizard/account_report_account_balance.py
@@ -19,8 +19,6 @@
#
##############################################################################
-from lxml import etree
-
from osv import osv
class account_balance_report(osv.osv_memory):
@@ -38,4 +36,4 @@ class account_balance_report(osv.osv_memory):
account_balance_report()
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/account/wizard/account_report_aged_partner_balance.py b/addons/account/wizard/account_report_aged_partner_balance.py
index f76beb6bee1..59784e6e15d 100644
--- a/addons/account/wizard/account_report_aged_partner_balance.py
+++ b/addons/account/wizard/account_report_aged_partner_balance.py
@@ -22,8 +22,6 @@
import time
from datetime import datetime
from dateutil.relativedelta import relativedelta
-from lxml import etree
-
from osv import osv, fields
from tools.translate import _
@@ -79,7 +77,8 @@ class account_aged_trial_balance(osv.osv_memory):
}
start = stop + relativedelta(days=1)
data['form'].update(res)
-
+ if data.get('form',False):
+ data['ids']=[data['form'].get('chart_account_id',False)]
return {
'type': 'ir.actions.report.xml',
'report_name': 'account.aged_trial_balance',
diff --git a/addons/account/wizard/account_report_balance_sheet.py b/addons/account/wizard/account_report_balance_sheet.py
index 174c172fdaa..b69c6d65d71 100644
--- a/addons/account/wizard/account_report_balance_sheet.py
+++ b/addons/account/wizard/account_report_balance_sheet.py
@@ -19,8 +19,6 @@
#
##############################################################################
-from lxml import etree
-
from osv import osv, fields
from tools.translate import _
@@ -86,4 +84,4 @@ class account_bs_report(osv.osv_memory):
account_bs_report()
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/account/wizard/account_report_profit_loss.py b/addons/account/wizard/account_report_profit_loss.py
index 444d91fa8fd..c526550e789 100644
--- a/addons/account/wizard/account_report_profit_loss.py
+++ b/addons/account/wizard/account_report_profit_loss.py
@@ -19,8 +19,6 @@
#
##############################################################################
-from lxml import etree
-
from osv import osv, fields
class account_pl_report(osv.osv_memory):
@@ -60,4 +58,4 @@ class account_pl_report(osv.osv_memory):
account_pl_report()
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/account/wizard/account_state_open.py b/addons/account/wizard/account_state_open.py
index 2a03a80aefa..81705771d67 100644
--- a/addons/account/wizard/account_state_open.py
+++ b/addons/account/wizard/account_state_open.py
@@ -37,7 +37,7 @@ class account_state_open(osv.osv_memory):
raise osv.except_osv(_('Warning'), _('Invoice is already reconciled'))
wf_service = netsvc.LocalService("workflow")
res = wf_service.trg_validate(uid, 'account.invoice', context['active_ids'][0], 'open_test', cr)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_state_open()
diff --git a/addons/account/wizard/account_unreconcile.py b/addons/account/wizard/account_unreconcile.py
index 3a067b4a598..0e6c38f9d7c 100644
--- a/addons/account/wizard/account_unreconcile.py
+++ b/addons/account/wizard/account_unreconcile.py
@@ -31,7 +31,7 @@ class account_unreconcile(osv.osv_memory):
context = {}
if context.get('active_ids', False):
obj_move_line._remove_move_reconcile(cr, uid, context['active_ids'], context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_unreconcile()
@@ -46,7 +46,7 @@ class account_unreconcile_reconcile(osv.osv_memory):
rec_ids = context['active_ids']
if rec_ids:
obj_move_reconcile.unlink(cr, uid, rec_ids, context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
account_unreconcile_reconcile()
diff --git a/addons/account/wizard/account_validate_account_move.py b/addons/account/wizard/account_validate_account_move.py
index f840d2b5532..ddcfa2c5353 100644
--- a/addons/account/wizard/account_validate_account_move.py
+++ b/addons/account/wizard/account_validate_account_move.py
@@ -38,7 +38,7 @@ class validate_account_move(osv.osv_memory):
if not ids_move:
raise osv.except_osv(_('Warning'), _('Specified Journal does not have any account move entries in draft state for this period'))
obj_move.button_validate(cr, uid, ids_move, context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
validate_account_move()
@@ -60,7 +60,7 @@ class validate_account_move_lines(osv.osv_memory):
if not move_ids:
raise osv.except_osv(_('Warning'), _('Selected Entry Lines does not have any account move enties in draft state'))
obj_move.button_validate(cr, uid, move_ids, context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
validate_account_move_lines()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/account_accountant/i18n/account_accountant.pot b/addons/account_accountant/i18n/account_accountant.pot
index d173ea2eaab..8fb73751247 100644
--- a/addons/account_accountant/i18n/account_accountant.pot
+++ b/addons/account_accountant/i18n/account_accountant.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:19+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:19+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:46+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:46+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
diff --git a/addons/account_accountant/i18n/el.po b/addons/account_accountant/i18n/el.po
index a297e367389..50755f0ed3b 100644
--- a/addons/account_accountant/i18n/el.po
+++ b/addons/account_accountant/i18n/el.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-11-14 07:49+0000\n"
+"PO-Revision-Date: 2010-12-29 13:17+0000\n"
"Last-Translator: Dimitris Andavoglou \n"
"Language-Team: Greek \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:57+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:28+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_accountant
@@ -26,6 +26,11 @@ msgid ""
"items and the chart of accounts.\n"
" "
msgstr ""
+"\n"
+"Αυτό το άρθωμα δίνει στον Διαχειριστή πρόσβαση σε όλες τις δυνατότητες της "
+"λογιστικής όπως το ημερολόγιο\n"
+"και το Λογιστικό Σχέδιο.\n"
+" "
#. module: account_accountant
#: model:ir.module.module,shortdesc:account_accountant.module_meta_information
diff --git a/addons/account_accountant/i18n/es_EC.po b/addons/account_accountant/i18n/es_EC.po
index 82f45ddb4c0..e78454ba159 100644
--- a/addons/account_accountant/i18n/es_EC.po
+++ b/addons/account_accountant/i18n/es_EC.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-11-22 20:40+0000\n"
+"PO-Revision-Date: 2010-12-28 05:07+0000\n"
"Last-Translator: Cristian Salamea (Gnuthink) \n"
"Language-Team: Spanish (Ecuador) \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:57+0000\n"
+"X-Launchpad-Export-Date: 2010-12-29 04:58+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_accountant
@@ -26,6 +26,11 @@ msgid ""
"items and the chart of accounts.\n"
" "
msgstr ""
+"\n"
+"Este módulo proporciona al usuario admin el acceso a todas las "
+"funcionalidades de contabilidad como\n"
+"los asientos y el plan contable.\n"
+" "
#. module: account_accountant
#: model:ir.module.module,shortdesc:account_accountant.module_meta_information
diff --git a/addons/account_analytic_analysis/account_analytic_analysis.py b/addons/account_analytic_analysis/account_analytic_analysis.py
index 9c3034fe127..01c34459289 100644
--- a/addons/account_analytic_analysis/account_analytic_analysis.py
+++ b/addons/account_analytic_analysis/account_analytic_analysis.py
@@ -384,7 +384,7 @@ class account_analytic_account(osv.osv):
'ca_to_invoice': fields.function(_analysis_all, method=True, multi='analytic_analysis', type='float', string='Uninvoiced Amount',
help="If invoice from analytic account, the remaining amount you can invoice to the customer based on the total costs.",
digits_compute=dp.get_precision('Account')),
- 'ca_theorical': fields.function(_analysis_all, method=True, multi='analytic_analysis', type='float', string='Theorical Revenue',
+ 'ca_theorical': fields.function(_analysis_all, method=True, multi='analytic_analysis', type='float', string='Theoretical Revenue',
help="Based on the costs you had on the project, what would have been the revenue if all these costs have been invoiced at the normal sale price provided by the pricelist.",
digits_compute=dp.get_precision('Account')),
'hours_quantity': fields.function(_analysis_all, method=True, multi='analytic_analysis', type='float', string='Hours Tot',
@@ -410,7 +410,7 @@ class account_analytic_account(osv.osv):
'real_margin': fields.function(_real_margin_calc, method=True, type='float', string='Real Margin',
help="Computed using the formula: Invoiced Amount - Total Costs.",
digits_compute=dp.get_precision('Account')),
- 'theorical_margin': fields.function(_theorical_margin_calc, method=True, type='float', string='Theorical Margin',
+ 'theorical_margin': fields.function(_theorical_margin_calc, method=True, type='float', string='Theoretical Margin',
help="Computed using the formula: Theorial Revenue - Total Costs",
digits_compute=dp.get_precision('Account')),
'real_margin_rate': fields.function(_real_margin_rate_calc, method=True, type='float', string='Real Margin Rate (%)',
diff --git a/addons/account_analytic_analysis/i18n/account_analytic_analysis.pot b/addons/account_analytic_analysis/i18n/account_analytic_analysis.pot
index b32bfc2a40c..38feb5553e5 100644
--- a/addons/account_analytic_analysis/i18n/account_analytic_analysis.pot
+++ b/addons/account_analytic_analysis/i18n/account_analytic_analysis.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:19+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:19+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:46+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:46+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -31,16 +31,12 @@ msgid "Computed using the formula: Maximum Quantity - Hours Tot."
msgstr ""
#. module: account_analytic_analysis
-#: code:addons/account_analytic_analysis/account_analytic_analysis.py:0
+#: code:addons/account_analytic_analysis/account_analytic_analysis.py:532
+#: code:addons/account_analytic_analysis/account_analytic_analysis.py:703
#, python-format
msgid "AccessError"
msgstr ""
-#. module: account_analytic_analysis
-#: field:account.analytic.account,ca_theorical:0
-msgid "Theorical Revenue"
-msgstr ""
-
#. module: account_analytic_analysis
#: help:account.analytic.account,last_invoice_date:0
msgid "Date of the last invoice created for this analytic account."
@@ -69,13 +65,13 @@ msgid "Computed using the formula: Theorial Revenue - Total Costs"
msgstr ""
#. module: account_analytic_analysis
-#: field:account.analytic.account,theorical_margin:0
-msgid "Theorical Margin"
+#: field:account.analytic.account,real_margin_rate:0
+msgid "Real Margin Rate (%)"
msgstr ""
#. module: account_analytic_analysis
-#: field:account.analytic.account,real_margin_rate:0
-msgid "Real Margin Rate (%)"
+#: field:account.analytic.account,ca_theorical:0
+msgid "Theoretical Revenue"
msgstr ""
#. module: account_analytic_analysis
@@ -108,6 +104,11 @@ msgstr ""
msgid "Remaining Hours"
msgstr ""
+#. module: account_analytic_analysis
+#: field:account.analytic.account,theorical_margin:0
+msgid "Theoretical Margin"
+msgstr ""
+
#. module: account_analytic_analysis
#: help:account.analytic.account,ca_theorical:0
msgid "Based on the costs you had on the project, what would have been the revenue if all these costs have been invoiced at the normal sale price provided by the pricelist."
@@ -155,7 +156,8 @@ msgid "Invoiced Amount"
msgstr ""
#. module: account_analytic_analysis
-#: code:addons/account_analytic_analysis/account_analytic_analysis.py:0
+#: code:addons/account_analytic_analysis/account_analytic_analysis.py:533
+#: code:addons/account_analytic_analysis/account_analytic_analysis.py:704
#, python-format
msgid "You try to bypass an access rule (Document type: %s)."
msgstr ""
@@ -175,6 +177,11 @@ msgstr ""
msgid "Real Margin"
msgstr ""
+#. module: account_analytic_analysis
+#: constraint:account.analytic.account:0
+msgid "Error! The currency has to be the same as the currency of the selected company"
+msgstr ""
+
#. module: account_analytic_analysis
#: help:account.analytic.account,ca_invoiced:0
msgid "Total customer invoiced amount for this account."
diff --git a/addons/account_analytic_analysis/i18n/it.po b/addons/account_analytic_analysis/i18n/it.po
index 68ad08c2a35..16604362e51 100644
--- a/addons/account_analytic_analysis/i18n/it.po
+++ b/addons/account_analytic_analysis/i18n/it.po
@@ -7,14 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-12 10:11+0000\n"
-"Last-Translator: Lorenzo Battistini - agilebg.com "
-"\n"
+"PO-Revision-Date: 2011-01-01 13:31+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: <>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:31+0000\n"
+"X-Launchpad-Export-Date: 2011-01-02 05:01+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_analytic_analysis
@@ -64,6 +63,14 @@ msgid ""
"You can also view the report of account analytic summary\n"
"user-wise as well as month wise.\n"
msgstr ""
+"\n"
+"Questo moduli è creato per modificare le viste dei conti analitici per "
+"mostrare\n"
+"dati importanti al manager di progetto per una compagnia di servizi.\n"
+"Aggiunge menu per mostrare informazioni rilevanti ad ogni manager.\n"
+"\n"
+"E' inoltre possibile visulizzare il report riepilogativo di conti analitici\n"
+"in modalità utente così come in modalità mensile.\n"
#. module: account_analytic_analysis
#: field:account.analytic.account,last_invoice_date:0
diff --git a/addons/account_analytic_default/i18n/account_analytic_default.pot b/addons/account_analytic_default/i18n/account_analytic_default.pot
index f75a5d720e9..4190e00e2d0 100644
--- a/addons/account_analytic_default/i18n/account_analytic_default.pot
+++ b/addons/account_analytic_default/i18n/account_analytic_default.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:20+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:20+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:46+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:46+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
diff --git a/addons/account_analytic_default/i18n/el.po b/addons/account_analytic_default/i18n/el.po
index 058690a2dcd..88bec7f43a9 100644
--- a/addons/account_analytic_default/i18n/el.po
+++ b/addons/account_analytic_default/i18n/el.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-11-14 08:17+0000\n"
+"PO-Revision-Date: 2010-12-29 11:33+0000\n"
"Last-Translator: Dimitris Andavoglou \n"
"Language-Team: Greek \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:35+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:26+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_analytic_default
@@ -60,7 +60,7 @@ msgstr "Προκαθορισμένη Ημερομηνία Λήξης γι' αυ
#. module: account_analytic_default
#: model:ir.model,name:account_analytic_default.model_stock_picking
msgid "Picking List"
-msgstr ""
+msgstr "Λίστα Παραλαβής"
#. module: account_analytic_default
#: view:account.analytic.default:0
@@ -89,7 +89,7 @@ msgstr "Προϊόν"
#. module: account_analytic_default
#: model:ir.model,name:account_analytic_default.model_account_analytic_default
msgid "Analytic Distribution"
-msgstr ""
+msgstr "Αναλυτική Κατανομή"
#. module: account_analytic_default
#: view:account.analytic.default:0
@@ -155,7 +155,7 @@ msgstr "Αλληλουχία"
#. module: account_analytic_default
#: model:ir.model,name:account_analytic_default.model_account_invoice_line
msgid "Invoice Line"
-msgstr ""
+msgstr "Γραμμή Τιμολογίου"
#. module: account_analytic_default
#: view:account.analytic.default:0
@@ -166,7 +166,7 @@ msgstr "Αναλυτικός Λογαριασμός"
#. module: account_analytic_default
#: view:account.analytic.default:0
msgid "Accounts"
-msgstr ""
+msgstr "Λογαριασμοί"
#. module: account_analytic_default
#: view:account.analytic.default:0
diff --git a/addons/account_analytic_plans/i18n/account_analytic_plans.pot b/addons/account_analytic_plans/i18n/account_analytic_plans.pot
index a92c5097bbd..73e254d3063 100644
--- a/addons/account_analytic_plans/i18n/account_analytic_plans.pot
+++ b/addons/account_analytic_plans/i18n/account_analytic_plans.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:20+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:20+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:47+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:47+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -66,6 +66,12 @@ msgstr ""
msgid "Analytic Plan Line"
msgstr ""
+#. module: account_analytic_plans
+#: code:addons/account_analytic_plans/wizard/account_crossovered_analytic.py:60
+#, python-format
+msgid "User Error"
+msgstr ""
+
#. module: account_analytic_plans
#: model:ir.model,name:account_analytic_plans.model_account_analytic_plan_instance
msgid "Analytic Plan Instance"
@@ -152,7 +158,7 @@ msgid "Sales Order Line"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:0
+#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:47
#: view:analytic.plan.create.model:0
#, python-format
msgid "Distribution Model Saved"
@@ -174,13 +180,13 @@ msgid "Percentage"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/account_analytic_plans.py:0
+#: code:addons/account_analytic_plans/account_analytic_plans.py:201
#, python-format
msgid "A model having this name and code already exists !"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:0
+#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:41
#, python-format
msgid "No analytic plan defined !"
msgstr ""
@@ -198,9 +204,8 @@ msgid "Analytic Plans"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/wizard/account_crossovered_analytic.py:0
-#, python-format
-msgid "User Error"
+#: report:account.analytic.account.crossovered.analytic:0
+msgid "Perc(%)"
msgstr ""
#. module: account_analytic_plans
@@ -264,7 +269,8 @@ msgid "To Date"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/account_analytic_plans.py:0
+#: code:addons/account_analytic_plans/account_analytic_plans.py:321
+#: code:addons/account_analytic_plans/account_analytic_plans.py:462
#, python-format
msgid "You have to define an analytic journal on the '%s' journal!"
msgstr ""
@@ -359,8 +365,9 @@ msgid "Root account of this plan."
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/account_analytic_plans.py:0
-#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:0
+#: code:addons/account_analytic_plans/account_analytic_plans.py:201
+#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:38
+#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:41
#, python-format
msgid "Error"
msgstr ""
@@ -376,7 +383,7 @@ msgid "Quantity"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:0
+#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:38
#, python-format
msgid "Please put a name and a code before saving the model !"
msgstr ""
@@ -387,7 +394,8 @@ msgid "Print Crossovered Analytic"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/account_analytic_plans.py:0
+#: code:addons/account_analytic_plans/account_analytic_plans.py:321
+#: code:addons/account_analytic_plans/account_analytic_plans.py:462
#, python-format
msgid "No Analytic Journal !"
msgstr ""
@@ -424,7 +432,7 @@ msgid "Analytic Distribution Lines"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/account_analytic_plans.py:0
+#: code:addons/account_analytic_plans/account_analytic_plans.py:214
#, python-format
msgid "The Total Should be Between %s and %s"
msgstr ""
@@ -501,7 +509,7 @@ msgid "The name of the journal must be unique per company !"
msgstr ""
#. module: account_analytic_plans
-#: code:addons/account_analytic_plans/account_analytic_plans.py:0
+#: code:addons/account_analytic_plans/account_analytic_plans.py:214
#, python-format
msgid "Value Error"
msgstr ""
diff --git a/addons/account_analytic_plans/i18n/de.po b/addons/account_analytic_plans/i18n/de.po
index 5692cc2c680..805481c2693 100644
--- a/addons/account_analytic_plans/i18n/de.po
+++ b/addons/account_analytic_plans/i18n/de.po
@@ -7,14 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-25 10:25+0000\n"
+"PO-Revision-Date: 2010-12-31 10:33+0000\n"
"Last-Translator: Thorsten Vocks (OpenBig.org) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-26 04:51+0000\n"
+"X-Launchpad-Export-Date: 2011-01-01 05:03+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_analytic_plans
@@ -406,7 +406,7 @@ msgstr ""
#. module: account_analytic_plans
#: field:account.analytic.plan.line,min_required:0
msgid "Minimum Allowed (%)"
-msgstr "Min. Erlaubt (100%)"
+msgstr "Min. Erlaubt (%)"
#. module: account_analytic_plans
#: help:account.analytic.plan.line,root_analytic_id:0
diff --git a/addons/account_analytic_plans/i18n/el.po b/addons/account_analytic_plans/i18n/el.po
index 697cb6dca11..ec8afa6aa97 100644
--- a/addons/account_analytic_plans/i18n/el.po
+++ b/addons/account_analytic_plans/i18n/el.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-11-19 13:31+0000\n"
-"Last-Translator: Kontaxis Panagiotis \n"
+"PO-Revision-Date: 2010-12-29 08:59+0000\n"
+"Last-Translator: Dimitris Andavoglou \n"
"Language-Team: Greek \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:31+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:26+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_analytic_plans
@@ -139,7 +139,7 @@ msgstr "Λογαριασμος Αναλυτικής"
#. module: account_analytic_plans
#: sql_constraint:account.journal:0
msgid "The code of the journal must be unique per company !"
-msgstr ""
+msgstr "Ο κωδικός του ημερολογίου πρέπει να είναι μοναδικός ανά εταιρία !"
#. module: account_analytic_plans
#: field:account.crossovered.analytic,ref:0
@@ -155,7 +155,7 @@ msgstr ""
#. module: account_analytic_plans
#: model:ir.model,name:account_analytic_plans.model_sale_order_line
msgid "Sales Order Line"
-msgstr ""
+msgstr "Γραμμή Παραγγελίας"
#. module: account_analytic_plans
#: code:addons/account_analytic_plans/wizard/analytic_plan_create_model.py:0
@@ -502,7 +502,7 @@ msgstr "Κώδικας Διανομής"
#. module: account_analytic_plans
#: report:account.analytic.account.crossovered.analytic:0
msgid "%"
-msgstr ""
+msgstr "%"
#. module: account_analytic_plans
#: report:account.analytic.account.crossovered.analytic:0
@@ -548,7 +548,7 @@ msgstr "Αλληλουχία"
#. module: account_analytic_plans
#: sql_constraint:account.journal:0
msgid "The name of the journal must be unique per company !"
-msgstr ""
+msgstr "Το όνομα του ημερολογίου πρέπει να είναι μοναδικός ανά εταιρία !"
#. module: account_analytic_plans
#: code:addons/account_analytic_plans/account_analytic_plans.py:0
diff --git a/addons/account_analytic_plans/report/crossovered_analytic.rml b/addons/account_analytic_plans/report/crossovered_analytic.rml
index 0292522206d..6e331ed1b83 100644
--- a/addons/account_analytic_plans/report/crossovered_analytic.rml
+++ b/addons/account_analytic_plans/report/crossovered_analytic.rml
@@ -150,7 +150,7 @@
Amount
- Percentage
+ Perc(%)
|
@@ -222,7 +222,7 @@
Amount
- Percentage
+ Perc(%)
|
@@ -301,4 +301,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account_analytic_plans/wizard/analytic_plan_create_model.py b/addons/account_analytic_plans/wizard/analytic_plan_create_model.py
index 0581197aaca..1cd3022f60b 100644
--- a/addons/account_analytic_plans/wizard/analytic_plan_create_model.py
+++ b/addons/account_analytic_plans/wizard/analytic_plan_create_model.py
@@ -53,7 +53,7 @@ class analytic_plan_create_model(osv.osv_memory):
'target': 'new',
}
else:
- return {}
+ return {'type': 'ir.actions.act_window_close'}
analytic_plan_create_model()
diff --git a/addons/account_anglo_saxon/i18n/account_anglo_saxon.pot b/addons/account_anglo_saxon/i18n/account_anglo_saxon.pot
index f96013a9b3a..d72d95f22b1 100644
--- a/addons/account_anglo_saxon/i18n/account_anglo_saxon.pot
+++ b/addons/account_anglo_saxon/i18n/account_anglo_saxon.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:21+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:21+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:48+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:48+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -21,8 +21,8 @@ msgid " Accounting Property"
msgstr ""
#. module: account_anglo_saxon
-#: model:ir.model,name:account_anglo_saxon.model_product_category
-msgid "Product Category"
+#: sql_constraint:purchase.order:0
+msgid "Order Reference must be unique !"
msgstr ""
#. module: account_anglo_saxon
@@ -50,6 +50,11 @@ msgstr ""
msgid "Product Template"
msgstr ""
+#. module: account_anglo_saxon
+#: model:ir.model,name:account_anglo_saxon.model_product_category
+msgid "Product Category"
+msgstr ""
+
#. module: account_anglo_saxon
#: model:ir.module.module,shortdesc:account_anglo_saxon.module_meta_information
msgid "Stock Accounting for Anglo Saxon countries"
diff --git a/addons/account_anglo_saxon/i18n/fr.po b/addons/account_anglo_saxon/i18n/fr.po
index a06d14a6798..2399c9b3827 100644
--- a/addons/account_anglo_saxon/i18n/fr.po
+++ b/addons/account_anglo_saxon/i18n/fr.po
@@ -8,20 +8,19 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-16 17:53+0000\n"
-"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) "
-"\n"
+"PO-Revision-Date: 2010-12-31 11:02+0000\n"
+"Last-Translator: lolivier \n"
"Language-Team: French \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:52+0000\n"
+"X-Launchpad-Export-Date: 2011-01-01 05:04+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_anglo_saxon
#: view:product.category:0
msgid " Accounting Property"
-msgstr ""
+msgstr " Propriété de comptabilité"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_product_category
diff --git a/addons/account_anglo_saxon/i18n/fr_BE.po b/addons/account_anglo_saxon/i18n/fr_BE.po
deleted file mode 100644
index 54f33713af6..00000000000
--- a/addons/account_anglo_saxon/i18n/fr_BE.po
+++ /dev/null
@@ -1,54 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * account_anglo_saxon
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2009-11-24 12:50:50+0000\n"
-"PO-Revision-Date: 2009-11-24 12:50:50+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: account_anglo_saxon
-#: view:product.category:0
-msgid " Accounting Property"
-msgstr ""
-
-#. module: account_anglo_saxon
-#: model:ir.module.module,description:account_anglo_saxon.module_meta_information
-msgid "This module will support the Anglo-Saxons accounting methodology by \n"
-" changing the accounting logic with stock transactions. The difference between the Anglo-Saxon accounting countries \n"
-" and the Rhine or also called Continental accounting countries is the moment of taking the Cost of Goods Sold versus Cost of Sales. \n"
-" Anglo-Saxons accounting does take the cost when sales invoice is created, Continental accounting will take the cost at he moment the goods are shipped.\n"
-" This module will add this functionality by using a interim account, to store the value of shipped goods and will contra book this interim account \n"
-" when the invoice is created to transfer this amount to the debtor or creditor account."
-msgstr ""
-
-#. module: account_anglo_saxon
-#: model:ir.module.module,shortdesc:account_anglo_saxon.module_meta_information
-msgid "Stock Account"
-msgstr ""
-
-#. module: account_anglo_saxon
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr ""
-
-#. module: account_anglo_saxon
-#: field:product.category,property_account_creditor_price_difference_categ:0
-#: field:product.template,property_account_creditor_price_difference:0
-msgid "Price Difference Account"
-msgstr ""
-
-#. module: account_anglo_saxon
-#: help:product.category,property_account_creditor_price_difference_categ:0
-#: help:product.template,property_account_creditor_price_difference:0
-msgid "This account will be used to value price difference between purchase price and cost price."
-msgstr ""
-
diff --git a/addons/account_anglo_saxon/i18n/hi.po b/addons/account_anglo_saxon/i18n/hi.po
index 033a87db618..52c69f63bf1 100644
--- a/addons/account_anglo_saxon/i18n/hi.po
+++ b/addons/account_anglo_saxon/i18n/hi.po
@@ -8,19 +8,19 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-21 11:14+0000\n"
-"Last-Translator: Sanjay Kumar \n"
+"PO-Revision-Date: 2010-12-29 12:38+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: Hindi \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:52+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:27+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_anglo_saxon
#: view:product.category:0
msgid " Accounting Property"
-msgstr ""
+msgstr " लेखांकन संपत्ति"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_product_category
@@ -56,7 +56,7 @@ msgstr "उत्पाद प्रारूप"
#. module: account_anglo_saxon
#: model:ir.module.module,shortdesc:account_anglo_saxon.module_meta_information
msgid "Stock Accounting for Anglo Saxon countries"
-msgstr ""
+msgstr "अंग्लो Saxon देशों के लिए भण्डार लेखा"
#. module: account_anglo_saxon
#: field:product.category,property_account_creditor_price_difference_categ:0
@@ -100,6 +100,7 @@ msgid ""
"This account will be used to value price difference between purchase price "
"and cost price."
msgstr ""
+"इस खाता का उपयोग क्रय मूल्य और विक्रय मूल्य का अंतर निकालने में किया जायेगा"
#~ msgid "Invalid XML for View Architecture!"
#~ msgstr "संरचना देखने के लिए अमान्य XML!"
diff --git a/addons/account_anglo_saxon/i18n/it.po b/addons/account_anglo_saxon/i18n/it.po
index e04b4ca782d..d5c13679c57 100644
--- a/addons/account_anglo_saxon/i18n/it.po
+++ b/addons/account_anglo_saxon/i18n/it.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-27 07:56+0000\n"
-"Last-Translator: Nicola Riolini - Micronaet \n"
+"PO-Revision-Date: 2010-12-28 09:17+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: Italian \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-28 04:43+0000\n"
+"X-Launchpad-Export-Date: 2010-12-29 04:57+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_anglo_saxon
diff --git a/addons/account_anglo_saxon/invoice.py b/addons/account_anglo_saxon/invoice.py
index 784dd9367c7..c37a93b4be4 100644
--- a/addons/account_anglo_saxon/invoice.py
+++ b/addons/account_anglo_saxon/invoice.py
@@ -21,7 +21,7 @@
#
##############################################################################
-from osv import fields, osv
+from osv import osv
class account_invoice_line(osv.osv):
_inherit = "account.invoice.line"
diff --git a/addons/account_budget/i18n/account_budget.pot b/addons/account_budget/i18n/account_budget.pot
index e2ea514a5cf..91d987c5d9d 100644
--- a/addons/account_budget/i18n/account_budget.pot
+++ b/addons/account_budget/i18n/account_budget.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:21+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:21+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:49+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:49+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -32,13 +32,14 @@ msgid "Budgetary Positions"
msgstr ""
#. module: account_budget
-#: view:account.budget.crossvered.summary.report:0
-msgid "This wizard is used to print summary of budgets"
+#: code:addons/account_budget/account_budget.py:119
+#, python-format
+msgid "The General Budget '%s' has no Accounts!"
msgstr ""
#. module: account_budget
-#: model:ir.actions.act_window,help:account_budget.act_crossovered_budget_view
-msgid "A budget is a forecast of your company's income and expenses expected for a period in the future. With a budget, a company is able to carefully look at how much money they are taking in during a given period, and figure out the best way to divide it among various categories. By keeping track of where your money goes, you may be less likely to overspend, and more likely to meet your financial goals. Forecast a budget by detailing the expected revenue per analytic account and monitor its evolution based on the actuals realised during that period."
+#: report:account.budget:0
+msgid "Printed at:"
msgstr ""
#. module: account_budget
@@ -117,6 +118,16 @@ msgstr ""
msgid "Status"
msgstr ""
+#. module: account_budget
+#: model:ir.actions.act_window,help:account_budget.act_crossovered_budget_view
+msgid "A budget is a forecast of your company's income and expenses expected for a period in the future. With a budget, a company is able to carefully look at how much money they are taking in during a given period, and figure out the best way to divide it among various categories. By keeping track of where your money goes, you may be less likely to overspend, and more likely to meet your financial goals. Forecast a budget by detailing the expected revenue per analytic account and monitor its evolution based on the actuals realised during that period."
+msgstr ""
+
+#. module: account_budget
+#: view:account.budget.crossvered.summary.report:0
+msgid "This wizard is used to print summary of budgets"
+msgstr ""
+
#. module: account_budget
#: report:account.budget:0
#: report:crossovered.budget.report:0
@@ -182,6 +193,7 @@ msgid "Practical Amt"
msgstr ""
#. module: account_budget
+#: view:account.analytic.account:0
#: view:account.budget.post:0
#: view:crossovered.budget:0
#: field:crossovered.budget.lines,practical_amount:0
@@ -201,6 +213,7 @@ msgid "Account Budget report for analytic account"
msgstr ""
#. module: account_budget
+#: view:account.analytic.account:0
#: view:account.budget.post:0
#: view:crossovered.budget:0
#: field:crossovered.budget.lines,theoritical_amount:0
@@ -235,12 +248,7 @@ msgid "Budget"
msgstr ""
#. module: account_budget
-#: report:account.budget:0
-msgid "Printed at:"
-msgstr ""
-
-#. module: account_budget
-#: code:addons/account_budget/account_budget.py:0
+#: code:addons/account_budget/account_budget.py:119
#, python-format
msgid "Error!"
msgstr ""
@@ -270,9 +278,8 @@ msgid "Budgets"
msgstr ""
#. module: account_budget
-#: code:addons/account_budget/account_budget.py:0
-#, python-format
-msgid "The General Budget '%s' has no Accounts!"
+#: constraint:account.analytic.account:0
+msgid "Error! The currency has to be the same as the currency of the selected company"
msgstr ""
#. module: account_budget
diff --git a/addons/account_budget/i18n/ru.po b/addons/account_budget/i18n/ru.po
index 7a4a5fa2c9d..46fee9b01c3 100644
--- a/addons/account_budget/i18n/ru.po
+++ b/addons/account_budget/i18n/ru.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-08-02 21:08+0000\n"
-"Last-Translator: mga (Open ERP) \n"
+"PO-Revision-Date: 2010-12-29 12:28+0000\n"
+"Last-Translator: Chertykov Denis \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:46+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:27+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_budget
@@ -214,7 +214,7 @@ msgstr ""
#: view:crossovered.budget:0
#: field:crossovered.budget.lines,theoritical_amount:0
msgid "Theoritical Amount"
-msgstr ""
+msgstr "Теоретическая сумма"
#. module: account_budget
#: field:account.budget.post,name:0
@@ -252,7 +252,7 @@ msgstr "Напечатано:"
#: code:addons/account_budget/account_budget.py:0
#, python-format
msgid "Error!"
-msgstr ""
+msgstr "Ошибка !"
#. module: account_budget
#: field:account.budget.post,code:0
diff --git a/addons/account_budget/report/crossovered_budget_report.rml b/addons/account_budget/report/crossovered_budget_report.rml
index ef45c1bd2a6..63db53ab5ce 100644
--- a/addons/account_budget/report/crossovered_budget_report.rml
+++ b/addons/account_budget/report/crossovered_budget_report.rml
@@ -163,13 +163,13 @@
[['.....' *(a['status']-1) ]][[ (a['status']==1 and (setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ a['name'] ]]
|
- [[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['theo'], digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['theo'], dp='Account') ]] [[ company.currency_id.symbol ]]
|
- [[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['pln'], digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['pln'], dp='Account') ]] [[ company.currency_id.symbol ]]
|
- [[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['prac'], digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['prac'], dp='Account') ]] [[ company.currency_id.symbol ]]
|
[[ (a['status']==1 and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]] [[ formatLang(a['perc'],digits=2) ]]%
@@ -183,13 +183,13 @@
[[ repeatIn(funct_total(data['form']),'b') ]] Total :
|
- [[ formatLang(b['tot_theo'], digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(b['tot_theo'], dp='Account') ]] [[ company.currency_id.symbol ]]
|
- [[ formatLang(b['tot_pln'], digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(b['tot_pln'], dp='Account') ]] [[ company.currency_id.symbol ]]
|
- [[ formatLang(b['tot_prac'], digits=get_digits(dp='Account')) ]] [[ company.currency_id.symbol ]]
+ [[ formatLang(b['tot_prac'], dp='Account') ]] [[ company.currency_id.symbol ]]
|
[[ formatLang(b['tot_perc'],digits=2) ]]%
@@ -200,4 +200,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account_budget/test/account_budget_report.yml b/addons/account_budget/test/account_budget_report.yml
index d0766e31196..40b0175f045 100644
--- a/addons/account_budget/test/account_budget_report.yml
+++ b/addons/account_budget/test/account_budget_report.yml
@@ -1,27 +1,33 @@
-
- Print the Analytic Budget Report in Normal mode
+ Print the Analytic Budget Report through wizard
-
!python {model: account.analytic.account}: |
import netsvc, tools, os, time
- data_dict = {'model': 'account.analytic.account', 'form': {'date_from':time.strftime("%Y-01-01"),'date_to':time.strftime('%Y-%m-%d'),'id':ref('account.analytic_root'),'context':{}}}
- (data, format) = netsvc.LocalService('report.account.analytic.account.budget').create(cr, uid, [ref('account.analytic_root')], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account_budget-analytic_budget_report.'+format), 'wb+').write(data)
+ ctx={}
+ ctx.update({'model': 'account.analytic.account','active_ids': [ref('account.analytic_root')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_budget_analytic',wiz_data=data_dict, context=ctx, our_module='account_budget')
+
-
- Print the Budget Report in Normal mode
+ Print the Budget Report through wizard
-
!python {model: account.budget.post}: |
import netsvc, tools, os, time
- data_dict = {'model': 'account.budget.post', 'form': {'date_from':time.strftime("%Y-01-01"),'date_to':time.strftime('%Y-%m-%d'),'id':ref('account_budget.account_budget_post_sales0'),'context':{}}}
- (data, format) = netsvc.LocalService('report.account.analytic.account.budget').create(cr, uid, [ref('account_budget.account_budget_post_sales0')], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account_budget-budget_report.'+format), 'wb+').write(data)
+ ctx={}
+ ctx.update({'model': 'account.budget.post','active_ids': [ref('account_budget.account_budget_post_sales0')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_budget_report',wiz_data=data_dict, context=ctx, our_module='account_budget')
+
-
- Print the CrossOvered Budget Report in Normal mode
+ Print the CrossOvered Budget Report mode through wizard
-
!python {model: crossovered.budget}: |
import netsvc, tools, os, time
- data_dict = {'model': 'account.budget.post', 'form': {'date_from':time.strftime("%Y-01-01"),'date_to':time.strftime('%Y-%m-%d'),'report':'analytic-full','id':ref('account_budget.crossovered_budget_budgetoptimistic0'),'context':{}}}
- (data, format) = netsvc.LocalService('report.crossovered.budget.report').create(cr, uid, [ref('account_budget.crossovered_budget_budgetoptimistic0')], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account_budget-crossovered_budget_report.'+format), 'wb+').write(data)
+ ctx={}
+ ctx.update({'model': 'account.budget.post','active_ids': [ref('account_budget.crossovered_budget_budgetoptimistic0')]})
+ data_dict = {}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_budget_crossvered_report',wiz_data=data_dict, context=ctx, our_module='account_budget')
+
diff --git a/addons/account_cancel/i18n/account_cancel.pot b/addons/account_cancel/i18n/account_cancel.pot
index ed064edbdf1..4348781ba92 100644
--- a/addons/account_cancel/i18n/account_cancel.pot
+++ b/addons/account_cancel/i18n/account_cancel.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:22+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:22+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:49+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:49+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
diff --git a/addons/account_cancel/i18n/el.po b/addons/account_cancel/i18n/el.po
index 2e9ec2bc140..a4b857490e8 100644
--- a/addons/account_cancel/i18n/el.po
+++ b/addons/account_cancel/i18n/el.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-11-30 16:43+0000\n"
+"PO-Revision-Date: 2010-12-29 10:19+0000\n"
"Last-Translator: Dimitris Andavoglou \n"
"Language-Team: Greek \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:54+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:27+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_cancel
@@ -25,6 +25,11 @@ msgid ""
"journal. If set to true it allows user to cancel entries & invoices.\n"
" "
msgstr ""
+"\n"
+" Το άρθρωμα πρσθέτει το πεδίο 'Επιτρέπονται ακυρωτικές εγγραφές' στην "
+"μορφή φόρμας του ημερολογίου του λογαριασμού. Εάν είναι αληθές επιτρέπει τον "
+"χρήστη να ακυρώσει εγγραφές και τιμολόγια.\n"
+" "
#. module: account_cancel
#: model:ir.module.module,shortdesc:account_cancel.module_meta_information
diff --git a/addons/account_chart/i18n/account_chart.pot b/addons/account_chart/i18n/account_chart.pot
index bd19519e330..15e00d2923f 100644
--- a/addons/account_chart/i18n/account_chart.pot
+++ b/addons/account_chart/i18n/account_chart.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:22+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:22+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:49+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:49+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
diff --git a/addons/account_chart/i18n/el.po b/addons/account_chart/i18n/el.po
index a0fb6b56699..62e1a455336 100644
--- a/addons/account_chart/i18n/el.po
+++ b/addons/account_chart/i18n/el.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2009-09-08 16:16+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-12-29 11:58+0000\n"
+"Last-Translator: Dimitris Andavoglou \n"
"Language-Team: Greek \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:50+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:27+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_chart
@@ -25,4 +25,4 @@ msgstr "Αφαιρέστε το ελάχιστο πρότυπο λογιστικ
#. module: account_chart
#: model:ir.module.module,shortdesc:account_chart.module_meta_information
msgid "Charts of Accounts"
-msgstr ""
+msgstr "Λογιστικό Σχέδιο"
diff --git a/addons/account_chart/i18n/fr.po b/addons/account_chart/i18n/fr.po
index b13a74a00e9..c51260218a1 100644
--- a/addons/account_chart/i18n/fr.po
+++ b/addons/account_chart/i18n/fr.po
@@ -7,14 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-11-17 08:22+0000\n"
-"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) "
-"\n"
+"PO-Revision-Date: 2010-12-29 10:23+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:50+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:27+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_chart
@@ -25,4 +24,4 @@ msgstr "Supprime le plan de compte minimal"
#. module: account_chart
#: model:ir.module.module,shortdesc:account_chart.module_meta_information
msgid "Charts of Accounts"
-msgstr ""
+msgstr "Plan comptable"
diff --git a/addons/account_chart/i18n/it.po b/addons/account_chart/i18n/it.po
index 215ddad0224..30b45ee044b 100644
--- a/addons/account_chart/i18n/it.po
+++ b/addons/account_chart/i18n/it.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-27 08:00+0000\n"
-"Last-Translator: Nicola Riolini - Micronaet \n"
+"PO-Revision-Date: 2010-12-28 09:17+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-28 04:43+0000\n"
+"X-Launchpad-Export-Date: 2010-12-29 04:57+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_chart
diff --git a/addons/account_coda/i18n/account_coda.pot b/addons/account_coda/i18n/account_coda.pot
index 899ae288af1..54c1996cf93 100644
--- a/addons/account_coda/i18n/account_coda.pot
+++ b/addons/account_coda/i18n/account_coda.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:22+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:22+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:50+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:50+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -68,7 +68,7 @@ msgid "Coda import"
msgstr ""
#. module: account_coda
-#: code:addons/account_coda/account_coda.py:0
+#: code:addons/account_coda/account_coda.py:51
#, python-format
msgid "Coda file not found for bank statement !!"
msgstr ""
@@ -137,7 +137,7 @@ msgid "Open Statements"
msgstr ""
#. module: account_coda
-#: code:addons/account_coda/wizard/account_coda_import.py:0
+#: code:addons/account_coda/wizard/account_coda_import.py:167
#, python-format
msgid "The bank account %s is not defined for the partner %s.\n"
""
@@ -204,7 +204,7 @@ msgid "Coda Logs"
msgstr ""
#. module: account_coda
-#: code:addons/account_coda/wizard/account_coda_import.py:0
+#: code:addons/account_coda/wizard/account_coda_import.py:311
#, python-format
msgid "Result"
msgstr ""
diff --git a/addons/account_coda/i18n/fr.po b/addons/account_coda/i18n/fr.po
index 6aba409764a..6a4b94b2866 100644
--- a/addons/account_coda/i18n/fr.po
+++ b/addons/account_coda/i18n/fr.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-09 11:43+0000\n"
-"Last-Translator: Quentin THEURET \n"
+"PO-Revision-Date: 2010-12-31 10:33+0000\n"
+"Last-Translator: lolivier \n"
"Language-Team: French \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:52+0000\n"
+"X-Launchpad-Export-Date: 2011-01-01 05:04+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_coda
@@ -171,6 +171,10 @@ msgid ""
" bank statements from coda files.\n"
" "
msgstr ""
+"\n"
+" Module d'importation\n"
+" des relevés bancaires à partir de fichiers coda.\n"
+" "
#. module: account_coda
#: view:account.coda:0
diff --git a/addons/account_coda/i18n/fr_BE.po b/addons/account_coda/i18n/fr_BE.po
deleted file mode 100644
index f9055a016bd..00000000000
--- a/addons/account_coda/i18n/fr_BE.po
+++ /dev/null
@@ -1,163 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * account_coda
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2009-11-24 13:11:29+0000\n"
-"PO-Revision-Date: 2009-11-24 13:11:29+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: account_coda
-#: field:account.coda,journal_id:0
-#: wizard_field:account.coda_import,init,journal_id:0
-msgid "Bank Journal"
-msgstr ""
-
-#. module: account_coda
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr ""
-
-#. module: account_coda
-#: wizard_field:account.coda_import,extraction,note:0
-msgid "Log"
-msgstr ""
-
-#. module: account_coda
-#: wizard_button:account.coda_import,extraction,open:0
-msgid "_Open Statement"
-msgstr ""
-
-#. module: account_coda
-#: model:ir.module.module,shortdesc:account_coda.module_meta_information
-msgid "Account CODA"
-msgstr ""
-
-#. module: account_coda
-#: field:account.coda,name:0
-msgid "Coda file"
-msgstr ""
-
-#. module: account_coda
-#: wizard_view:account.coda_import,init:0
-msgid "Clic on 'New' to select your file :"
-msgstr ""
-
-#. module: account_coda
-#: model:ir.actions.wizard,name:account_coda.wizard_account_coda_import
-msgid "Import Coda File"
-msgstr ""
-
-#. module: account_coda
-#: constraint:ir.actions.act_window:0
-msgid "Invalid model name in the action definition."
-msgstr ""
-
-#. module: account_coda
-#: field:account.coda,note:0
-msgid "Import log"
-msgstr ""
-
-#. module: account_coda
-#: wizard_field:account.coda_import,init,def_receivable:0
-msgid "Default receivable Account"
-msgstr ""
-
-#. module: account_coda
-#: model:ir.module.module,description:account_coda.module_meta_information
-msgid "Module provides functionality to import\n"
-" bank statements from .csv file.\n"
-" Import coda file wizard is used to import bank statements."
-msgstr ""
-
-#. module: account_coda
-#: wizard_button:account.coda_import,extraction,end:0
-msgid "_Close"
-msgstr ""
-
-#. module: account_coda
-#: field:account.coda,statement_id:0
-msgid "Generated Bank Statement"
-msgstr ""
-
-#. module: account_coda
-#: view:account.coda:0
-#: model:ir.actions.act_window,name:account_coda.act_account_payment_account_bank_statement
-#: model:ir.actions.act_window,name:account_coda.action_account_coda
-msgid "Coda import"
-msgstr ""
-
-#. module: account_coda
-#: field:account.coda,user_id:0
-msgid "User"
-msgstr ""
-
-#. module: account_coda
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr ""
-
-#. module: account_coda
-#: model:ir.model,name:account_coda.model_account_coda
-msgid "coda for an Account"
-msgstr ""
-
-#. module: account_coda
-#: wizard_field:account.coda_import,init,def_payable:0
-msgid "Default Payable Account"
-msgstr ""
-
-#. module: account_coda
-#: model:ir.ui.menu,name:account_coda.menu_account_coda
-msgid "Coda Statements"
-msgstr ""
-
-#. module: account_coda
-#: model:ir.ui.menu,name:account_coda.menu_account_coda_wizard
-msgid "Import Coda Statements"
-msgstr ""
-
-#. module: account_coda
-#: wizard_button:account.coda_import,init,extraction:0
-msgid "_Ok"
-msgstr ""
-
-#. module: account_coda
-#: wizard_view:account.coda_import,extraction:0
-#: wizard_view:account.coda_import,init:0
-msgid "Import Coda Statement"
-msgstr ""
-
-#. module: account_coda
-#: field:account.bank.statement,coda_id:0
-msgid "Coda"
-msgstr ""
-
-#. module: account_coda
-#: wizard_view:account.coda_import,extraction:0
-msgid "Results :"
-msgstr ""
-
-#. module: account_coda
-#: wizard_field:account.coda_import,init,coda:0
-msgid "Coda File"
-msgstr ""
-
-#. module: account_coda
-#: field:account.coda,date:0
-msgid "Import Date"
-msgstr ""
-
-#. module: account_coda
-#: wizard_view:account.coda_import,init:0
-msgid "Select your bank journal :"
-msgstr ""
-
diff --git a/addons/account_followup/i18n/account_followup.pot b/addons/account_followup/i18n/account_followup.pot
index 21661cfbf8e..e106adbec1d 100644
--- a/addons/account_followup/i18n/account_followup.pot
+++ b/addons/account_followup/i18n/account_followup.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:24+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:24+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:51+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:51+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -16,7 +16,7 @@ msgstr ""
"Plural-Forms: \n"
#. module: account_followup
-#: code:addons/account_followup/wizard/account_followup_print.py:0
+#: code:addons/account_followup/wizard/account_followup_print.py:295
#, python-format
msgid "Follwoup Summary"
msgstr ""
@@ -54,7 +54,7 @@ msgid "Group By..."
msgstr ""
#. module: account_followup
-#: code:addons/account_followup/wizard/account_followup_print.py:0
+#: code:addons/account_followup/wizard/account_followup_print.py:287
#, python-format
msgid "\n"
"\n"
@@ -183,7 +183,7 @@ msgid "Partners"
msgstr ""
#. module: account_followup
-#: code:addons/account_followup/wizard/account_followup_print.py:0
+#: code:addons/account_followup/wizard/account_followup_print.py:138
#, python-format
msgid "Invoices Reminder"
msgstr ""
@@ -369,7 +369,7 @@ msgid "Due"
msgstr ""
#. module: account_followup
-#: code:addons/account_followup/wizard/account_followup_print.py:0
+#: code:addons/account_followup/wizard/account_followup_print.py:56
#, python-format
msgid "Select Partners"
msgstr ""
@@ -430,7 +430,7 @@ msgid "Send email confirmation"
msgstr ""
#. module: account_followup
-#: code:addons/account_followup/wizard/account_followup_print.py:0
+#: code:addons/account_followup/wizard/account_followup_print.py:284
#, python-format
msgid "All E-mails have been successfully sent to Partners:.\n"
"\n"
@@ -615,7 +615,7 @@ msgid "Maturity"
msgstr ""
#. module: account_followup
-#: code:addons/account_followup/wizard/account_followup_print.py:0
+#: code:addons/account_followup/wizard/account_followup_print.py:286
#, python-format
msgid "E-Mail not sent to following Partners, Email not available !\n"
"\n"
diff --git a/addons/account_followup/i18n/fr.po b/addons/account_followup/i18n/fr.po
index 9193ace3705..e9eed9be747 100644
--- a/addons/account_followup/i18n/fr.po
+++ b/addons/account_followup/i18n/fr.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-26 08:12+0000\n"
-"Last-Translator: lolivier \n"
+"PO-Revision-Date: 2010-12-29 07:53+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-27 04:39+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:24+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_followup
@@ -88,6 +88,10 @@ msgid ""
"E-Mail sent to following Partners successfully. !\n"
"\n"
msgstr ""
+"\n"
+"\n"
+"Courriel envoyé avec succès aux partenaires suivants. !\n"
+"\n"
#. module: account_followup
#: view:account_followup.followup:0
@@ -308,7 +312,7 @@ msgstr ""
#. module: account_followup
#: field:account.followup.print.all,partner_lang:0
msgid "Send Email in Partner Language"
-msgstr ""
+msgstr "Envoyer un courriel dans la langue du partenaire"
#. module: account_followup
#: constraint:account.move.line:0
@@ -490,6 +494,8 @@ msgid ""
"All E-mails have been successfully sent to Partners:.\n"
"\n"
msgstr ""
+"Tous les couriels ont bien été envoyés aux partenaires :.\n"
+"\n"
#. module: account_followup
#: constraint:res.company:0
@@ -584,7 +590,7 @@ msgstr "Lignes de Relances"
#. module: account_followup
#: view:account_followup.stat:0
msgid "Litigation"
-msgstr ""
+msgstr "Litige"
#. module: account_followup
#: field:account_followup.stat.by.partner,max_followup_id:0
@@ -635,6 +641,8 @@ msgid ""
"Do not change message text, if you want to send email in partner language, "
"or configure from company"
msgstr ""
+"Ne changez pas ce message si vous voulez envoyer des courriels dans la "
+"langue du partenaire, ou configurez-le à partir des données de la société"
#. module: account_followup
#: model:ir.actions.act_window,name:account_followup.act_account_partner_account_move_all
@@ -719,7 +727,7 @@ msgstr "Séquence"
#. module: account_followup
#: view:account_followup.followup.line:0
msgid "%(company_name)s: User's Company Name"
-msgstr ""
+msgstr "%(company_name)s : Nom de la société de l'utilisateur"
#. module: account_followup
#: report:account_followup.followup.print:0
diff --git a/addons/account_invoice_layout/account_invoice_layout_demo.xml b/addons/account_invoice_layout/account_invoice_layout_demo.xml
index e49079c9656..96f285caabf 100644
--- a/addons/account_invoice_layout/account_invoice_layout_demo.xml
+++ b/addons/account_invoice_layout/account_invoice_layout_demo.xml
@@ -4,11 +4,7 @@
OpenERP SA
- ERP & CRM Solutions....
-
-
- Tiny sprl
- Be Expert with the Experts...
+ ERP & CRM Solutions...
diff --git a/addons/account_invoice_layout/i18n/account_invoice_layout.pot b/addons/account_invoice_layout/i18n/account_invoice_layout.pot
index f274428d5e0..abd84e47d10 100644
--- a/addons/account_invoice_layout/i18n/account_invoice_layout.pot
+++ b/addons/account_invoice_layout/i18n/account_invoice_layout.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:24+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:24+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:51+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:51+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -95,7 +95,7 @@ msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
#: report:notify_account.invoice:0
-msgid "Document"
+msgid "Tel. :"
msgstr ""
#. module: account_invoice_layout
@@ -125,8 +125,9 @@ msgid "Product"
msgstr ""
#. module: account_invoice_layout
-#: model:ir.actions.act_window,name:account_invoice_layout.notify_mesage_tree_form
-msgid "Write Messages"
+#: report:account.invoice.layout:0
+#: report:notify_account.invoice:0
+msgid "Description"
msgstr ""
#. module: account_invoice_layout
@@ -148,7 +149,6 @@ msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
-#: report:notify_account.invoice:0
msgid "Taxes:"
msgstr ""
@@ -158,8 +158,8 @@ msgid "Source Account"
msgstr ""
#. module: account_invoice_layout
-#: view:account.invoice.special.msg:0
-msgid "Cancel"
+#: model:ir.actions.act_window,name:account_invoice_layout.notify_mesage_tree_form
+msgid "Write Messages"
msgstr ""
#. module: account_invoice_layout
@@ -193,19 +193,17 @@ msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
#: report:notify_account.invoice:0
-msgid "Partner Ref."
-msgstr ""
-
-#. module: account_invoice_layout
-#: report:account.invoice.layout:0
-#: model:ir.model,name:account_invoice_layout.model_account_invoice
-#: report:notify_account.invoice:0
-msgid "Invoice"
+msgid "Refund"
msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
#: report:notify_account.invoice:0
+msgid "Fax :"
+msgstr ""
+
+#. module: account_invoice_layout
+#: report:account.invoice.layout:0
msgid "Total:"
msgstr ""
@@ -237,9 +235,18 @@ msgid "Amount"
msgstr ""
#. module: account_invoice_layout
-#: report:account.invoice.layout:0
+#: model:notify.message,msg:account_invoice_layout.demo_message1
+msgid "ERP & CRM Solutions..."
+msgstr ""
+
+#. module: account_invoice_layout
#: report:notify_account.invoice:0
-msgid "Tel. :"
+msgid "Net Total :"
+msgstr ""
+
+#. module: account_invoice_layout
+#: report:notify_account.invoice:0
+msgid "Total :"
msgstr ""
#. module: account_invoice_layout
@@ -261,7 +268,7 @@ msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
#: report:notify_account.invoice:0
-msgid "Refund"
+msgid "Origin"
msgstr ""
#. module: account_invoice_layout
@@ -274,6 +281,12 @@ msgstr ""
msgid "Separator Line"
msgstr ""
+#. module: account_invoice_layout
+#: report:account.invoice.layout:0
+#: report:notify_account.invoice:0
+msgid "Your Reference"
+msgstr ""
+
#. module: account_invoice_layout
#: model:ir.module.module,shortdesc:account_invoice_layout.module_meta_information
msgid "Invoices Layout Improvement"
@@ -303,7 +316,6 @@ msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
-#: report:notify_account.invoice:0
msgid "Net Total:"
msgstr ""
@@ -314,13 +326,14 @@ msgstr ""
#. module: account_invoice_layout
#: report:account.invoice.layout:0
+#: model:ir.model,name:account_invoice_layout.model_account_invoice
#: report:notify_account.invoice:0
-msgid "Fax :"
+msgid "Invoice"
msgstr ""
#. module: account_invoice_layout
-#: model:notify.message,msg:account_invoice_layout.demo_message1
-msgid "Be Expert with the Experts..."
+#: view:account.invoice.special.msg:0
+msgid "Cancel"
msgstr ""
#. module: account_invoice_layout
@@ -334,6 +347,11 @@ msgstr ""
msgid "Message"
msgstr ""
+#. module: account_invoice_layout
+#: report:notify_account.invoice:0
+msgid "Taxes :"
+msgstr ""
+
#. module: account_invoice_layout
#: model:ir.ui.menu,name:account_invoice_layout.menu_notify_mesage_tree_form
msgid "All Notification Messages"
diff --git a/addons/account_invoice_layout/report/report_account_invoice_layout.rml b/addons/account_invoice_layout/report/report_account_invoice_layout.rml
index 7841a3a0d47..4e6bdfd0aa0 100644
--- a/addons/account_invoice_layout/report/report_account_invoice_layout.rml
+++ b/addons/account_invoice_layout/report/report_account_invoice_layout.rml
@@ -27,6 +27,10 @@
+
+
+
+
@@ -41,6 +45,10 @@
+
+
+
+
@@ -237,20 +245,23 @@
-
+
|
- Document
+ Description
|
Invoice Date
|
+
+ Origin
+ |
- Partner Ref.
+ Your Reference
|
-
+
|
[[ o.name ]]
@@ -258,6 +269,9 @@
|
[[ formatLang(o.date_invoice,date=True) ]]
|
+
+ [[ o.name or '' ]]
+ |
[[ (o.address_invoice_id and o.address_invoice_id.partner_id and o.address_invoice_id.partner_id.ref) or ' ' ]]
|
@@ -389,7 +403,7 @@
Net Total:
- [[ formatLang(o.amount_untaxed, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_untaxed, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -404,7 +418,7 @@
Taxes:
|
- [[ formatLang(o.amount_tax, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_tax, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -419,7 +433,7 @@
Total:
|
- [[ formatLang(o.amount_total, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_total, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -455,10 +469,10 @@
[[ t.name ]]
|
- [[ formatLang(t.base, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(t.base, dp='Account') ]] [[ o.currency_id.symbol ]]
|
- [[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -493,4 +507,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account_invoice_layout/report/special_message_invoice.rml b/addons/account_invoice_layout/report/special_message_invoice.rml
index ab7f02f0b6d..eabb8efe9c2 100644
--- a/addons/account_invoice_layout/report/special_message_invoice.rml
+++ b/addons/account_invoice_layout/report/special_message_invoice.rml
@@ -27,6 +27,10 @@
+
+
+
+
@@ -41,6 +45,10 @@
+
+
+
+
@@ -241,20 +249,23 @@
-
+
|
- Document
+ Description
|
Invoice Date
|
+
+ Origin
+ |
- Partner Ref.
+ Your Reference
|
-
+
|
[[ o.name ]]
@@ -262,6 +273,9 @@
|
[[ formatLang(o.date_invoice,date=True) ]]
|
+
+ [[ o.name or '' ]]
+ |
[[ (o.address_invoice_id and o.address_invoice_id.partner_id and o.address_invoice_id.partner_id.ref) or ' ' ]]
|
@@ -382,7 +396,7 @@
-
+
|
@@ -390,14 +404,14 @@
|
- Net Total:
+ Net Total :
|
- [[ formatLang(o.amount_untaxed, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_untaxed, dp='Account') ]] [[ o.currency_id.symbol ]]
|
-
+
|
@@ -405,14 +419,14 @@
|
- Taxes:
+ Taxes :
|
- [[ formatLang(o.amount_tax, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_tax, dp='Account') ]] [[ o.currency_id.symbol ]]
|
-
+
|
@@ -420,10 +434,10 @@
|
- Total:
+ Total :
|
- [[ formatLang(o.amount_total, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(o.amount_total, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -459,10 +473,10 @@
[[ t.name ]]
|
- [[ formatLang(t.base, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ formatLang(t.base, dp='Account') ]] [[ o.currency_id.symbol ]]
|
- [[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]]
+ [[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, dp='Account') ]] [[ o.currency_id.symbol ]]
|
@@ -511,4 +525,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account_invoice_layout/test/account_invoice_layout_report.yml b/addons/account_invoice_layout/test/account_invoice_layout_report.yml
index cdaccf0630c..91967358a3d 100644
--- a/addons/account_invoice_layout/test/account_invoice_layout_report.yml
+++ b/addons/account_invoice_layout/test/account_invoice_layout_report.yml
@@ -19,12 +19,14 @@
(data, format) = netsvc.LocalService('report.account.invoice.layout').create(cr, uid, [ref('test_invoice_1')], {}, {})
if tools.config['test_report_directory']:
file(os.path.join(tools.config['test_report_directory'], 'account_invoice_layout.'+format), 'wb+').write(data)
+
-
- Print the Invoice Layout Report with Message in Normal mode
+ Print the Invoice Layout Report with Message through wizard
-
!python {model: account.invoice}: |
- import netsvc, tools, os, time
- data_dict = {'model': 'account.invoice', 'form': {'message':ref('account_invoice_layout.demo_message1'),'id':ref('test_invoice_1'),'context':{}}}
- (data, format) = netsvc.LocalService('report.notify_account.invoice').create(cr, uid, [ref('test_invoice_1')], data_dict, {})
- if tools.config['test_report_directory']:
- file(os.path.join(tools.config['test_report_directory'], 'account_invoice_layout_message_report.'+format), 'wb+').write(data)
\ No newline at end of file
+ ctx={}
+ ctx.update({'model': 'account.invoice','active_ids': [ref('test_invoice_1')]})
+ data_dict = {'message':ref('account_invoice_layout.demo_message1')}
+ from tools import test_reports
+ test_reports.try_report_action(cr, uid, 'action_account_invoice_special_msg',wiz_data=data_dict, context=ctx, our_module='account_invoice_layout')
+
diff --git a/addons/account_payment/i18n/account_payment.pot b/addons/account_payment/i18n/account_payment.pot
index 0a27f881a59..aa930d5ecf2 100644
--- a/addons/account_payment/i18n/account_payment.pot
+++ b/addons/account_payment/i18n/account_payment.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:25+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:25+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:52+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:52+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -246,7 +246,7 @@ msgid "Choose an option for the Payment Order:'Fixed' stands for a date specifie
msgstr ""
#. module: account_payment
-#: code:addons/account_payment/account_move_line.py:0
+#: code:addons/account_payment/account_move_line.py:110
#, python-format
msgid "Error !"
msgstr ""
@@ -394,7 +394,7 @@ msgid "The successor message of Communication."
msgstr ""
#. module: account_payment
-#: code:addons/account_payment/account_move_line.py:0
+#: code:addons/account_payment/account_move_line.py:110
#, python-format
msgid "No partner defined on entry line"
msgstr ""
@@ -450,6 +450,12 @@ msgstr ""
msgid "Search"
msgstr ""
+#. module: account_payment
+#: model:ir.actions.report.xml,name:account_payment.payment_order1
+#: model:ir.model,name:account_payment.model_payment_order
+msgid "Payment Order"
+msgstr ""
+
#. module: account_payment
#: field:payment.line,date:0
msgid "Payment Date"
@@ -552,9 +558,8 @@ msgid "Information"
msgstr ""
#. module: account_payment
-#: model:ir.actions.report.xml,name:account_payment.payment_order1
-#: model:ir.model,name:account_payment.model_payment_order
-msgid "Payment Order"
+#: model:ir.actions.act_window,help:account_payment.action_payment_order_tree
+msgid "A payment order is a payment request from your company to pay a supplier invoice or a customer credit note. Here you can register all payment orders that should be done, keep track of all payment orders and mention the invoice reference and the partner the payment should be done for."
msgstr ""
#. module: account_payment
@@ -662,11 +667,6 @@ msgstr ""
msgid "Total"
msgstr ""
-#. module: account_payment
-#: model:ir.actions.act_window,help:account_payment.action_payment_order_tree
-msgid "A payment order is a payment request that your company does in order to pay a supplier invoice or a customer credit note. Here you can register all payment orders that should be done, keep track of all payment orders and mention the invoice reference and the partner the payment should be done for."
-msgstr ""
-
#. module: account_payment
#: view:account.payment.make.payment:0
#: model:ir.actions.act_window,name:account_payment.action_account_payment_make_payment
diff --git a/addons/account_payment/i18n/de.po b/addons/account_payment/i18n/de.po
index 9e31a75334e..17e488e88c0 100644
--- a/addons/account_payment/i18n/de.po
+++ b/addons/account_payment/i18n/de.po
@@ -7,14 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-24 14:18+0000\n"
+"PO-Revision-Date: 2010-12-31 10:59+0000\n"
"Last-Translator: Thorsten Vocks (OpenBig.org) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-25 04:52+0000\n"
+"X-Launchpad-Export-Date: 2011-01-01 05:04+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_payment
@@ -648,7 +648,7 @@ msgstr "Betriebl. Währung"
#: view:payment.line:0
#: view:payment.order:0
msgid "Payment"
-msgstr "Zahlungsausgleich"
+msgstr "Zahlungsverkehr"
#. module: account_payment
#: report:payment.order:0
diff --git a/addons/account_payment/report/order.rml b/addons/account_payment/report/order.rml
index e47691f54d7..9198b12db25 100644
--- a/addons/account_payment/report/order.rml
+++ b/addons/account_payment/report/order.rml
@@ -210,7 +210,7 @@
[[ o.date_prefered == 'fixed' and 'Fixed date' or removeParentNode('para') ]]
|
- [[ get_company_currency() ]]
+ [[ o.user_id and o.user_id.company_id and o.user_id.company_id.currency_id and o.user_id.company_id.currency_id.name or '' ]]
|
@@ -287,4 +287,4 @@
-
\ No newline at end of file
+
diff --git a/addons/account_payment/wizard/account_payment_order.py b/addons/account_payment/wizard/account_payment_order.py
index b8328aee333..eb0d8b21926 100644
--- a/addons/account_payment/wizard/account_payment_order.py
+++ b/addons/account_payment/wizard/account_payment_order.py
@@ -65,7 +65,7 @@ class payment_order_create(osv.osv_memory):
data = self.read(cr, uid, ids, [], context=context)[0]
line_ids = data['entries']
if not line_ids:
- return {}
+ return {'type': 'ir.actions.act_window_close'}
payment = order_obj.browse(cr, uid, context['active_id'], context=context)
t = None
@@ -90,7 +90,7 @@ class payment_order_create(osv.osv_memory):
'date': date_to_pay,
'currency': line.invoice and line.invoice.currency_id.id or False,
}, context=context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
def search_entries(self, cr, uid, ids, context=None):
line_obj = self.pool.get('account.move.line')
diff --git a/addons/account_payment/wizard/account_payment_pay.py b/addons/account_payment/wizard/account_payment_pay.py
index 6627ffaa614..ca9311b1f88 100644
--- a/addons/account_payment/wizard/account_payment_pay.py
+++ b/addons/account_payment/wizard/account_payment_pay.py
@@ -37,7 +37,7 @@ class account_payment_make_payment(osv.osv_memory):
# obj_act = self.pool.get('ir.actions.act_window')
# order = obj_payment_order.browse(cr, uid, context['active_id'], context)
obj_payment_order.set_done(cr, uid, [context['active_id']], context)
- return {}
+ return {'type': 'ir.actions.act_window_close'}
# t = order.mode and order.mode.type.code or 'manual'
# if t == 'manual':
# obj_payment_order.set_done(cr,uid,context['active_id'],context)
diff --git a/addons/account_payment/wizard/account_payment_populate_statement.py b/addons/account_payment/wizard/account_payment_populate_statement.py
index f99189a8444..340ab4bcb03 100644
--- a/addons/account_payment/wizard/account_payment_populate_statement.py
+++ b/addons/account_payment/wizard/account_payment_populate_statement.py
@@ -65,7 +65,7 @@ class account_payment_populate_statement(osv.osv_memory):
data = self.read(cr, uid, ids, [], context=context)[0]
line_ids = data['lines']
if not line_ids:
- return {}
+ return {'type': 'ir.actions.act_window_close'}
statement = statement_obj.browse(cr, uid, context['active_id'], context=context)
diff --git a/addons/account_sequence/i18n/account_sequence.pot b/addons/account_sequence/i18n/account_sequence.pot
index 4d32e3e4cc2..780ca71b05d 100644
--- a/addons/account_sequence/i18n/account_sequence.pot
+++ b/addons/account_sequence/i18n/account_sequence.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:25+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:25+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:52+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:52+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py
index 4e08ad9112b..12c8383445c 100644
--- a/addons/account_voucher/account_voucher.py
+++ b/addons/account_voucher/account_voucher.py
@@ -27,30 +27,12 @@ from osv import osv, fields
import decimal_precision as dp
from tools.translate import _
-class account_move_line(osv.osv):
- _inherit = 'account.move.line'
-
- def _unreconciled(self, cr, uid, ids, prop, unknow_none, context=None):
- res = {}
- for line in self.browse(cr, uid, ids, context=context):
- res[line.id] = line.debit - line.credit
- if line.reconcile_partial_id:
- res[line.id] = 0
- for partial in line.reconcile_partial_id.line_partial_ids:
- res[line.id] += partial.debit - partial.credit
- res[line.id] = abs(res[line.id])
- return res
-
- _columns = {
- 'amount_unreconciled': fields.function(_unreconciled, method=True, string='Unreconciled Amount'),
- }
-
-account_move_line()
class account_voucher(osv.osv):
- def _get_type(self, cr, uid, ids, context=None):
- if context is None: context = {}
+ def _get_type(self, cr, uid, context=None):
+ if context is None:
+ context = {}
return context.get('type', False)
def _get_period(self, cr, uid, context=None):
@@ -164,6 +146,8 @@ class account_voucher(osv.osv):
return abs(amount - abs(credit - debit))
def onchange_line_ids(self, cr, uid, ids, line_dr_ids, line_cr_ids, amount):
+ if not line_dr_ids and not line_cr_ids:
+ return {'value':{}}
line_dr_ids = [x[2] for x in line_dr_ids]
line_cr_ids = [x[2] for x in line_cr_ids]
return {'value': {'writeoff_amount': self._compute_writeoff_amount(cr, uid, line_dr_ids, line_cr_ids, amount)}}
@@ -490,31 +474,32 @@ class account_voucher(osv.osv):
continue
total_credit += line.credit or 0.0
total_debit += line.debit or 0.0
-
for line in moves:
if line.credit and line.reconcile_partial_id and ttype == 'receipt':
continue
if line.debit and line.reconcile_partial_id and ttype == 'payment':
continue
-
original_amount = line.credit or line.debit or 0.0
+ amount_unreconciled = currency_pool.compute(cr, uid, line.currency_id and line.currency_id.id or company_currency, currency_id, abs(line.amount_residual_currency), context=context_multi_currency)
rs = {
'name':line.move_id.name,
'type': line.credit and 'dr' or 'cr',
'move_line_id':line.id,
'account_id':line.account_id.id,
- 'amount_original':currency_pool.compute(cr, uid, company_currency, currency_id, original_amount, context=context_multi_currency),
+ 'amount_original': currency_pool.compute(cr, uid, line.currency_id and line.currency_id.id or company_currency, currency_id, line.currency_id and abs(line.amount_currency) or original_amount, context=context_multi_currency),
'date_original':line.date,
'date_due':line.date_maturity,
- 'amount_unreconciled':currency_pool.compute(cr, uid, company_currency, currency_id, line.amount_unreconciled, context=context_multi_currency)
+ 'amount_unreconciled': amount_unreconciled,
+
}
+
if line.credit:
- amount = min(line.amount_unreconciled, total_debit)
- rs['amount'] = currency_pool.compute(cr, uid, company_currency, currency_id, amount, context=context_multi_currency)
+ amount = min(amount_unreconciled, currency_pool.compute(cr, uid, company_currency, currency_id, abs(total_debit), context=context_multi_currency))
+ rs['amount'] = amount
total_debit -= amount
else:
- amount = min(line.amount_unreconciled, total_credit)
- rs['amount'] = currency_pool.compute(cr, uid, company_currency, currency_id, amount, context=context_multi_currency)
+ amount = min(amount_unreconciled, currency_pool.compute(cr, uid, company_currency, currency_id, abs(total_credit), context=context_multi_currency))
+ rs['amount'] = amount
total_credit -= amount
default['value']['line_ids'].append(rs)
@@ -686,6 +671,7 @@ class account_voucher(osv.osv):
debit = -credit
credit = 0.0
sign = debit - credit < 0 and -1 or 1
+ #create the first line of the voucher
move_line = {
'name': inv.name or '/',
'debit': debit,
@@ -700,9 +686,7 @@ 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)
-
+ move_line_pool.create(cr, uid, move_line)
rec_list_ids = []
line_total = debit - credit
if inv.type == 'sale':
@@ -711,9 +695,14 @@ class account_voucher(osv.osv):
line_total = line_total + currency_pool.compute(cr, uid, inv.currency_id.id, company_currency, inv.tax_amount, context=context_multi_currency)
for line in inv.line_ids:
+ #create one move line per voucher line where amount is not 0.0
if not line.amount:
continue
- amount = currency_pool.compute(cr, uid, current_currency, company_currency, line.untax_amount or line.amount, context=context_multi_currency)
+ #we check if the voucher line is fully paid or not and create a move line to balance the payment and initial invoice if needed
+ if line.amount == line.amount_unreconciled:
+ amount = line.move_line_id.amount_residual #residual amount in company currency
+ else:
+ amount = currency_pool.compute(cr, uid, current_currency, company_currency, line.untax_amount or line.amount, context=context_multi_currency)
move_line = {
'journal_id': inv.journal_id.id,
'period_id': inv.period_id.id,
@@ -752,9 +741,9 @@ class account_voucher(osv.osv):
raise osv.except_osv(_('No Account Base Code and Account Tax Code!'),_("You have to configure account base code and account tax code on the '%s' tax!") % (tax_data.name))
sign = (move_line['debit'] - move_line['credit']) < 0 and -1 or 1
move_line['amount_currency'] = company_currency <> current_currency and sign * line.amount or 0.0
- master_line = move_line_pool.create(cr, uid, move_line)
+ voucher_line = move_line_pool.create(cr, uid, move_line)
if line.move_line_id.id:
- rec_ids = [master_line, line.move_line_id.id]
+ rec_ids = [voucher_line, line.move_line_id.id]
rec_list_ids.append(rec_ids)
if not currency_pool.is_zero(cr, uid, inv.currency_id, line_total):
@@ -763,7 +752,6 @@ class account_voucher(osv.osv):
if inv.payment_option == 'with_writeoff':
account_id = inv.writeoff_acc_id.id
elif inv.type in ('sale', 'receipt'):
-# if inv.journal_id.type in ('sale','sale_refund', 'cash', 'bank'):
account_id = inv.partner_id.property_account_receivable.id
else:
account_id = inv.partner_id.property_account_payable.id
@@ -775,12 +763,11 @@ class account_voucher(osv.osv):
'date': inv.date,
'credit': diff > 0 and diff or 0.0,
'debit': diff < 0 and -diff or 0.0,
- 'amount_currency': company_currency <> current_currency and currency_pool.compute(cr, uid, company_currency, current_currency, diff * -1, context=context_multi_currency) or 0.0,
- 'currency_id': company_currency <> current_currency and current_currency or False,
+ #'amount_currency': company_currency <> current_currency and currency_pool.compute(cr, uid, company_currency, current_currency, diff * -1, context=context_multi_currency) or 0.0,
+ #'currency_id': company_currency <> current_currency and current_currency or False,
}
move_line_pool.create(cr, uid, move_line)
-
self.write(cr, uid, [inv.id], {
'move_id': move_id,
'state': 'posted',
@@ -816,6 +803,8 @@ class account_voucher_line(osv.osv):
currency_pool = self.pool.get('res.currency')
rs_data = {}
for line in self.browse(cr, uid, ids, context=context):
+ ctx = context.copy()
+ ctx.update({'date': line.voucher_id.date})
res = {}
company_currency = line.voucher_id.journal_id.company_id.currency_id.id
voucher_currency = line.voucher_id.currency_id.id
@@ -825,13 +814,15 @@ class account_voucher_line(osv.osv):
res['amount_original'] = 0.0
res['amount_unreconciled'] = 0.0
+ elif move_line.currency_id:
+ res['amount_original'] = currency_pool.compute(cr, uid, move_line.currency_id.id, voucher_currency, move_line.amount_currency, context=ctx)
elif move_line and move_line.credit > 0:
- res['amount_original'] = currency_pool.compute(cr, uid, company_currency, voucher_currency, move_line.credit)
+ res['amount_original'] = currency_pool.compute(cr, uid, company_currency, voucher_currency, move_line.credit, context=ctx)
else:
- res['amount_original'] = currency_pool.compute(cr, uid, company_currency, voucher_currency, move_line.debit)
+ res['amount_original'] = currency_pool.compute(cr, uid, company_currency, voucher_currency, move_line.debit, context=ctx)
if move_line:
- res['amount_unreconciled'] = currency_pool.compute(cr, uid, company_currency, voucher_currency, move_line.amount_unreconciled)
+ res['amount_unreconciled'] = currency_pool.compute(cr, uid, move_line.currency_id and move_line.currency_id.id or company_currency, voucher_currency, abs(move_line.amount_residual_currency), context=ctx)
rs_data[line.id] = res
return rs_data
diff --git a/addons/account_voucher/i18n/account_voucher.pot b/addons/account_voucher/i18n/account_voucher.pot
index d08e78fa72a..69baf8d1bad 100644
--- a/addons/account_voucher/i18n/account_voucher.pot
+++ b/addons/account_voucher/i18n/account_voucher.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-12-21 19:43:26+0000\n"
-"PO-Revision-Date: 2010-12-21 19:43:26+0000\n"
+"POT-Creation-Date: 2011-01-03 16:56:53+0000\n"
+"PO-Revision-Date: 2011-01-03 16:56:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -21,7 +21,7 @@ msgid "Unreconciliation transactions"
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
+#: code:addons/account_voucher/account_voucher.py:259
#, python-format
msgid "Write-Off"
msgstr ""
@@ -36,6 +36,11 @@ msgstr ""
msgid "Open Customer Journal Entries"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+msgid "Voucher Date"
+msgstr ""
+
#. module: account_voucher
#: report:voucher.print:0
msgid "Particulars"
@@ -43,11 +48,12 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
+#: view:sale.receipt.report:0
msgid "Group By..."
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
+#: code:addons/account_voucher/account_voucher.py:607
#, python-format
msgid "Cannot delete Voucher(s) which are already opened or paid !"
msgstr ""
@@ -79,13 +85,14 @@ msgid "Bill Payment"
msgstr ""
#. module: account_voucher
-#: field:account.voucher.line,amount_original:0
-msgid "Originial Amount"
+#: code:addons/account_voucher/account_voucher.py:753
+#, python-format
+msgid "You have to configure account base code and account tax code on the '%s' tax!"
msgstr ""
#. module: account_voucher
#: view:account.statement.from.invoice.lines:0
-#: code:addons/account_voucher/wizard/account_statement_from_invoice.py:0
+#: code:addons/account_voucher/wizard/account_statement_from_invoice.py:182
#: model:ir.actions.act_window,name:account_voucher.action_view_account_statement_from_invoice_lines
#, python-format
msgid "Import Entries"
@@ -96,6 +103,11 @@ msgstr ""
msgid "Account voucher unreconcile"
msgstr ""
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "March"
+msgstr ""
+
#. module: account_voucher
#: model:ir.actions.act_window,help:account_voucher.action_sale_receipt
msgid "When you sell products to a customer, you can give him a sales receipt or an invoice. When the sales receipt is confirmed, it creates journal items automatically and you can record the customer payment related to this sales receipt."
@@ -109,6 +121,8 @@ msgstr ""
#. module: account_voucher
#: field:account.voucher,company_id:0
#: field:account.voucher.line,company_id:0
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,company_id:0
msgid "Company"
msgstr ""
@@ -118,8 +132,8 @@ msgid "Set to Draft"
msgstr ""
#. module: account_voucher
-#: field:account.voucher,comment:0
-msgid "Write-Off Comment"
+#: help:account.voucher,reference:0
+msgid "Transaction reference number."
msgstr ""
#. module: account_voucher
@@ -137,6 +151,12 @@ msgstr ""
msgid "Validate"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,day:0
+msgid "Day"
+msgstr ""
+
#. module: account_voucher
#: view:account.voucher:0
msgid "Search Vouchers"
@@ -144,12 +164,14 @@ msgstr ""
#. module: account_voucher
#: selection:account.voucher,type:0
+#: selection:sale.receipt.report,type:0
msgid "Purchase"
msgstr ""
#. module: account_voucher
#: field:account.voucher,account_id:0
#: field:account.voucher.line,account_id:0
+#: field:sale.receipt.report,account_id:0
msgid "Account"
msgstr ""
@@ -163,9 +185,16 @@ msgstr ""
msgid "Ok"
msgstr ""
+#. module: account_voucher
+#: model:ir.actions.act_window,help:account_voucher.action_sale_receipt_report_all
+msgid "From this report, you can have an overview of the amount invoiced to your customer as well as payment delays. The tool search can also be used to personalise your Invoices reports and so, match this analysis to your needs."
+msgstr ""
+
#. module: account_voucher
#: field:account.voucher,date_due:0
#: field:account.voucher.line,date_due:0
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,date_due:0
msgid "Due Date"
msgstr ""
@@ -186,6 +215,7 @@ msgstr ""
#. module: account_voucher
#: selection:account.voucher,type:0
+#: selection:sale.receipt.report,type:0
msgid "Sale"
msgstr ""
@@ -217,11 +247,12 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
-msgid "Bill Information"
+msgid "Other Information"
msgstr ""
#. module: account_voucher
#: selection:account.voucher,state:0
+#: selection:sale.receipt.report,state:0
msgid "Cancelled"
msgstr ""
@@ -257,6 +288,12 @@ msgstr ""
msgid "Amount (in words) :"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,nbr:0
+msgid "# of Voucher Lines"
+msgstr ""
+
#. module: account_voucher
#: field:account.voucher.line,account_analytic_id:0
msgid "Analytic Account"
@@ -282,9 +319,7 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
-#: field:account.voucher,partner_id:0
-#: field:account.voucher.line,partner_id:0
-msgid "Partner"
+msgid "Paid Amount"
msgstr ""
#. module: account_voucher
@@ -293,18 +328,13 @@ msgid "Import Invoices"
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
-#, python-format
-msgid "You have to configure account base code and account tax code on the '%s' tax!"
-msgstr ""
-
-#. module: account_voucher
-#: selection:account.voucher,pay_now:0
-msgid "Pay Later or Group Funds"
+#: report:voucher.print:0
+msgid "Account :"
msgstr ""
#. module: account_voucher
#: selection:account.voucher,type:0
+#: selection:sale.receipt.report,type:0
msgid "Receipt"
msgstr ""
@@ -337,6 +367,7 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
#: field:account.voucher,state:0
+#: view:sale.receipt.report:0
msgid "State"
msgstr ""
@@ -345,6 +376,17 @@ msgstr ""
msgid "Accounting Voucher Entries"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,type:0
+msgid "Type"
+msgstr ""
+
+#. module: account_voucher
+#: field:account.voucher.unreconcile,remove:0
+msgid "Want to remove accounting entries too ?"
+msgstr ""
+
#. module: account_voucher
#: view:account.voucher:0
#: model:ir.actions.act_window,name:account_voucher.act_journal_voucher_open
@@ -352,7 +394,7 @@ msgid "Voucher Entries"
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
+#: code:addons/account_voucher/account_voucher.py:656
#, python-format
msgid "Error !"
msgstr ""
@@ -380,14 +422,19 @@ msgid "Sales Receipt"
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
+#: code:addons/account_voucher/account_voucher.py:607
#, python-format
msgid "Invalid action !"
msgstr ""
#. module: account_voucher
#: view:account.voucher:0
-msgid "Other Information"
+msgid "Bill Information"
+msgstr ""
+
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "July"
msgstr ""
#. module: account_voucher
@@ -400,15 +447,21 @@ msgstr ""
msgid "Tax Amount"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,due_delay:0
+msgid "Avg. Due Delay"
+msgstr ""
+
#. module: account_voucher
#: view:account.invoice:0
-#: code:addons/account_voucher/invoice.py:0
+#: code:addons/account_voucher/invoice.py:32
#, python-format
msgid "Pay Invoice"
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
+#: code:addons/account_voucher/account_voucher.py:753
#, python-format
msgid "No Account Base Code and Account Tax Code!"
msgstr ""
@@ -425,7 +478,11 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
-msgid "Paid Amount"
+#: field:account.voucher,partner_id:0
+#: field:account.voucher.line,partner_id:0
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,partner_id:0
+msgid "Partner"
msgstr ""
#. module: account_voucher
@@ -439,8 +496,13 @@ msgid "The amount of the voucher must be the same amount as the one on the state
msgstr ""
#. module: account_voucher
-#: selection:account.voucher,pay_now:0
-msgid "Pay Directly"
+#: view:account.voucher:0
+msgid "To Review"
+msgstr ""
+
+#. module: account_voucher
+#: view:account.voucher:0
+msgid "Expense Lines"
msgstr ""
#. module: account_voucher
@@ -450,8 +512,8 @@ msgid "Invoices"
msgstr ""
#. module: account_voucher
-#: field:account.voucher.unreconcile,remove:0
-msgid "Want to remove accounting entries too ?"
+#: selection:sale.receipt.report,month:0
+msgid "December"
msgstr ""
#. module: account_voucher
@@ -460,8 +522,15 @@ msgstr ""
msgid "Voucher Lines"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,month:0
+msgid "Month"
+msgstr ""
+
#. module: account_voucher
#: field:account.voucher,currency_id:0
+#: field:sale.receipt.report,currency_id:0
msgid "Currency"
msgstr ""
@@ -471,20 +540,35 @@ msgid "Payable and Receivables"
msgstr ""
#. module: account_voucher
-#: report:voucher.print:0
-msgid "Account :"
+#: selection:account.voucher,pay_now:0
+#: selection:sale.receipt.report,pay_now:0
+msgid "Pay Later or Group Funds"
+msgstr ""
+
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,user_id:0
+msgid "Salesman"
+msgstr ""
+
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,delay_to_pay:0
+msgid "Avg. Delay To Pay"
msgstr ""
#. module: account_voucher
#: view:account.voucher:0
#: selection:account.voucher,state:0
+#: view:sale.receipt.report:0
+#: selection:sale.receipt.report,state:0
#: report:voucher.print:0
msgid "Draft"
msgstr ""
#. module: account_voucher
-#: field:account.voucher,type:0
-msgid "Default Type"
+#: field:account.voucher,writeoff_acc_id:0
+msgid "Write-Off account"
msgstr ""
#. module: account_voucher
@@ -492,11 +576,22 @@ msgstr ""
msgid "Currency:"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,price_total_tax:0
+msgid "Total With Tax"
+msgstr ""
+
#. module: account_voucher
#: report:voucher.print:0
msgid "PRO-FORMA"
msgstr ""
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "August"
+msgstr ""
+
#. module: account_voucher
#: model:ir.actions.act_window,help:account_voucher.action_vendor_payment
msgid "The supplier payment form allows you to track the payment you do to your suppliers. When you select a supplier, the payment method and an amount for the payment, OpenERP will propose to reconcile your payment with the open supplier invoices or bills."
@@ -507,6 +602,11 @@ msgstr ""
msgid "Total Amount"
msgstr ""
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "June"
+msgstr ""
+
#. module: account_voucher
#: field:account.voucher.line,type:0
msgid "Cr/Dr"
@@ -530,16 +630,18 @@ msgstr ""
#. module: account_voucher
#: field:account.voucher,date:0
#: field:account.voucher.line,date_original:0
+#: field:sale.receipt.report,date:0
msgid "Date"
msgstr ""
#. module: account_voucher
-#: view:account.voucher:0
-msgid "Post"
+#: selection:sale.receipt.report,month:0
+msgid "November"
msgstr ""
#. module: account_voucher
#: view:account.voucher:0
+#: view:sale.receipt.report:0
msgid "Extended Filters..."
msgstr ""
@@ -559,8 +661,14 @@ msgid "Write-Off Analytic Account"
msgstr ""
#. module: account_voucher
-#: view:account.voucher:0
-msgid "Expense Lines"
+#: selection:account.voucher,pay_now:0
+#: selection:sale.receipt.report,pay_now:0
+msgid "Pay Directly"
+msgstr ""
+
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "October"
msgstr ""
#. module: account_voucher
@@ -568,6 +676,11 @@ msgstr ""
msgid "Previous Payments ?"
msgstr ""
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "January"
+msgstr ""
+
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_voucher_list
#: model:ir.ui.menu,name:account_voucher.menu_encode_entries_by_voucher
@@ -585,11 +698,16 @@ msgid "Credit"
msgstr ""
#. module: account_voucher
-#: code:addons/account_voucher/account_voucher.py:0
+#: code:addons/account_voucher/account_voucher.py:656
#, python-format
msgid "Please define a sequence on the journal !"
msgstr ""
+#. module: account_voucher
+#: view:account.voucher:0
+msgid "Open Supplier Journal Entries"
+msgstr ""
+
#. module: account_voucher
#: report:voucher.print:0
msgid "Through :"
@@ -602,8 +720,8 @@ msgid "Supplier Payment"
msgstr ""
#. module: account_voucher
-#: help:account.voucher,reference:0
-msgid "Transaction reference number."
+#: view:account.voucher:0
+msgid "Post"
msgstr ""
#. module: account_voucher
@@ -611,6 +729,12 @@ msgstr ""
msgid "Invoices and outstanding transactions"
msgstr ""
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,price_total:0
+msgid "Total Without Tax"
+msgstr ""
+
#. module: account_voucher
#: view:account.voucher:0
msgid "Bill Date"
@@ -638,8 +762,8 @@ msgid "Bank Statement"
msgstr ""
#. module: account_voucher
-#: view:account.voucher:0
-msgid "To Review"
+#: selection:sale.receipt.report,month:0
+msgid "September"
msgstr ""
#. module: account_voucher
@@ -647,6 +771,13 @@ msgstr ""
msgid "Sales Information"
msgstr ""
+#. module: account_voucher
+#: model:ir.actions.act_window,name:account_voucher.action_sale_receipt_report_all
+#: model:ir.ui.menu,name:account_voucher.menu_action_sale_receipt_report_all
+#: view:sale.receipt.report:0
+msgid "Sales Receipt Analysis"
+msgstr ""
+
#. module: account_voucher
#: field:account.voucher.line,voucher_id:0
#: model:res.request.link,name:account_voucher.req_link_voucher
@@ -673,6 +804,8 @@ msgstr ""
#. module: account_voucher
#: selection:account.voucher,state:0
+#: view:sale.receipt.report:0
+#: selection:sale.receipt.report,state:0
msgid "Pro-forma"
msgstr ""
@@ -737,10 +870,17 @@ msgstr ""
msgid "Canceled"
msgstr ""
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "May"
+msgstr ""
+
#. module: account_voucher
#: field:account.statement.from.invoice,journal_ids:0
#: view:account.voucher:0
#: field:account.voucher,journal_id:0
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,journal_id:0
msgid "Journal"
msgstr ""
@@ -755,6 +895,11 @@ msgstr ""
msgid "Credits"
msgstr ""
+#. module: account_voucher
+#: field:account.voucher.line,amount_original:0
+msgid "Original Amount"
+msgstr ""
+
#. module: account_voucher
#: report:voucher.print:0
msgid "State:"
@@ -766,12 +911,16 @@ msgstr ""
#: view:account.voucher:0
#: field:account.voucher,pay_now:0
#: selection:account.voucher,type:0
+#: field:sale.receipt.report,pay_now:0
+#: selection:sale.receipt.report,type:0
msgid "Payment"
msgstr ""
#. module: account_voucher
#: view:account.voucher:0
#: selection:account.voucher,state:0
+#: view:sale.receipt.report:0
+#: selection:sale.receipt.report,state:0
#: report:voucher.print:0
msgid "Posted"
msgstr ""
@@ -782,8 +931,8 @@ msgid "Customer"
msgstr ""
#. module: account_voucher
-#: field:account.voucher,writeoff_acc_id:0
-msgid "Write-Off account"
+#: selection:sale.receipt.report,month:0
+msgid "February"
msgstr ""
#. module: account_voucher
@@ -792,8 +941,18 @@ msgid "Supplier Invoices and Outstanding transactions"
msgstr ""
#. module: account_voucher
-#: view:account.voucher:0
-msgid "Open Supplier Journal Entries"
+#: field:account.voucher,comment:0
+msgid "Write-Off Comment"
+msgstr ""
+
+#. module: account_voucher
+#: selection:sale.receipt.report,month:0
+msgid "April"
+msgstr ""
+
+#. module: account_voucher
+#: field:account.voucher,type:0
+msgid "Default Type"
msgstr ""
#. module: account_voucher
@@ -807,6 +966,11 @@ msgstr ""
msgid "Account Entry"
msgstr ""
+#. module: account_voucher
+#: field:sale.receipt.report,state:0
+msgid "Voucher State"
+msgstr ""
+
#. module: account_voucher
#: help:account.voucher,date:0
msgid "Effective date for accounting entries"
@@ -827,6 +991,17 @@ msgstr ""
msgid "Untax Amount"
msgstr ""
+#. module: account_voucher
+#: model:ir.model,name:account_voucher.model_sale_receipt_report
+msgid "Sales Receipt Statistics"
+msgstr ""
+
+#. module: account_voucher
+#: view:sale.receipt.report:0
+#: field:sale.receipt.report,year:0
+msgid "Year"
+msgstr ""
+
#. module: account_voucher
#: view:account.voucher:0
#: field:account.voucher.line,amount_unreconciled:0
diff --git a/addons/account_voucher/i18n/es_EC.po b/addons/account_voucher/i18n/es_EC.po
index 1c25ed67633..3d803d641ef 100644
--- a/addons/account_voucher/i18n/es_EC.po
+++ b/addons/account_voucher/i18n/es_EC.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-10 18:11+0000\n"
+"PO-Revision-Date: 2010-12-28 05:10+0000\n"
"Last-Translator: Cristian Salamea (Gnuthink) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:44+0000\n"
+"X-Launchpad-Export-Date: 2010-12-29 04:57+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_voucher
@@ -25,7 +25,7 @@ msgstr "Transacciones sin conciliar"
#: code:addons/account_voucher/account_voucher.py:0
#, python-format
msgid "Write-Off"
-msgstr ""
+msgstr "Ajuste"
#. module: account_voucher
#: view:account.voucher:0
@@ -137,7 +137,7 @@ msgstr "Cambiar a borrador"
#. module: account_voucher
#: field:account.voucher,comment:0
msgid "Write-Off Comment"
-msgstr ""
+msgstr "Comentario del desajuste"
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_view_account_voucher_unreconcile
@@ -309,6 +309,13 @@ msgid ""
"\n"
"* The 'Cancelled' state is used when user cancel voucher."
msgstr ""
+" * El estado 'Borrador' se utiliza cuando un usuario codifica un recibo "
+"nuevo sin confirmar.\n"
+"* El estado 'Pro-forma' cuando el recibo no tiene un número de recibo.\n"
+"* El estado \"Fijado\" se utiliza cuando el usuario crea el recibo, se "
+"genera un número de recibo y se crean los asientos del recibo en la "
+"contabilidad.\n"
+"* El estado \"Cancelado\" se utiliza cuando el usuario cancela el recibo."
#. module: account_voucher
#: view:account.statement.from.invoice:0
@@ -354,7 +361,7 @@ msgstr "En cuenta de :"
#. module: account_voucher
#: field:account.voucher,writeoff_amount:0
msgid "Write-Off Amount"
-msgstr ""
+msgstr "Importe del desajuste"
#. module: account_voucher
#: view:account.voucher:0
@@ -469,7 +476,7 @@ msgstr "Monto Pagado"
#. module: account_voucher
#: field:account.voucher,payment_option:0
msgid "Payment Difference"
-msgstr ""
+msgstr "Diferencia del pago"
#. module: account_voucher
#: constraint:account.bank.statement.line:0
@@ -477,6 +484,8 @@ msgid ""
"The amount of the voucher must be the same amount as the one on the "
"statement line"
msgstr ""
+"El importe del recibo debe ser el mismo importe que el de la línea del "
+"extracto"
#. module: account_voucher
#: selection:account.voucher,pay_now:0
@@ -604,7 +613,7 @@ msgstr "Monto conciliado"
#. module: account_voucher
#: field:account.voucher,analytic_id:0
msgid "Write-Off Analytic Account"
-msgstr ""
+msgstr "Cuenta analítica del desajuste"
#. module: account_voucher
#: view:account.voucher:0
@@ -647,7 +656,7 @@ msgstr "A través de :"
#: model:ir.actions.act_window,name:account_voucher.action_vendor_payment
#: model:ir.ui.menu,name:account_voucher.menu_action_vendor_payment
msgid "Supplier Payment"
-msgstr ""
+msgstr "Pago a Proveedor"
#. module: account_voucher
#: help:account.voucher,reference:0
@@ -768,7 +777,7 @@ msgstr "¿Desea confirmar este registro?"
#. module: account_voucher
#: selection:account.voucher,payment_option:0
msgid "Reconcile with Write-Off"
-msgstr ""
+msgstr "Conciliar con desajuste"
#. module: account_voucher
#: view:account.voucher:0
@@ -837,12 +846,12 @@ msgstr "Cuenta de desajuste"
#. module: account_voucher
#: view:account.voucher:0
msgid "Supplier Invoices and Outstanding transactions"
-msgstr ""
+msgstr "Facturas de proveedor y transiciones de salida"
#. module: account_voucher
#: view:account.voucher:0
msgid "Open Supplier Journal Entries"
-msgstr ""
+msgstr "Abrir asientos de proveedor"
#. module: account_voucher
#: model:ir.model,name:account_voucher.model_account_statement_from_invoice
@@ -863,7 +872,7 @@ msgstr "Fecha de vigencia de asientos contables"
#. module: account_voucher
#: selection:account.voucher,payment_option:0
msgid "Keep Open"
-msgstr ""
+msgstr "Mantener abierto"
#. module: account_voucher
#: view:account.voucher.unreconcile:0
diff --git a/addons/account_voucher/i18n/fr.po b/addons/account_voucher/i18n/fr.po
index 85e14fb86f5..277b00347a8 100644
--- a/addons/account_voucher/i18n/fr.po
+++ b/addons/account_voucher/i18n/fr.po
@@ -7,19 +7,19 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-12-27 22:35+0000\n"
-"Last-Translator: lolivier \n"
+"PO-Revision-Date: 2010-12-29 08:41+0000\n"
+"Last-Translator: OpenERP Administrators \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-28 04:42+0000\n"
+"X-Launchpad-Export-Date: 2010-12-31 05:27+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_voucher
#: view:account.voucher.unreconcile:0
msgid "Unreconciliation transactions"
-msgstr ""
+msgstr "Transactions non rapprochées"
#. module: account_voucher
#: code:addons/account_voucher/account_voucher.py:0
@@ -45,7 +45,7 @@ msgstr "Particuliers"
#. module: account_voucher
#: view:account.voucher:0
msgid "Group By..."
-msgstr ""
+msgstr "Regrouper par..."
#. module: account_voucher
#: code:addons/account_voucher/account_voucher.py:0
diff --git a/addons/account_voucher/i18n/pl.po b/addons/account_voucher/i18n/pl.po
index 6916658564f..17f93dc22fc 100644
--- a/addons/account_voucher/i18n/pl.po
+++ b/addons/account_voucher/i18n/pl.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n"
-"PO-Revision-Date: 2010-10-08 07:28+0000\n"
-"Last-Translator: OpenERP Administrators \n"
+"PO-Revision-Date: 2011-01-01 19:25+0000\n"
+"Last-Translator: Grzegorz Grzelak (OpenGLOBE.pl) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-12-24 05:43+0000\n"
+"X-Launchpad-Export-Date: 2011-01-02 05:02+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_voucher
@@ -79,12 +79,12 @@ msgstr ""
#: view:account.voucher:0
#: model:ir.actions.act_window,name:account_voucher.act_pay_bills
msgid "Bill Payment"
-msgstr ""
+msgstr "Płatność rachunku"
#. module: account_voucher
#: field:account.voucher.line,amount_original:0
msgid "Originial Amount"
-msgstr ""
+msgstr "Wartość oryginalna"
#. module: account_voucher
#: view:account.statement.from.invoice.lines:0
@@ -92,7 +92,7 @@ msgstr ""
#: model:ir.actions.act_window,name:account_voucher.action_view_account_statement_from_invoice_lines
#, python-format
msgid "Import Entries"
-msgstr ""
+msgstr "Importuj zapisy"
#. module: account_voucher
#: model:ir.model,name:account_voucher.model_account_voucher_unreconcile
@@ -107,11 +107,15 @@ msgid ""
"automatically and you can record the customer payment related to this sales "
"receipt."
msgstr ""
+"Kiedy sprzedajesz produkty klientowi, to możesz mu dać potwierdzenie "
+"sprzedaży lub fakturę. Kiedy potwierdzisz potwierdzenie sprzedaży, to "
+"tworzone są automatycznie zapisy księgowe i możesz wprowadzić płatność "
+"klienta związaną z tym potwierdzeniem sprzedaży."
#. module: account_voucher
#: view:account.voucher:0
msgid "Pay Bill"
-msgstr ""
+msgstr "Zapłać rachunek"
#. module: account_voucher
#: field:account.voucher,company_id:0
@@ -127,32 +131,32 @@ msgstr "Ustaw na projekt"
#. module: account_voucher
#: field:account.voucher,comment:0
msgid "Write-Off Comment"
-msgstr ""
+msgstr "Komentarz odpisu"
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_view_account_voucher_unreconcile
msgid "Unreconcile entries"
-msgstr ""
+msgstr "Skasuj uzgodnienie"
#. module: account_voucher
#: view:account.voucher:0
msgid "Voucher Statistics"
-msgstr ""
+msgstr "Statystyka poleceń"
#. module: account_voucher
#: view:account.voucher:0
msgid "Validate"
-msgstr ""
+msgstr "Zatwierdź"
#. module: account_voucher
#: view:account.voucher:0
msgid "Search Vouchers"
-msgstr ""
+msgstr "Szukaj poleceń"
#. module: account_voucher
#: selection:account.voucher,type:0
msgid "Purchase"
-msgstr ""
+msgstr "Zakup"
#. module: account_voucher
#: field:account.voucher,account_id:0
@@ -163,7 +167,7 @@ msgstr "Konto"
#. module: account_voucher
#: field:account.voucher,line_dr_ids:0
msgid "Debits"
-msgstr ""
+msgstr "Winien"
#. module: account_voucher
#: view:account.statement.from.invoice.lines:0
@@ -174,17 +178,17 @@ msgstr ""
#: field:account.voucher,date_due:0
#: field:account.voucher.line,date_due:0
msgid "Due Date"
-msgstr ""
+msgstr "Data płatności"
#. module: account_voucher
#: constraint:account.move.line:0
msgid "You can not create move line on closed account."
-msgstr ""
+msgstr "Nie możesz tworzyć zapisu dla zamkniętego konta."
#. module: account_voucher
#: field:account.voucher,narration:0
msgid "Notes"
-msgstr ""
+msgstr "Notatki"
#. module: account_voucher
#: model:ir.actions.act_window,help:account_voucher.action_vendor_receipt
@@ -199,17 +203,17 @@ msgstr ""
#. module: account_voucher
#: selection:account.voucher,type:0
msgid "Sale"
-msgstr ""
+msgstr "Sprzedaż"
#. module: account_voucher
#: field:account.voucher.line,move_line_id:0
msgid "Journal Item"
-msgstr ""
+msgstr "Pozycja zapisu dziennika"
#. module: account_voucher
#: field:account.voucher,reference:0
msgid "Ref #"
-msgstr ""
+msgstr "Odn #"
#. module: account_voucher
#: field:account.voucher.line,amount:0
@@ -220,32 +224,32 @@ msgstr "Kwota"
#. module: account_voucher
#: view:account.voucher:0
msgid "Payment Options"
-msgstr ""
+msgstr "Opcje płatności"
#. module: account_voucher
#: sql_constraint:account.move.line:0
msgid "Wrong credit or debit value in accounting entry !"
-msgstr ""
+msgstr "Niepoprawna wartość Winien lub Ma w zapisie !"
#. module: account_voucher
#: view:account.voucher:0
msgid "Bill Information"
-msgstr ""
+msgstr "Inofrmacja o rachunku"
#. module: account_voucher
#: selection:account.voucher,state:0
msgid "Cancelled"
-msgstr ""
+msgstr "Anulowano"
#. module: account_voucher
#: field:account.statement.from.invoice,date:0
msgid "Date payment"
-msgstr ""
+msgstr "Data płatności"
#. module: account_voucher
#: model:ir.model,name:account_voucher.model_account_bank_statement_line
msgid "Bank Statement Line"
-msgstr ""
+msgstr "Pozycja wyciągu bankowego"
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_purchase_receipt
@@ -257,12 +261,12 @@ msgstr ""
#: view:account.voucher:0
#: view:account.voucher.unreconcile:0
msgid "Unreconcile"
-msgstr ""
+msgstr "Skasuj uzgodnienie"
#. module: account_voucher
#: field:account.voucher,tax_id:0
msgid "Tax"
-msgstr ""
+msgstr "Podatek"
#. module: account_voucher
#: report:voucher.print:0
@@ -279,6 +283,7 @@ msgstr "Konto analityczne"
msgid ""
"You can not create move line on receivable/payable account without partner"
msgstr ""
+"Nie możesz tworzyć zapisów bez partnera na kontach należności/płatności."
#. module: account_voucher
#: help:account.voucher,state:0
@@ -296,7 +301,7 @@ msgstr ""
#. module: account_voucher
#: view:account.statement.from.invoice:0
msgid "Go"
-msgstr ""
+msgstr "Przejdź"
#. module: account_voucher
#: view:account.voucher:0
@@ -308,7 +313,7 @@ msgstr ""
#. module: account_voucher
#: view:account.bank.statement:0
msgid "Import Invoices"
-msgstr ""
+msgstr "Importuj faktury"
#. module: account_voucher
#: code:addons/account_voucher/account_voucher.py:0
@@ -316,36 +321,37 @@ msgstr ""
msgid ""
"You have to configure account base code and account tax code on the '%s' tax!"
msgstr ""
+"Musisz skonfigurować rejestr podstawy i rejestr podatku dla podatku '%s' !"
#. module: account_voucher
#: selection:account.voucher,pay_now:0
msgid "Pay Later or Group Funds"
-msgstr ""
+msgstr "Zapłać później lub grupuj płatności"
#. module: account_voucher
#: selection:account.voucher,type:0
msgid "Receipt"
-msgstr ""
+msgstr "Potwierdzenie"
#. module: account_voucher
#: report:voucher.print:0
msgid "On Account of :"
-msgstr ""
+msgstr "Na koncie:"
#. module: account_voucher
#: field:account.voucher,writeoff_amount:0
msgid "Write-Off Amount"
-msgstr ""
+msgstr "Wartość odpisu"
#. module: account_voucher
#: view:account.voucher:0
msgid "Sales Lines"
-msgstr ""
+msgstr "Pozycje sprzedaży"
#. module: account_voucher
#: report:voucher.print:0
msgid "Date:"
-msgstr ""
+msgstr "Data:"
#. module: account_voucher
#: view:account.voucher:0
@@ -357,7 +363,7 @@ msgstr "Okres"
#: view:account.voucher:0
#: field:account.voucher,state:0
msgid "State"
-msgstr "Województwo"
+msgstr "Stan"
#. module: account_voucher
#: model:ir.module.module,shortdesc:account_voucher.module_meta_information
@@ -374,7 +380,7 @@ msgstr ""
#: code:addons/account_voucher/account_voucher.py:0
#, python-format
msgid "Error !"
-msgstr ""
+msgstr "Błąd !"
#. module: account_voucher
#: view:account.voucher:0
@@ -384,12 +390,12 @@ msgstr ""
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_review_voucher_list
msgid "Vouchers Entries"
-msgstr ""
+msgstr "Zapisy polecenia"
#. module: account_voucher
#: field:account.voucher,name:0
msgid "Memo"
-msgstr ""
+msgstr "Notatka"
#. module: account_voucher
#: view:account.voucher:0
@@ -402,55 +408,55 @@ msgstr ""
#: code:addons/account_voucher/account_voucher.py:0
#, python-format
msgid "Invalid action !"
-msgstr ""
+msgstr "Niedozwolona akcja !"
#. module: account_voucher
#: view:account.voucher:0
msgid "Other Information"
-msgstr ""
+msgstr "Inne informacje"
#. module: account_voucher
#: view:account.voucher.unreconcile:0
msgid "Unreconciliation"
-msgstr ""
+msgstr "Kasowanie uzgodnień"
#. module: account_voucher
#: field:account.voucher,tax_amount:0
msgid "Tax Amount"
-msgstr ""
+msgstr "Kwota Podatku"
#. module: account_voucher
#: view:account.invoice:0
#: code:addons/account_voucher/invoice.py:0
#, python-format
msgid "Pay Invoice"
-msgstr ""
+msgstr "Zapłać fakturę"
#. module: account_voucher
#: code:addons/account_voucher/account_voucher.py:0
#, python-format
msgid "No Account Base Code and Account Tax Code!"
-msgstr ""
+msgstr "Brak rejestru podstawy i rejestru podatku !"
#. module: account_voucher
#: view:account.voucher:0
msgid "Payment Information"
-msgstr ""
+msgstr "Informacje o płatności"
#. module: account_voucher
#: view:account.voucher:0
msgid "Voucher Entry"
-msgstr ""
+msgstr "Zapis polecenia"
#. module: account_voucher
#: view:account.voucher:0
msgid "Paid Amount"
-msgstr ""
+msgstr "Zapłacona wartość"
#. module: account_voucher
#: field:account.voucher,payment_option:0
msgid "Payment Difference"
-msgstr ""
+msgstr "Różnica w płatności"
#. module: account_voucher
#: constraint:account.bank.statement.line:0
@@ -462,24 +468,24 @@ msgstr ""
#. module: account_voucher
#: selection:account.voucher,pay_now:0
msgid "Pay Directly"
-msgstr ""
+msgstr "Zapłać od razu"
#. module: account_voucher
#: field:account.statement.from.invoice,line_ids:0
#: field:account.statement.from.invoice.lines,line_ids:0
msgid "Invoices"
-msgstr ""
+msgstr "Faktury"
#. module: account_voucher
#: field:account.voucher.unreconcile,remove:0
msgid "Want to remove accounting entries too ?"
-msgstr ""
+msgstr "Chcesz usunąć zapisy również ?"
#. module: account_voucher
#: field:account.voucher,line_ids:0
#: model:ir.model,name:account_voucher.model_account_voucher_line
msgid "Voucher Lines"
-msgstr ""
+msgstr "Pozycje polecenia"
#. module: account_voucher
#: field:account.voucher,currency_id:0
@@ -489,7 +495,7 @@ msgstr "Waluta"
#. module: account_voucher
#: view:account.statement.from.invoice.lines:0
msgid "Payable and Receivables"
-msgstr ""
+msgstr "Zobowiązania i należności"
#. module: account_voucher
#: report:voucher.print:0
@@ -506,12 +512,12 @@ msgstr "Projekt"
#. module: account_voucher
#: field:account.voucher,type:0
msgid "Default Type"
-msgstr ""
+msgstr "Typ domyślny"
#. module: account_voucher
#: report:voucher.print:0
msgid "Currency:"
-msgstr ""
+msgstr "Waluta:"
#. module: account_voucher
#: report:voucher.print:0
@@ -526,16 +532,19 @@ msgid ""
"the payment, OpenERP will propose to reconcile your payment with the open "
"supplier invoices or bills."
msgstr ""
+"Formularz Płatności dla dostawcy pozwala ci przeglądać te płatności. Możesz "
+"wybrać dostawcę, metodę płatności i wartości. OpenERP zaproponuje ci "
+"uzgodnienie płatności z otwartymi fakturami."
#. module: account_voucher
#: view:account.voucher:0
msgid "Total Amount"
-msgstr ""
+msgstr "Suma kwot"
#. module: account_voucher
#: field:account.voucher.line,type:0
msgid "Cr/Dr"
-msgstr ""
+msgstr "Ma/Wn"
#. module: account_voucher
#: field:account.voucher,audit:0
@@ -545,12 +554,12 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
msgid "Payment Terms"
-msgstr ""
+msgstr "Warunki płatności"
#. module: account_voucher
#: view:account.voucher:0
msgid "Are you sure to unreconcile this record ?"
-msgstr ""
+msgstr "Na pewno chcesz skasowac uzgodnienia tego rekordu ?"
#. module: account_voucher
#: field:account.voucher,date:0
@@ -561,37 +570,37 @@ msgstr "Data"
#. module: account_voucher
#: view:account.voucher:0
msgid "Post"
-msgstr ""
+msgstr "Zaksięguj"
#. module: account_voucher
#: view:account.voucher:0
msgid "Extended Filters..."
-msgstr ""
+msgstr "Rozszerzone filtry..."
#. module: account_voucher
#: report:voucher.print:0
msgid "Number:"
-msgstr ""
+msgstr "Numer:"
#. module: account_voucher
#: field:account.bank.statement.line,amount_reconciled:0
msgid "Amount reconciled"
-msgstr ""
+msgstr "Kwota uzgodniona"
#. module: account_voucher
#: field:account.voucher,analytic_id:0
msgid "Write-Off Analytic Account"
-msgstr ""
+msgstr "Konto analityczne odpisów"
#. module: account_voucher
#: view:account.voucher:0
msgid "Expense Lines"
-msgstr ""
+msgstr "Pozycje wydatków"
#. module: account_voucher
#: field:account.voucher,pre_line:0
msgid "Previous Payments ?"
-msgstr ""
+msgstr "Poprzednia płatność ?"
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_voucher_list
@@ -602,7 +611,7 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
msgid "Compute Tax"
-msgstr ""
+msgstr "Oblicz podatki"
#. module: account_voucher
#: selection:account.voucher.line,type:0
@@ -613,23 +622,23 @@ msgstr "Ma"
#: code:addons/account_voucher/account_voucher.py:0
#, python-format
msgid "Please define a sequence on the journal !"
-msgstr ""
+msgstr "Zdefiniuj numerację dla dziennika !"
#. module: account_voucher
#: report:voucher.print:0
msgid "Through :"
-msgstr ""
+msgstr "Przez:"
#. module: account_voucher
#: model:ir.actions.act_window,name:account_voucher.action_vendor_payment
#: model:ir.ui.menu,name:account_voucher.menu_action_vendor_payment
msgid "Supplier Payment"
-msgstr ""
+msgstr "Płatność Dostawcy"
#. module: account_voucher
#: help:account.voucher,reference:0
msgid "Transaction reference number."
-msgstr ""
+msgstr "Numer odnośny transakcji"
#. module: account_voucher
#: view:account.voucher:0
@@ -639,12 +648,12 @@ msgstr ""
#. module: account_voucher
#: view:account.voucher:0
msgid "Bill Date"
-msgstr ""
+msgstr "Data rachunku"
#. module: account_voucher
#: constraint:account.move.line:0
msgid "Company must be same for its related account and period."
-msgstr ""
+msgstr "Firma musi odpowiednia do konta i okresu."
#. module: account_voucher
#: view:account.voucher:0
@@ -660,17 +669,17 @@ msgstr "Numer"
#. module: account_voucher
#: model:ir.model,name:account_voucher.model_account_bank_statement
msgid "Bank Statement"
-msgstr ""
+msgstr "Wyciąg bankowy"
#. module: account_voucher
#: view:account.voucher:0
msgid "To Review"
-msgstr ""
+msgstr "Do sprawdzenia"
#. module: account_voucher
#: view:account.voucher:0
msgid "Sales Information"
-msgstr ""
+msgstr "Informacja o sprzedaży"
#. module: account_voucher
#: field:account.voucher.line,voucher_id:0
@@ -681,12 +690,12 @@ msgstr ""
#. module: account_voucher
#: model:ir.model,name:account_voucher.model_account_invoice
msgid "Invoice"
-msgstr ""
+msgstr "Faktura"
#. module: account_voucher
#: view:account.voucher:0
msgid "Voucher Items"
-msgstr ""
+msgstr "Pozycje polecenia"
#. module: account_voucher
#: view:account.statement.from.invoice:0
@@ -706,7 +715,7 @@ msgstr ""
#: field:account.voucher,move_ids:0
#: model:ir.model,name:account_voucher.model_account_move_line
msgid "Journal Items"
-msgstr ""
+msgstr "Pozycje zapisów dziennika"
#. module: account_voucher
#: view:account.voucher:0
@@ -714,23 +723,23 @@ msgstr ""
#: model:ir.actions.act_window,name:account_voucher.action_vendor_receipt
#: model:ir.ui.menu,name:account_voucher.menu_action_vendor_receipt
msgid "Customer Payment"
-msgstr ""
+msgstr "Płatności klienta"
#. module: account_voucher
#: field:account.move.line,amount_unreconciled:0
msgid "Unreconciled Amount"
-msgstr ""
+msgstr "Kowta nieuzgodniona"
#. module: account_voucher
#: view:account.statement.from.invoice:0
#: model:ir.actions.act_window,name:account_voucher.action_view_account_statement_from_invoice
msgid "Import Invoices in Statement"
-msgstr ""
+msgstr "Importuj faktury do wyciągu"
#. module: account_voucher
#: view:account.voucher:0
msgid "Pay"
-msgstr ""
+msgstr "Zapłać"
#. module: account_voucher
#: selection:account.voucher.line,type:0
@@ -740,17 +749,17 @@ msgstr "Winien"
#. module: account_voucher
#: view:account.voucher:0
msgid "Are you sure to confirm this record ?"
-msgstr ""
+msgstr "Na pweno chcesz potwierdzić ten rekord ?"
#. module: account_voucher
#: selection:account.voucher,payment_option:0
msgid "Reconcile with Write-Off"
-msgstr ""
+msgstr "Uzgodnij z odpisem"
#. module: account_voucher
#: view:account.voucher:0
msgid "Payment Method"
-msgstr ""
+msgstr "Metoda płatności"
#. module: account_voucher
#: field:account.voucher.line,name:0
@@ -767,23 +776,23 @@ msgstr "Anulowano"
#: view:account.voucher:0
#: field:account.voucher,journal_id:0
msgid "Journal"
-msgstr ""
+msgstr "Dziennik"
#. module: account_voucher
#: view:account.voucher:0
msgid "Internal Notes"
-msgstr ""
+msgstr "Uwagi wewnętrzne"
#. module: account_voucher
#: view:account.voucher:0
#: field:account.voucher,line_cr_ids:0
msgid "Credits"
-msgstr ""
+msgstr "Ma"
#. module: account_voucher
#: report:voucher.print:0
msgid "State:"
-msgstr ""
+msgstr "Stan:"
#. module: account_voucher
#: field:account.bank.statement.line,voucher_id:0
@@ -792,7 +801,7 @@ msgstr ""
#: field:account.voucher,pay_now:0
#: selection:account.voucher,type:0
msgid "Payment"
-msgstr ""
+msgstr "Płatność"
#. module: account_voucher
#: view:account.voucher:0
@@ -804,28 +813,28 @@ msgstr "Zaksięgowano"
#. module: account_voucher
#: view:account.voucher:0
msgid "Customer"
-msgstr ""
+msgstr "Klient"
#. module: account_voucher
#: field:account.voucher,writeoff_acc_id:0
msgid "Write-Off account"
-msgstr ""
+msgstr "Konto odpisów"
#. module: account_voucher
#: view:account.voucher:0
msgid "Supplier Invoices and Outstanding transactions"
-msgstr ""
+msgstr "Faktury dostawców i inne transakcje"
#. module: account_voucher
#: view:account.voucher:0
msgid "Open Supplier Journal Entries"
-msgstr ""
+msgstr "Otwarte zapisy dostawcy"
#. module: account_voucher
#: model:ir.model,name:account_voucher.model_account_statement_from_invoice
#: model:ir.model,name:account_voucher.model_account_statement_from_invoice_lines
msgid "Entries by Statement from Invoices"
-msgstr ""
+msgstr "Zapisy faktur wg wyciągów"
#. module: account_voucher
#: field:account.voucher,move_id:0
@@ -835,12 +844,12 @@ msgstr "Zapis na koncie"
#. module: account_voucher
#: help:account.voucher,date:0
msgid "Effective date for accounting entries"
-msgstr ""
+msgstr "Efektywna data zapisów"
#. module: account_voucher
#: selection:account.voucher,payment_option:0
msgid "Keep Open"
-msgstr ""
+msgstr "Pozostaw otwarte"
#. module: account_voucher
#: view:account.voucher.unreconcile:0
@@ -848,11 +857,13 @@ msgid ""
"If you unreconciliate transactions, you must also verify all the actions "
"that are linked to those transactions because they will not be disable"
msgstr ""
+"Jeśli skasujesz uzgodnienie transakcji, to musisz sprawdzić wszystkie akcje "
+"powiązane z tymi transakcjami, ponieważ one nie zostaną zdezaktywowane."
#. module: account_voucher
#: field:account.voucher.line,untax_amount:0
msgid "Untax Amount"
-msgstr ""
+msgstr "Kowta bez podatku"
#. module: account_voucher
#: view:account.voucher:0
diff --git a/addons/account_voucher/report/account_voucher_sales_receipt.py b/addons/account_voucher/report/account_voucher_sales_receipt.py
index cef854aa953..06511c9a118 100644
--- a/addons/account_voucher/report/account_voucher_sales_receipt.py
+++ b/addons/account_voucher/report/account_voucher_sales_receipt.py
@@ -17,11 +17,8 @@
# along with this program. If not, see .
#
##############################################################################
-import time
from osv import fields, osv
-import pooler
-from tools import config
import tools
class sale_receipt_report(osv.osv):
diff --git a/addons/account_voucher/test/sales_receipt.yml b/addons/account_voucher/test/sales_receipt.yml
index a1793527f67..d3fd720ec6d 100644
--- a/addons/account_voucher/test/sales_receipt.yml
+++ b/addons/account_voucher/test/sales_receipt.yml
@@ -3,7 +3,7 @@
-
!record {model: account.voucher, id: account_voucher_seagate_0}:
account_id: account.a_recv
- amount: 0.0
+ amount: 30000.0
company_id: base.main_company
currency_id: base.EUR
journal_id: account.sales_journal
@@ -13,7 +13,6 @@
type: cr
partner_id: base.res_partner_seagate
period_id: account.period_9
- tax_amount: 0.0
type: sale
-
diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml
index 3a3e996975f..e73354eb59a 100644
--- a/addons/account_voucher/voucher_payment_receipt_view.xml
+++ b/addons/account_voucher/voucher_payment_receipt_view.xml
@@ -89,13 +89,13 @@
|
- [[ formatLang(o.basic_before_leaves) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(o.basic_before_leaves, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
Leaved Deduction
|
- [[ o.leaves or '' ]]
+ [[ formatLang(o.leaves, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
Basic Salary – Leaves
|
- [[ formatLang(o.basic) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(o.basic, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
@@ -433,7 +433,7 @@
[[ ld.code ]]
|
- [[ formatLang(ld.total) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(ld.total, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
@@ -463,7 +463,7 @@
Basic Salary
|
- [[ formatLang(o.basic) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(o.basic, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
@@ -471,7 +471,7 @@
[[repeatIn(get_earnings(o.line_ids),'a') ]] [[ a.code ]]
|
- [[ formatLang(a.total) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(a.total, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
@@ -488,7 +488,7 @@
[[ b.code ]]
- [[ formatLang(b.total) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(b.total, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
@@ -508,13 +508,13 @@
Total Earnings([[ o.company_id and o.company_id.currency_id.symbol or '' ]])
|
- [[ formatLang(o.allounce + o.basic) ]] [[ o.company_id and o.company_id.currency_id.symbol ]]
+ [[ formatLang(o.allounce + o.basic, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|
Total Deductions([[ o.company_id and o.company_id.currency_id.symbol or '' ]])
|
- [[ formatLang(o.deduction) ]] [[ o.company_id and o.company_id.currency_id.symbol or '' ]]
+ [[ formatLang(o.deduction, dp='Account') ]] [[ o.company_id.currency_id.symbol ]]
|