Skip to Content
Menú
This question has been flagged
2 Respostes
4877 Vistes

how i can arrange the suppliers by category

Avatar
Descartar
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
Descartar
Autor 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
Descartar

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

Related Posts Respostes Vistes Activitat
0
de nov. 22
3677
1
de des. 24
2522
2
de nov. 23
3155
0
d’abr. 23
1753
0
de nov. 21
2168