Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037180Retail ModulesWeb POSpublic2017-10-27 12:542018-06-26 11:42
jorge-garcia 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
RR18Q1 
marvintm
No
No
0037180: Implements the functionality to generate separate invoices for return and sales tickets
Implements the functionality to generate separate invoices for return and sales tickets
-

A new check will be added to POS Terminal Type. This check will only be visible when "Group orders in one invoice" has been marked, and will allow to specify that separate invoices should be generated for returns.

New terminals will by default have this check set to "yes", but old terminals will have it initially set to "no".
No tags attached.
Issue History
2017-10-27 12:54jorge-garciaNew Issue
2017-10-27 12:54jorge-garciaAssigned To => jorge-garcia
2017-10-27 12:54jorge-garciaOBNetwork customer => No
2017-10-27 12:54jorge-garciaTriggers an Emergency Pack => No
2017-10-27 14:02hgbotCheckin
2017-10-27 14:02hgbotNote Added: 0100122
2017-10-27 14:03hgbotCheckin
2017-10-27 14:03hgbotNote Added: 0100123
2017-10-27 14:03hgbotStatusnew => resolved
2017-10-27 14:03hgbotResolutionopen => fixed
2017-10-27 14:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c9b48e94c9ac5d4bcd45e8dcf06db539b3dee398 [^]
2017-10-30 10:05jorge-garciaTypedesign defect => feature request
2017-10-30 10:07jorge-garciaNote Added: 0100136
2017-11-03 09:56marvintmReview Assigned To => marvintm
2017-11-03 09:56marvintmStatusresolved => closed
2017-11-03 09:56marvintmFixed in Version => RR18Q1
2017-11-03 09:58marvintmDescription Updatedbug_revision_view_page.php?rev_id=16223#r16223
2017-11-03 09:58marvintmProposed Solution updated
2017-11-15 16:06hgbotCheckin
2017-11-15 16:06hgbotNote Added: 0100531
2018-01-22 20:57hgbotCheckin
2018-01-22 20:57hgbotNote Added: 0101869
2018-06-26 11:42hgbotCheckin
2018-06-26 11:42hgbotNote Added: 0105427
2018-06-26 14:09gorka_gilNote Deleted: 0105427

Notes
(0100122)
hgbot   
2017-10-27 14:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 45559c2da7d6f783d6c94783698b9d5db098fb02
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Oct 27 13:20:41 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/45559c2da7d6f783d6c94783698b9d5db098fb02 [^]

Related to issue 37180: Implements the functionality to generate separate
invoices for return and sales tickets

Change sampledata to work as it’s now.

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_TERMINALTYPE.xml
---
(0100123)
hgbot   
2017-10-27 14:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c9b48e94c9ac5d4bcd45e8dcf06db539b3dee398
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Oct 27 13:21:41 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c9b48e94c9ac5d4bcd45e8dcf06db539b3dee398 [^]

Fixed issue 37180: Implements the functionality to generate separate
invoices for return and sales tickets

If terminal type is set to group orders in one invoice, a new check is shown.

The use of this check Separate Invoice for Return allows to the client to
generate one invoice for all sales order and another one for returns.

---
M src-db/database/model/tables/OBPOS_TERMINALTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql
---
(0100136)
jorge-garcia   
2017-10-30 10:07   
Also changed external modules sampledata[1]

[1] https://code.openbravo.com/erp/pmods-branches/org.openbravo.test.mobile.sampledata/rev/60d65bae8296 [^]
(0100531)
hgbot   
2017-11-15 16:06   
Repository: tools/automation/pi-mobile
Changeset: 2e9818e21803753420ca47e5bb93a049473bb14b
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Wed Nov 15 10:05:31 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2e9818e21803753420ca47e5bb93a049473bb14b [^]

Verifies issue 37180: Implementation of the functionality to generate separate
invoices for return and sales tickets

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I37180_VerifySeparateInvoicesForReturnAndSales.java
---
(0101869)
hgbot   
2018-01-22 20:57   
Repository: tools/automation/pi-mobile
Changeset: 033953781eba122735b2d547be8186599007d69b
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Jan 16 12:56:02 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/033953781eba122735b2d547be8186599007d69b [^]

Test refactor for issue 37180: Changes in database are made in beforeWithReload
and afterWithReload classes.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I37180_VerifySeparateInvoicesForReturnAndSales.java
---