[trunk] type 'string' instead of type 'char' in some fields.function

Bug #1290466 reported by Sébastien Alix
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

It seems that some field types are mistyped in the 'crm' and 'sale_crm' modules, a type 'string' is used instead of the 'char' one:

./sale_crm/sale_crm.py:105: type='string', readonly=True, multi='_get_sale_orders_data',
./sale_crm/sale_crm.py:108: type='string', readonly=True, multi='_get_sale_orders_data',
./sale_crm/sale_crm.py:111: type='string', readonly=True,
./crm/crm.py:181: type="string", readonly=True, multi='_get_opportunities_data',
./crm/crm.py:184: type="string", readonly=True, multi='_get_opportunities_data',

As I haven't found the 'string' type in openerp/osv/fields.py, I think it's a bug? It causes some issues when we're inspecting data model through the "fields_get()" method for instance.

Seen on trunk revision 9196.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.