Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020072 | Openbravo ERP | 07. Sales management | public | 2012-03-21 12:22 | 2012-04-02 06:12 |
|
Reporter | gregor1com | |
Assigned To | dalsasua | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0MP6 | |
Target Version | | Fixed in Version | 3.0MP9 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
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 Reproduce | see 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.
|
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | |
Notes |
|
(0046743)
|
hgbot
|
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
|
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
---
|
|
|
|
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. |
|
|
|
|
|
|
|