Add a "Reset price list" button on sale?

On a sale with a price list selected:

  • the unit price of a line is computed automaticly when you change the quantity of the line at creation or modification;
  • so when you modify the price list selected on the background,
  • and add a new line on the sale after this modification,
  • it’s the new formula that applied,
  • and you can have two lines of a same product with two unit price computed differently.

Like on production with the “Reset to BOM” button, is it possible to have a “Reset price list” button that recompute unit prices for all lines of a sale?

The Modify Header Wizard recompute already the price of the lines.

I filled Document that Modify Header wizards are recalculate lines (!2274) · Merge requests · Tryton / Tryton · GitLab

1 Like