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: Tip screen adds the tip amount to the first payment line found #485

Open JVegaB opened 2 years ago

JVegaB commented 2 years ago

Description of the issue/feature this PR addresses:

When having a PoS config like:

  1. Create an order with a product
  2. Pay it but in the payment screen put no tip
  3. On the North merican tip screen add a tip to the order
  4. Print the closing order receipt ticket

Current behavior before PR:

The payment lines in the ticket has no tip included

Desired behavior after PR is merged:

The payment lines in the ticket shoud have the tip included

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