Hello,
Good day to all!
please, can someone help solve this below issue : Thanks!
i am using odoo 13 in windows 10. and i am trying to make a book price field with below code for my library app :
MY MODEL .PY FILE IS AS BELOW :
from odoo import models, fields
from odoo.addons import decimal_precision as dp
class LibraryBook(models.Model):
cost_price = fields.Float(
'Book Cost', digits=dp.get_precision('Book Price'))
------------------------------------------------------------------------------------
MY LIBRARY_BOOK.XML FILE IS AS BELOW :
<field name="cost_price"/>
when i upgrade i get below error.