Odoo Help


supplier by category

Sakher Fayyad
on 7/3/13, 8:12 AM 1,833 views

how i can arrange the suppliers by category

Sakher Fayyad
On 7/3/13, 8:21 AM

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

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

Ghanshyam Prajapati
on 7/3/13, 8:46 AM

Ghanshyam Prajapati

--Ghanshyam Prajapati--

| 4 4 8
Pune, India
--Ghanshyam Prajapati--
OpenERP Developer
Ghanshyam Prajapati
On 7/3/13, 8:18 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 7/3/13, 8:12 AM
Seen: 1833 times
Last updated: 3/16/15, 8:10 AM