I have a model which contains a variable, 'country' and 'country' is a related field with 'res.country' model by Many2One relationship. For demo data I want a specific Country, Like 'Bangladesh' or 'Pakistan' but I got an parsing error when I write Bangladesh in field of demo data. here I provide the code below.
class NewAddress(models.Model):
_name = 'new.address'
name = fields.Char()
country = fields.Many2one('res.country')
The demo data part.
Error Part:
odoo.tools.convert.ParseError: while parsing /odoo/custom/pip/bd_address/data/bd_division_demo.xml:4, somewhere inside
Dhaka
Bangladesh
Thanks in Advanced