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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020072
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2012-03-21 12:222012-04-02 06:12
Reportergregor1comView Statuspublic 
Assigned Todalsasua 
PrioritynormalResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchpiFixed in SCM revision0d42d9f11307
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP6SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020072: accounting date inherited from sales order to sales invoice: incorrect

Description
If you create a sales order, book it and then create a sales invoice from the sales order automatically, the invoice date = the order date.

Take the situation where I create an order in March, then later raise the invoice for the order, say, in April, the date is inherited from March. This is incorrect because the order date does not represent the proper period for accounting on this customer transaction; the actual date when the invoice was raised would be.
Steps To Reproducesee above
Proposed Solution
1. The create invoice from orders process should be modified to default the current date rather than the order date.

2. The invoice date once copied, should be modifiable.

The reason is that the accounting date for the invoice may not be today just because I ran the process today. One needs the ability to modify the invoice date after it is created from the order.

3. The create invoice process should not automatically create an accounting transaction based on order information. The process should end with the requirement for the user to 'post'.

The reason is that today the order date is taken, the invoice is created with that date, and an accounting transaction is automatically posted.


TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0046743)
hgbot (developer)
2012-03-26 22:12

Repository: erp/devel/pi
Changeset: cd474abfc8be8d18c9799232b717e35c0fd83be1
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Mar 26 22:12:11 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cd474abfc8be8d18c9799232b717e35c0fd83be1 [^]

Fixes issue 20072. Added 'Create Invoices With Date' field

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.java
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.xml
---
(0046859)
hgbot (developer)
2012-03-28 18:29

Repository: erp/devel/pi
Changeset: 0d42d9f113076fba5154389180256db5e2512739
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Mar 28 16:56:09 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0d42d9f113076fba5154389180256db5e2512739 [^]

Fixes issue 20072. Moved 'Invoice Date' button. Dates validated when submitting

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html
---
(0046871)
vmromanos (manager)
2012-03-29 11:59

code review + testing OK

Test plan:
- Create a sales order. Invoice terms = Immediate
- Book it
- Go to Create Invoices from Orders
- Select previously created order
- Introduce a wrong date in Invoice Date field, example: adfsadf
- An error is displayed
- Press Process. It can't be process
- Introduce any valid date in the Invoice Date field
- Press Process. An invoice is created
- Go to the invoice and ensure the invoice date is equal to the one introduced

- Repeat the process but this time don't select any date in the invoice date field.
- The invoice date for the new invoice should be today.
(0047236)
hudsonbot (developer)
2012-04-02 06:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test
(0047262)
hudsonbot (developer)
2012-04-02 06:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-03-21 12:22 gregor1com New Issue
2012-03-21 12:22 gregor1com Assigned To => vmromanos
2012-03-21 12:22 gregor1com Modules => Core
2012-03-23 20:48 dmitry_mezentsev Assigned To vmromanos => dalsasua
2012-03-26 15:26 dalsasua Status new => scheduled
2012-03-26 15:26 dalsasua fix_in_branch => pi
2012-03-26 22:12 hgbot Checkin
2012-03-26 22:12 hgbot Note Added: 0046743
2012-03-26 22:12 hgbot Status scheduled => resolved
2012-03-26 22:12 hgbot Resolution open => fixed
2012-03-26 22:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cd474abfc8be8d18c9799232b717e35c0fd83be1 [^]
2012-03-28 18:29 hgbot Checkin
2012-03-28 18:29 hgbot Note Added: 0046859
2012-03-28 18:29 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/cd474abfc8be8d18c9799232b717e35c0fd83be1 [^] => http://code.openbravo.com/erp/devel/pi/rev/0d42d9f113076fba5154389180256db5e2512739 [^]
2012-03-29 11:59 vmromanos Note Added: 0046871
2012-03-29 11:59 vmromanos Status resolved => closed
2012-03-29 11:59 vmromanos Fixed in Version => 3.0MP9
2012-04-02 06:12 hudsonbot Checkin
2012-04-02 06:12 hudsonbot Note Added: 0047236
2012-04-02 06:12 hudsonbot Checkin
2012-04-02 06:12 hudsonbot Note Added: 0047262


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker