Hi!
i have a model 'customer.sale' and i created a pivot view, all field display except for many2many field.
class CustSale(models.Model):
_name = 'customer.sale'
_auto = False
partner = fields.Many2one('res.partner', string='Name', readonly=True)
contact = fields.Many2one('res.partner', string="Name with Contact Name", readonly=True)
partner_class = fields.Many2one('custom.partner', string='Exclusivity Type', readonly=True)
town = fields.Char('Town')
name = fields.Char('Incentive Program', readonly=True)
mtd_vol = fields.Float('MTD Sales (converted)', readonly=True)
target = fields.Float('Target', readonly=True)
bal = fields.Float('Balance', readonly=True)
state = fields.Selection([('approve','Approved'),('draft','for Review'),('end','Ended'),('cancel','Cancel')], string='Status', default='draft',
readonly=True)
month_start = fields.Datetime('Date', readonly=True)
custom_product_category = fields.Many2many('cust.perf', string='Product Category Many', readonly=True)
and i want to display the many2many field in a pivot view. How can i do that ?
+1
I have the same wish/problem, let me know in case you found an answer
+1