wrong msgid in server/openerp/addons/base/i18n/base.pot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
While translating openerp-server 6.1 on launchpad I have found wrong message.
Just use the following link: https:/
It's because a wrong entry in server/
#. module: base
#: code:addons/
#, python-format
msgid "Insufficient fields to generate a Calendar View for %s, missing a date_stop or a date_delay\" % (self._name)))\n"
"\n"
" return view\n"
"\n"
" def _get_default_
" \"\n"
" :param cr: database cursor\n"
" :param int user: user id\n"
" :param dict context: connection context\n"
" :returns: an lxml document of the view\n"
" :rtype: etree._Element\n"
" \"\n"
" form_view = self.fields_
" tree_view = self.fields_
"\n"
" # TODO it seems _all_columns could be used instead of fields_get (no need for translated fields info)\n"
" fields = self.fields_get(cr, uid, context=context)\n"
" fields_to_search = set(\n"
" field for field, descriptor in fields.
" if descriptor.
"\n"
" for view in (form_view, tree_view):\n"
" view_root = etree.fromstrin
" # Only care about select=1 in xpath below, because select=2 is covered\n"
" # by the custom advanced search in clients\n"
" fields_
msgstr ""
Hello ,
I have checked this issue with latest code of trunk as well as 6.1.
I have removed field date_start field form Calandar view but I did not face this exception like
"Insufficient fields to generate a Calendar View" instead of this , Its give me another exeption
Uncaught Error: Calendar view has not defined 'date_start' attribute. But in code exception
exist in its exists , So it should be removed from code if its not used
OR Need to improvement in translation because exception is not in user language.
code in orm.py 2035 :
_ ("Insufficient fields to generate a Calendar View for %s, missing a date_stop or a date_delay" % self._name))hve
Thanks.