[FIX] Account : wizard corrected for unicode

lp bug: https://launchpad.net/bugs/664288 fixed

bzr revid: jvo@tinyerp.com-20101021083922-twdzt2vpxj3xirzp
This commit is contained in:
Jay (OpenERP)
2010-10-21 14:09:22 +05:30
2 changed files with 5 additions and 4 deletions
@@ -21,6 +21,7 @@
from osv import osv
from tools.translate import _
import tools
class account_move_journal(osv.osv_memory):
_name = "account.move.journal"
@@ -100,7 +101,7 @@ class account_move_journal(osv.osv_memory):
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="terp-gtk-go-back-rtl" string="Open" name="action_open_window" default_focus="1" type="object"/>
</group>
</form>""" % (str(journal), str(period))
</form>""" % (tools.ustr(journal), tools.ustr(period))
res.update({
'arch':view
@@ -181,10 +181,10 @@
<field name="amount_unreconciled" sum="Open Balance" readonly="1"/>
<field name="amount" sum="Payment"/>
</tree>
<form string="Payment Information">
<label string="Form view not available for Payment Lines"/>
</form>
</field>
<form string="Payment Information">
<label string="Form view not available for Payment Lines"/>
</form>
<field name="line_cr_ids" colspan="4" nolabel="1" attrs="{'invisible': [('pre_line','=',False)]}" default_get="{'journal_id':journal_id, 'partner_id':partner_id}">
<tree string="Credits" editable="bottom">
<field name="move_line_id"/>