Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[FIX] pos_restaurant: Tips screen waits for the rewards to be updated, after block order again #483

Closed JVegaB closed 2 years ago

JVegaB commented 2 years ago

Description of the issue/feature this PR addresses:

When configuring a pos.config with:

  1. The extra tip screen
  2. Rewards programs

Do the next:

  1. Create an order with a discount from a reward program.
  2. Pay the order witout a tip, so you can continue to the tip screen.
  3. Add a tip, and print the receipt of that order.

Current behavior before PR:

The discount from the reward program is deleted from the ticket.

Desired behavior after PR is merged:

The discount from the reward program is kept in the ticket.

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr