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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037890
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2018-02-12 16:052018-03-06 21:27
ReporterngarciaView Statuspublic 
Assigned Tocollazoandy4 
PriorityurgentResolutionopenFixed in Version
StatusscheduledFix 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

0037890: Wrong total gross amount when reactivating an order or a invoice which includes two basic discount of 100%

DescriptionWrong total gross amount when reactivating an order or a invoice which includes two basic discount of 100%
Steps To ReproduceAs group admin role:
   Create a Basic Discount of 100%
   Assign it to Hoteles Buenas Noches, S.A. business partner
   Create a sales invoice to it
   Check the discount is shown in the Basic Discounts tab
   Add a new record in discounts tab with the same discount
   Add a product to it with a tax rate different from 0 and check the Total Net Amount and Total Gross Amounts are correct
   Complete it and check both Total Gross Amount and Total Net Amount are negative
   Reactivate it and check the Total Gross Amount is wrong, it does not include the tax amount (Total Gross Amount = Total Net Amount)
   If you now remove the discount and complete the invoice again, the total gross amount will remain wrong

   Check the same for sales orders
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035699 closedAtulOpenbravo Wrong total gross amount when reactivating an order or a invoice which includes a basic discount of 100% 

-  Notes
(0102911)
dmiguelez (developer)
2018-03-02 11:03

This is a minor issue.

It should not be possible to complete an Order/Invoice with more than 100% of discount. This should be controlled when completing the document.
(0103043)
collazoandy4 (reporter)
2018-03-06 21:27

Test Plan
  Go to Product window and create a new record:
    Search Key/Name: Product 100%
    Product Category: Others
    Product Type: Service
  Go to Basic Discount window and create a new record:
    Name: Total Discount
    Product: Product 100%
    Discount %: 100
  Go to Sales Order window and create a new record:
    Business Partner: Hoteles Buenas Noches, S.A.
    Create a new record in Lines tab:
      Product: Zumo de Piña 0,5L
      Ordered Quantity: 10
    Create two new records in Basic Discount for Total Discount
    Book the order and check an error message is shown: 'Discount amount exceed 100%'
    Edit the second Discount line to Cascade: Y
    Book the order and check the process ends with out error

Test Plan II
  Go to Price List window and set Price Include Taxes: Y to Tarifa de Ventas record
  Go to Sales Order window and create a new record:
    Business Partner: Hoteles Buenas Noches, S.A.
    Create a new record in Lines tab:
      Product: Zumo de Piña 0,5L
      Ordered Quantity: 10
      Gross Unit Price: 1.13
    Create two new records in Basic Discount for Total Discount
    Book the order and check an error message is shown: 'Discount amount exceed 100%'
    Edit the second Discount line to Cascade: Y
    Book the order and check the process ends with out error

Test Plan III
  Repeat the two previous test plan for sales invoice

- Issue History
Date Modified Username Field Change
2018-02-12 16:05 ngarcia New Issue
2018-02-12 16:05 ngarcia Assigned To => Triage Finance
2018-02-12 16:05 ngarcia Modules => Core
2018-02-12 16:05 ngarcia Resolution time => 1520204400
2018-02-12 16:05 ngarcia Triggers an Emergency Pack => No
2018-02-12 16:05 ngarcia Relationship added related to 0035699
2018-02-15 15:51 collazoandy4 Assigned To Triage Finance => collazoandy4
2018-02-15 15:52 collazoandy4 Status new => scheduled
2018-02-15 16:02 ngarcia Issue Monitored: networkb
2018-03-02 11:03 dmiguelez Note Added: 0102911
2018-03-02 11:04 dmiguelez Severity major => minor
2018-03-05 16:49 dmiguelez Resolution time 1520204400 =>
2018-03-06 21:27 collazoandy4 Note Added: 0103043


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker