Dear community,
I have created a new line before saves the sale.order, the all parts of the line is correcte but the taxes is not inclued, could you help me please?
vals_list.append((0, 0, { 'product_id': product.id, 'product_uom_qty': 1, 'sequence': 999, 'order_id': self.id, 'price_unit': -amount, 'tax_id': taxes.ids, 'type_disc': type_disc, } ))
self.order_line = vals_list