Comment 12 for bug 977574

Revision history for this message
Cats&Dogs (catsanddogs) wrote :

Hello,

I can use the price list by altering some code, but I guess it has a reason why this is referring to the list_price instead of the price model ??

addons/point_of_sale/static/src/xml/pos.xml:
 -> 390: widget.model.get('list_price') => widget.model.get('price')
 -> 395: widget.model.get('list_price') => widget.model.get('price')

addons/point_of_sale/static/src/js/models.js:
 -> 345: this.price = options.product.get('list_price'); => this.price = options.product.get('price');