Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm working on odoo9. I'm facing one issue in which i have 1 One2many field in the sale order line and for the relation there is 1 Many2one field.
Now in the One2many field class, there is 1 Many2one field to another object.
On the click of button, i write some data in the sale order line's One2many fields and it is written also correctly.
But, now in the Many2one field, display _unknown,id instead of just id.
For more Info:-
_inherit = 'sale.order.line'
lot_line_ids = fields.One2many('lot.line.detail', 'line_id', 'Lot Ids')
_name = 'lot.line.detail'
_description = "Lot Line Detail"
line_id = fields.Many2one('sale.order.line', 'Sale Order Line')
lot_line_id = fields.Many2one('lot.detail', string='Lot Line Id')
lot_line_qty = fields.Float('Quantity')
In the lot_line_id, i have facing _unknown error.
Thanks in advance,
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/8/16, 2:50 AM|
|Seen: 1267 times|
|Last updated: 2/12/16, 7:24 AM|