Export po file BUG on account module, po syntax error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
I'm using revision 4465 code.
When i export mn.po file from account module (using Admin->
#. module: account
#: code:addons/
#, python-format
msgid ""
"Can\'t find any account journal of %s type for this company.\n"
"\n"
"You can create one in the menu: \n"
"Configuration\
msgstr ""
"Can\'t find any account journal of %s type for this company.\n"
"\n"
"You can create one in the menu: \n"
"Configuration\
My solution to fix this error :
addons/
- raise osv.except_
+ raise osv.except_
-------
#. module: account
#: code:addons/
#, python-format
msgid ""
"Can\'t find any account journal of %s type for this company.\n"
"\n"
"You can create one in the menu: \n"
"Configuration\
" dom = {'journal_id': [('id', 'in', journal_ids)]}\n"
" else:\n"
" journal_ids = obj_journal.
"\n"
" if currency_id and company_id:\n"
" currency = self.pool.
msgstr ""
"Can\'t find any account journal of %s type for this company.\n"
"\n"
"You can create one in the menu: \n"
"Configuration\
" dom = {'journal_id': [('id', 'in', journal_ids)]}\n"
" else:\n"
" journal_ids = obj_journal.
"\n"
" if currency_id and company_id:\n"
" currency = self.pool.
My solution to fix this error :
addons/
- raise osv.except_
+ raise osv.except_
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP's Framework R&D (openerp-dev-framework) |
Hello Jacara,
This has now been fixed in the latest trunk, and not just this case but any others too. Starting with a fresh database you should have much cleaner translations.
Thanks for reporting