Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0041154 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Web POS | minor | always | 2019-06-24 12:30 | 2019-07-12 08:14 | |||
| Reporter | ngarcia | View Status | public | |||||
| Assigned To | rqueralta | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | RR19Q4 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 0cea844b849b | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | adrianromero | |||||||
| OBNetwork customer | Gold | |||||||
| Support ticket | 8995 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0041154: "Tax" field in the order's JSON is wrong when including a compound tax rate in a layaway, it is loaded and paid | |||||||
| Description | "Tax" field in the order's JSON is wrong when including a compound tax rate in a layaway, it is loaded and paid If you create the same order and pay it, the tax field includes the identifier of the parent tax (this is correct).  | |||||||
| Steps To Reproduce | In the backoffice: Create the following three tax rates: 1) Common parameters: Tax Category: IVA Normal Valid From: today Country: Spain Destination Country: Spain Sales/Purchase Type: Sales 2) Specific parameters: 2.1) PARENT Summary Level: Y Default: Y 2) CHILD1 Rate: 53 Parent Tzx Rate: PARENT 3) CHILD2 Rate: 16 Base Amount: Line Net Amount + Tax Amount Line: 20 Parent Tax Rate: PARENT Tax Base: CHILD1 (you should save the record before to get the tax in the combo) In the POS: Select Layaway this Receipt option Add a product Check the previously created taxes have been selected Layaway Open Receipt Select previously created layaway Pay it In the backoffice: Check the Sales Order created has the correct tax rate in its lines (PARENT) Check the JSON of the layaway Data Import Entry window: The taxlines and taxes sections are correct The tax field includes the identifier the parent tax Check the JSON of the order in Data Import Entry window: The taxlines and taxes sections are correct The tax field includes the identifier of a child tax instead of the identifier of the parent tax  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|||||||||||||||
  | 
|||||||||||||||
  		Notes	 | 
|
| 
				(0113254) hgbot (developer) 2019-07-10 14:46  | 
	
		Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 0cea844b849b68dfb81927e57b294cb20ebb565c Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Mon Jul 08 17:23:49 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cea844b849b68dfb81927e57b294cb20ebb565c [^] Fixed issue 41154: "Tax" field in the order's JSON is wrong when including a compound tax rate in a layaway, it is loaded and paid - Added taxId property into the hql query --- M src/org/openbravo/retail/posterminal/PaidReceiptLinesProperties.java M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js ---  | 
| 
				(0113268) adrianromero (viewer) 2019-07-11 11:05  | 
	Verified | 
| 
				(0113320) guilleaer (viewer) 2019-07-12 08:14  | 
	reclosed | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2019-06-24 12:30 | ngarcia | New Issue | |
| 2019-06-24 12:30 | ngarcia | Assigned To | => Retail | 
| 2019-06-24 12:30 | ngarcia | OBNetwork customer | => Gold | 
| 2019-06-24 12:30 | ngarcia | Support ticket | => 8995 | 
| 2019-06-24 12:30 | ngarcia | Triggers an Emergency Pack | => No | 
| 2019-06-24 12:30 | ngarcia | Issue Monitored: networkb | |
| 2019-06-24 12:41 | ngarcia | Relationship added | related to 0038967 | 
| 2019-06-26 16:19 | ngarcia | Resolution time | => 1563314400 | 
| 2019-06-27 19:53 | matias-bernal | Issue Monitored: matias-bernal | |
| 2019-07-04 13:58 | ngarcia | Relationship added | related to 0034856 | 
| 2019-07-04 18:34 | marvintm | File Added: 41154_19Q2.diff | |
| 2019-07-08 15:32 | rqueralta | Assigned To | Retail => rqueralta | 
| 2019-07-08 15:32 | rqueralta | Status | new => scheduled | 
| 2019-07-10 14:46 | hgbot | Checkin | |
| 2019-07-10 14:46 | hgbot | Note Added: 0113254 | |
| 2019-07-10 14:46 | hgbot | Status | scheduled => resolved | 
| 2019-07-10 14:46 | hgbot | Resolution | open => fixed | 
| 2019-07-10 14:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cea844b849b68dfb81927e57b294cb20ebb565c [^] | 
| 2019-07-11 11:05 | adrianromero | Review Assigned To | => adrianromero | 
| 2019-07-11 11:05 | adrianromero | Note Added: 0113268 | |
| 2019-07-11 11:05 | adrianromero | Status | resolved => closed | 
| 2019-07-11 11:05 | adrianromero | Fixed in Version | => RR19Q4 | 
| 2019-07-11 15:32 | hgbot | Checkin | |
| 2019-07-11 15:32 | hgbot | Note Added: 0113290 | |
| 2019-07-11 15:32 | hgbot | Status | closed => resolved | 
| 2019-07-11 15:32 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cea844b849b68dfb81927e57b294cb20ebb565c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/0cea844b849b68dfb81927e57b294cb20ebb565c [^] | 
| 2019-07-12 08:14 | guilleaer | Note Deleted: 0113290 | |
| 2019-07-12 08:14 | guilleaer | Note Added: 0113320 | |
| 2019-07-12 08:14 | guilleaer | Status | resolved => closed | 
| Copyright © 2000 - 2009 MantisBT Group |