Skip to Content
मेन्यू
This question has been flagged
2 Replies
4932 Views

how i can arrange the suppliers by category

Avatar
Discard
Best Answer

Hi Sakher,

Try Following,

class res_partner(osv.osv):
      _inherit = 'res.partner'
      _order = 'category_id'

you can also arrange suppliers by ascending order or by descending order.

class res_partner(osv.osv):
      _inherit = 'res.partner'
      _order = 'category_id desc'

Hope it work for you.

Avatar
Discard
Author Best Answer

thanx for reply,,

the problem exactly.. if i made anew category for supplier,, i write a wrong name,,

how i can change the name,, or change the mother of category ? i work in openerp 7

Avatar
Discard

i cant understand your requirement. please explain me exactly your problem.

Related Posts Replies Views Activity
0
नव॰ 22
3753
1
दिस॰ 24
2640
2
नव॰ 23
3223
0
अप्रैल 23
1831
0
नव॰ 21
2229