Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1290466
Title:
[trunk] type 'string' instead of type 'char' in some fields.function
Status in OpenERP Addons (modules):
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1290466/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp