Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4914 Zobrazení

how i can arrange the suppliers by category

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
0
lis 22
3734
1
pro 24
2597
2
lis 23
3206
0
dub 23
1815
0
lis 21
2218