Hello,
I want to get the field values of the sale order amount_total and will be my input on the next page. Since I will create a new page that will calculate the quotation sales order total amount together its discounts.
I tried to do this: total_price = fields.Monetary('sale.order.amount_total', string="Price Initial")
The result was my odoo went 500 status. compiler error.
class sale_com(models.Model):
_inherit ='sale.order'
total_price = fields.Monetary('sale.order.amount_total', string="Price Initial") <- this gave me an error