Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0037222 | Openbravo ERP | 03. Procurement management | public | 2017-11-03 15:08 | 2021-08-09 15:09 |
|
| Reporter | ngarcia | |
| Assigned To | nonofrancisco | |
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | 3.0PR18Q1 | |
| Merge Request Status | |
| Review Assigned To | dmiguelez |
| OBNetwork customer | OBPS |
| Web browser | |
| Modules | Core |
| Support ticket | 49286 |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0037222: Goods receipt created with Generate Receipt From Invoice still linked to the invoice after reactivating and deleting its lines |
| Description | Goods receipt created with Generate Receipt From Invoice still linked to the invoice after reactivating and deleting its lines
C_INVOICE_ID column of M_INOUT table keeps the relation with the original invoice |
| Steps To Reproduce | As system admin role:
Set as Generate Receipt From Invoice field displayed in Purchase Invoice window
Compile and restart tomcat
As group admin role:
Create a Purchase Invoice, add a line to it and complete it
Generate Receipt From Invoice
Reactivate the Purchase Invoice, delete its lines and change its business partner
Add a new product and complete it
Go to Goods Receipt window, create a header and select this invoice in Create Lines From process
Complete the goods receipt
Check the Purchase Invoice is linked to both Goods Receipts (Linked Items) |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2017-11-03 15:08 | ngarcia | New Issue | |
| 2017-11-03 15:08 | ngarcia | Assigned To | => Triage Finance |
| 2017-11-03 15:08 | ngarcia | OBNetwork customer | => Yes |
| 2017-11-03 15:08 | ngarcia | Modules | => Core |
| 2017-11-03 15:08 | ngarcia | Support ticket | => 49286 |
| 2017-11-03 15:08 | ngarcia | Resolution time | => 1511478000 |
| 2017-11-03 15:08 | ngarcia | Triggers an Emergency Pack | => No |
| 2017-11-03 15:09 | ngarcia | Issue Monitored: networkb | |
| 2017-11-06 11:00 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo |
| 2017-11-06 21:07 | nonofrancisco | Assigned To | AtulOpenbravo => nonofrancisco |
| 2017-11-06 21:08 | nonofrancisco | Status | new => scheduled |
| 2017-11-07 15:47 | nonofrancisco | Note Added: 0100310 | |
| 2017-11-13 16:38 | hgbot | Checkin | |
| 2017-11-13 16:38 | hgbot | Note Added: 0100497 | |
| 2017-11-13 16:38 | hgbot | Status | scheduled => resolved |
| 2017-11-13 16:38 | hgbot | Resolution | open => fixed |
| 2017-11-13 16:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d8e4486f08d768a164cfcaba0d766a956465d680 [^] |
| 2017-11-13 16:39 | dmiguelez | Review Assigned To | => dmiguelez |
| 2017-11-13 16:39 | dmiguelez | Note Added: 0100498 | |
| 2017-11-13 16:39 | dmiguelez | Status | resolved => closed |
| 2017-11-13 16:39 | dmiguelez | Fixed in Version | => 3.0PR18Q1 |
| 2018-01-03 12:38 | hudsonbot | Checkin | |
| 2018-01-03 12:38 | hudsonbot | Note Added: 0101416 | |
| 2021-07-21 10:57 | hgbot | Note Added: 0130643 | |
| 2021-08-09 15:09 | hgbot | Note Added: 0131044 | |
|
Notes |
|
|
|
Test Plan:
As system admin role:
Set as Generate Receipt From Invoice field displayed in Purchase Invoice window
Do ant compile.complete and restart tomcat
As group admin role:
- Create a Purchase Invoice
Organization: F&B España - Región Norte
Business Partner: Bebidas Alegres, S.L.
- Create a line
Product: Cerveza Ale 0,5L
- Complete the document
- Generate Receipt From Invoice
- Go to Linked Item section of Purchase Invoice and verify there is only one link to Goods Receipt - Header pointing to the receipt created previously
- Reactivate the Purchase Invoice, delete its lines and change its business partner to Refrescos Naturales, S.A.
- Create a line
Product: Agua sin Gas 1L
- Complete the document
- Go to Linked Item section of Purchase Invoice and verify there is no link to Goods Receipt
- Create a new Goods Receipt
Business Partner: Refrescos Naturales, S.A.
- Use Create Lines From process to add a line to Goods Receipt
Business Partner: Refrescos Naturales, S.A.
Invoice: The one previously created
- Complete the goods receipt
- Go to Purchase Invoice Window
- Go to Linked Item section of previously created Purchase Invoice and verify there is only one link to Goods Receipt - Header pointing to the last receipt created |
|
|
|
(0100497)
|
|
hgbot
|
|
2017-11-13 16:38
|
|
Repository: erp/devel/pi
Changeset: d8e4486f08d768a164cfcaba0d766a956465d680
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Mon Nov 13 13:27:49 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d8e4486f08d768a164cfcaba0d766a956465d680 [^]
Fixes issue 37222: Goods receipt created with Generate Receipt From Invoice still
linked to the invoice after reactivating and deleting its lines
When deleting all lines of Purchase Invoice, if exists a Good Receipt referencing
that invoice, the reference is removed.
---
M src/org/openbravo/event/InvoiceLineEventHandler.java
---
|
|
|
|
|
|
|
|
|
|
|
|
(0130643)
|
|
hgbot
|
|
2021-07-21 10:57
|
|
|
|
|
(0131044)
|
|
hgbot
|
|
2021-08-09 15:09
|
|
|