0
votes

i'm trying to add product description to purchase advanced search menu

class purchase_order_line(osv.osv):
_inherit = 'purchase.order.line'
_columns =  {
    'name':fields.text(string='Description')
}
1

1 Answers

-1
votes

Your question is not clear for me. But i noticed an error in your code. You missed an equal sign after _columns. Try below code.

 class purchase_order_line(osv.osv):
 _inherit = 'purchase.order.line'
 _columns =  {
 'name':fields.text(string='Description')
  }