Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037854
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 07. Sales managementmajoralways2018-02-07 17:042018-02-09 14:41
ReporterngarciaView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037854: Grand total of voiding an issue does not match with the grand total of the original one

DescriptionGrand total of voiding an issue does not match with the grand total of the original one.
Steps To ReproduceIn an environment with Openbravo For Retail installed:

In the backend:
   Change 'Entregas IVA 21%' rate from 21 to 16
   Change 'Avalanche transceiver' product's price to 52 in 'The White Valley Group Sale Price List Version' price list (Price Includes Tax)
   Add a Price Adjustment in Discounts and Promotions window:
      Discount %: 2.3
      Included Products: Only those defined
   Add 'Avalanche transceiver' in products tab

In the POS:
   Do the cash up
   Create a new receipt
   Add two units of 'Avalanche transceiver'
   Check the total amount is 101.61
   Do the cash up again

In the backend:
   Check the created sales order and sales invoice have a total gross amount of 101.61
   Void the invoice and change it has an amount of -101.62
Proposed SolutionThe process should copy the original invoice and reverse the quantities and amounts instead of recalculating the amounts
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0037840 closedRetail Retail Modules Rounding issues when adding Discounts and Promotions to POS documents, wrong total gross amount 

-  Notes
(0102304)
dmiguelez (developer)
2018-02-09 14:41

This Issue has been moved to design defect.

The problem is that the c_invoice_post is being called again after a voided invoice is processed.
Managing the logic of not recalculating amounts while recalculating necessary fields is complex and should be managed as a design defect.

- Issue History
Date Modified Username Field Change
2018-02-07 17:04 ngarcia New Issue
2018-02-07 17:04 ngarcia Assigned To => Triage Finance
2018-02-07 17:04 ngarcia Modules => Core
2018-02-07 17:04 ngarcia Resolution time => 1519686000
2018-02-07 17:04 ngarcia Triggers an Emergency Pack => No
2018-02-07 17:05 ngarcia Relationship added related to 0037840
2018-02-07 17:05 ngarcia Proposed Solution updated
2018-02-07 17:06 ngarcia Issue Monitored: networkb
2018-02-08 22:38 markmm82 Assigned To Triage Finance => markmm82
2018-02-08 22:39 markmm82 Assigned To markmm82 => Triage Finance
2018-02-09 14:41 dmiguelez Note Added: 0102304
2018-02-09 14:41 dmiguelez Type defect => design defect


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker