Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4755 Vistas

how i can arrange the suppliers by category

Avatar
Descartar
Mejor respuesta

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 Mejor respuesta

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.

Publicaciones relacionadas Respuestas Vistas Actividad
0
nov 22
3538
1
dic 24
2370
2
nov 23
2964
0
abr 23
1606
0
nov 21
2045