Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4926 Prikazi

how i can arrange the suppliers by category

Avatar
Opusti
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
Opusti
Avtor 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
Opusti

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

Related Posts Odgovori Prikazi Aktivnost
0
nov. 22
3744
1
dec. 24
2615
2
nov. 23
3215
0
apr. 23
1825
0
nov. 21
2226