unicode problem on account module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
I have account period with unicode such as "5-р сар.2012".
But convert_to_period method on account.move.line does not support unicode data. This is bug.
def convert_
if context is None:
context = {}
period_obj = self.pool.
#check if the period_id changed in the context from client side
if context.
if type(period_id) == str:
ids = period_
})
return context
If i search period and journal on journal item display then getting errors.
File "/openerp/
cr.
File "/openerp/
return f(self, *args, **kwargs)
File "/openerp/
res = self._obj.
DataError: invalid input syntax for integer: "5-р сар.2012"
LINE 1: SELECT code FROM account_period WHERE id = '5-р сар.2012'