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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011875
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementminoralways2009-12-29 10:572010-03-10 18:28
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchFixed in SCM revision051c78094978
ProjectionnoneETAnoneTarget Version2.50MP12
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011875: When complete a Purchase Invoice creates a payment with amount 0

DescriptionThis Purchase Invoice has two payments that cover 100 % of the amount
Steps To Reproduce-As Openbravo Admin go to Procurement Management || Transactions || Purchase Order
-Create a new record, save
-Create a line (Product: Hammer, Tax: Exempt, Unit Price: 5.00)
-Save and go to Payment.
-Create a new record(Amount: 3.00)
-Save and create a new record (Amount: 2.00), save.
-Complete the Order

-Go to Procurement Management || Transactions || Purchase Invoice
-Create a new record, and create lines from the order created.
    -Transaction Document: AP Invoice
-Complete and go to payments.
-Verify that there are three payments. One of them with amount 0.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0023172)
psarobe (manager)
2009-12-30 19:04

Hi Natalia,

I thought we were talking the other day about Sales management and not Procurement. In your example you mention Procurement. That means that happens in Procurement and Sales?
(0023177)
networkb (developer)
2009-12-31 09:41

We are talking about Procurement Management. In Sales doesn't happen.
(0024639)
hgbot (developer)
2010-02-19 10:35

Repository: erp/devel/pi
Changeset: 051c780949781972cc64b89c2861ae2313cdbeab
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri Feb 19 15:04:21 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/051c780949781972cc64b89c2861ae2313cdbeab [^]

Fixes Issue 11875: When complete a Purchase Invoice creates a payment with amount 0.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0024640)
harikrishnan (reporter)
2010-02-19 10:46

Steps to Test

*Create a new purchase order(Procurement Management || Transactions || Purchase Order || Header ) with the following details.
    Header:
        Business Partner : McGiver Supplies
    Lines
        Product:Hammer
        Net Unit Price:5
        Tax:Exempt
    Payment(create 2 datas)
        1.Due Date:Any date
          Amount 3
        2.Due Date:Any date
          Amount :2
    Complete the purchase order.
*Create a purchase invoice (Procurement Management || Transactions || Purchase Invoice || Header ) with following details.
    Header
        Business partner:McGiver Supplies
        Transaction Document : AP Invoice
        Click on Button "Create Lines From" and select the previous created purchase order.
    Complete the Purchase invoice.Now you can able to see only 2 payments.
*Repeat the same above steps with order unit price as 6.Then in the invoice payment tab you can notice 3 payment.One line is with amount 1 in payment tab.
(0024895)
arunkumar (reporter)
2010-03-01 11:04

Tested & Working fine
(0024999)
hudsonbot (developer)
2010-03-03 13:48

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/051c78094978 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/17ddf2c3af51 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16508.obx [^]

- Issue History
Date Modified Username Field Change
2009-12-29 10:57 networkb New Issue
2009-12-29 10:57 networkb Assigned To => rafaroda
2009-12-30 19:04 psarobe Note Added: 0023172
2009-12-30 19:04 psarobe Status new => feedback
2009-12-31 09:41 networkb Note Added: 0023177
2009-12-31 11:09 psarobe Status feedback => scheduled
2009-12-31 11:09 psarobe fix_in_branch => pi
2009-12-31 11:09 psarobe Priority immediate => urgent
2009-12-31 11:09 psarobe fix_in_branch pi =>
2010-02-12 12:24 networkb Steps to Reproduce Updated View Revisions
2010-02-16 16:55 rafaroda Assigned To rafaroda => adrianromero
2010-02-19 10:35 hgbot Checkin
2010-02-19 10:35 hgbot Note Added: 0024639
2010-02-19 10:35 hgbot Status scheduled => resolved
2010-02-19 10:35 hgbot Resolution open => fixed
2010-02-19 10:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/051c780949781972cc64b89c2861ae2313cdbeab [^]
2010-02-19 10:46 harikrishnan Note Added: 0024640
2010-03-01 11:04 arunkumar Note Added: 0024895
2010-03-01 11:04 arunkumar Status resolved => closed
2010-03-01 11:04 arunkumar Fixed in Version => 2.50MP12
2010-03-03 13:48 hudsonbot Checkin
2010-03-03 13:48 hudsonbot Note Added: 0024999
2010-03-10 17:21 anonymous sf_bug_id 0 =>
2010-03-10 18:28 anonymous sf_bug_id => 2967969


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker