Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 07. Sales managementminoralways2009-03-17 18:372009-07-03 14:26
ReporterjaimetorreView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchpiFixed in SCM revision03e9f606c46e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP1SCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0008173: Create invoices from orders: does not follow invoice terms

DescriptionIf an order is partially shipped and the invoice term for that partner is set to 'after delivery' the Create Invoices From Order should show the partial amount that will be invoiced and not the total amount of the order. (In the order selection list, both the 'lines amt' and the 'not invoiced' are incorrect.)
Proposed SolutionAdd a new check to select gross/net so depending the checkbox the amounts shown will be gross or net. The default value will be gross as it is the amounts shown currently.

3 amount columns will be visible:

-Line amt (gross/net)
-Not invoiced (gross/net)
-Pending to invoice taking into account the invoice term.

Add a new column with the invoice term of the order.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0008175 closedvmromanos Create Invoices from Orders: the amounts shown don't include taxes 

-  Notes
pmagnin (reporter)
2009-03-24 13:34

This behavior is standard in Openbravo, the application is showing the total gross sales order amount and the total pending gross amount to be invoiced (without any consideration of invoice term).

For example:
Sales Order: 10 bicycles for 1000 euros (Invoice Term=After Delivery)
Shipment: 5 bicycles
Sales Invoice (Manual): 2 bicycles (200 euros)

Create Invoice from Order:
Lines amt=1000
Not Invoiced=800

This information is correct, but does not show the “Pending Invoiced Amount”. In this case 0 euros because I didn’t receive more than the 200 first bicycles. But the process is working fine: If you click on the ‘Process’ Button, you won’t create any invoice.

I would recommend complementing the current information and adding a column to improve the interpretation:

1) Change column title “Lines amt” by “Total Gross Amt”
2) Change “Not Invoiced” by “Total Gross Amt not invoiced”
3) Add “Total Gross Amt pending to be invoiced”

For this column, the calculation will depend on the Invoice term, the process the lines with an amount of 0 (zero).
If I receive 2 new bicycles from the same sales order and go to “Create Invoice from Order”, the new information will be:

Total Gross Amt =1000
Total Gross Amt not invoiced =800
Total Gross Amt pending to be invoiced=200
hgbot (developer)
2009-04-22 12:41

Repository: erp/devel/pi
Changeset: 03e9f606c46e9dfaa6ca001fd4dc93f1faa41ebd
Author: Víctor Martínez Romanos <victor.martinez <at>>
Date: Wed Apr 22 12:40:21 2009 +0200
URL: [^]

Fixed issue 8173 and 8175: Improved the Create Invoices from Orders window

M src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrderRecord_data.xsql
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html
M src/org/openbravo/erpCommon/ad_forms/
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.xml
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual_data.xsql

- Issue History
Date Modified Username Field Change
2009-03-17 18:37 jaimetorre New Issue
2009-03-17 18:37 jaimetorre Assigned To => rafaroda
2009-03-17 18:37 jaimetorre Regression testing => No
2009-03-17 18:39 jaimetorre Description Updated
2009-03-17 19:35 jaimetorre Tag Attached: tictech
2009-03-18 09:28 rafaroda version => 2.40MP1
2009-03-24 13:34 pmagnin Note Added: 0014897
2009-03-24 13:34 pmagnin Type defect => feature request
2009-03-24 13:37 gorkaion Relationship added related to 0008175
2009-03-24 13:44 gorkaion Steps to Reproduce Updated
2009-03-24 13:45 gorkaion Status new => acknowledged
2009-03-26 11:04 rafaroda Assigned To rafaroda => gmauleon
2009-04-02 12:36 vmromanos Assigned To gmauleon => vmromanos
2009-04-02 12:36 vmromanos Status acknowledged => scheduled
2009-04-02 12:36 vmromanos fix_in_branch => pi
2009-04-22 12:41 hgbot Checkin
2009-04-22 12:41 hgbot Note Added: 0015522
2009-04-22 12:41 hgbot Status scheduled => resolved
2009-04-22 12:41 hgbot Resolution open => fixed
2009-04-22 12:41 hgbot Fixed in SCM revision => [^]
2009-06-05 18:53 pjuvara Status resolved => closed
2009-06-06 00:00 anonymous sf_bug_id 0 => 2802026
2009-07-03 14:26 pjuvara Priority immediate => urgent

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker