Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037096Retail ModulesRetail Configurationpublic2017-10-18 10:442018-04-09 20:34
inaki_garcia 
rqueralta 
normalmajoralways
scheduledopen 
5
main 
 
No
0037096: [RR17Q4] [Digital Coupons] Payments aren't deposited to the correct account after editting it for the Issuing Company
When paying a receipt with a Digital Coupon whose accounting has been edited from the Issuing Company window,
the Payment In record generated from it will always be deposited to the account the coupon was originally
set to.
In other words, the changes aren't correctly applied in the Accounts tab of the Issuing Company window, which
leads to an inconsistent behavior.
With the Digital Coupons for Retail module installed...

There are to ways to execute these steps:
-- 1st alternative: Create a receipt before and after editing the "Financial Account" field --
- Execute steps 0 to 9. In step 9, the "Deposit Field" shows "Voucher - Vall Blanca Store - EUR", which is correct
- Modify the "Financial Account" field in step 2 to "Chèque Gourmet - Vall Blanca Store"
- Execute the rest of the steps, 4 to 9
-- 2nd alternative: Create a receipt after editing the "Financial Account" field --
- Execute steps 0 to 3
- Modify the "Financial Account" field in step 2 to "Chèque Gourmet - Vall Blanca Store"
- Execute the rest of the steps, 4 to 9



-- In the backend (ERP) ---
0. Log in as user "Openbravo" with the role "The White Valley Group Admin"
1. Go to the Issuing Company window, and create a record with the following data:
- Code: 123456
- Name: Chèque Test
2. Go to the Accounts sub tab, and create a record with the following data:
- Organization: Vall Blanca Store
- Financial Account: Voucher - Vall Blanca Store - EUR
3. Go to Financial Account window, and create a new record with the following data:
- Organization: Vall Blanca Store
- Name: Chèque Gourmet - Vall Blanca Store
- Currency: EUR
- Type: Bank
- Credit Limit: 0

-- In the Web POS --
4. Log in as user "vallblanca"
5. Add some items to the receipt, click on the Total button, and click on the "Voucher" payment method. A "Digital Coupon" titled popup will appear
6. Fill the fields:
- Issuing company: 123456 - Chèque Test
- Check Number: <any alphanumerical string>
- Amount: <sames as total amount of the receipt>
- Expiration date: <date of today>
7. Click on the "Add" button, and then "Close". Click on the "Done" button at the payment info pane to complete the payment

-- Back at the ERP --
8. With the same login credentials, go to the Payment In window
9. A new payment has been created. NOTICE that the "Deposit To" field says "Voucher - Vall Blanca Store - EUR", which doesn't match with the edited Financial Account field "Chèque Gourmet - Vall Blanca Store" in the Accounts subtab for the Issuing Company
No tags attached.
Issue History
2017-10-18 10:44inaki_garciaNew Issue
2017-10-18 10:44inaki_garciaAssigned To => Retail
2017-10-18 10:44inaki_garciaTriggers an Emergency Pack => No
2018-04-09 20:18rqueraltaAssigned ToRetail => rqueralta
2018-04-09 20:34rqueraltaStatusnew => scheduled

There are no notes attached to this issue.