← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 675653] [NEW] account_journal bugs

 

Public bug reported:

On Windows XP SP3 OpenERP All-In-One 5.0.14: if I make an 
account_voucher.voucher and print it from the GTK client 
by clicking on the "Voucher Report" button
the PDF has this in it:

Dated : [[ time.strftime('%d
%B,%Y',
time.strptime(voucher.date
, '%Y-%m-%d')) or ''
]]

Also, shouldn't the Voucher Report Cr/Dr list the accounts and journals
in the voucher transaction?

Also, there's a typo in account_voucher/voucher.py
line 71 in
  def _get_journal(self, cr, uid, context):
in:
        type2journal = {
            'rec_voucher': 'cash', 
            'bank_rec_voucher': 'cash',
            'pay_voucher': 'cash',
            'bank_pay_voucher': 'cash', 
            'cont_voucher': 'cash',
            'journal_sale_vou': 'sale',
            'journal_pur_voucher': 'purchase',
            'journal_voucher':'expanse'
        }
should be:
           'journal_voucher':'expense'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
account_journal bugs
https://bugs.launchpad.net/bugs/675653
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
On Windows XP SP3 OpenERP All-In-One 5.0.14: if I make an 
account_voucher.voucher and print it from the GTK client 
by clicking on the "Voucher Report" button
the PDF has this in it:

Dated : [[ time.strftime('%d
%B,%Y',
time.strptime(voucher.date
, '%Y-%m-%d')) or ''
]]

Also, shouldn't the Voucher Report Cr/Dr list the accounts and journals
in the voucher transaction?

Also, there's a typo in account_voucher/voucher.py
line 71 in
  def _get_journal(self, cr, uid, context):
in:
        type2journal = {
            'rec_voucher': 'cash', 
            'bank_rec_voucher': 'cash',
            'pay_voucher': 'cash',
            'bank_pay_voucher': 'cash', 
            'cont_voucher': 'cash',
            'journal_sale_vou': 'sale',
            'journal_pur_voucher': 'purchase',
            'journal_voucher':'expanse'
        }
should be:
           'journal_voucher':'expense'





Follow ups

References