← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 680830] Re: can't sort by country in partner list view

 

*** This bug is a duplicate of bug 629332 ***
    https://bugs.launchpad.net/bugs/629332

** This bug has been marked a duplicate of bug 629332
   Function,related fields that are not stored cannot be used to sort
 * You can subscribe to bug 629332 by following this link: https://bugs.launchpad.net/openobject-server/+bug/629332/+subscribe

-- 
can't sort by country in partner list view
https://bugs.launchpad.net/bugs/680830
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: New

Bug description:
in trunk -> partner list view
- click "country" column header in order to sort the list by country alphabetic order
- there is a bug   

File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 3975, in _generate_m2o_order_by
    assert order_field_column._classic_write or getattr(order_field_column, 'store', False), "Many2one function/related fields must be stored to be used as ordering fields"
AssertionError: Many2one function/related fields must be stored to be used as ordering fields





References