Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006709Openbravo ERP09. Financial managementpublic2008-12-21 23:002009-04-21 12:36
jreymol 
iperdomo 
urgentcriticalalways
closedfixed 
20rPath Linux
 
 
Core
No
0006709: On Purchase Invoice Post command button remain activated after post process
While executing Test Case ID 1057 I see that Post command button remains active after post process.

So I can post the same Purchase Invoice clicking on it getting a new accounting journal entry every time.


Go to Procurement Management > Purchase invoice
Create a new Purchase Invoice.
Create a line for this invoice.
Go to header tab and complete the invoice.
Post the invoice.
Go back to the header of this invoice. The post button remains in 'Post', but it should be 'unpost'.
Click again the button. The invoice is posted for second time.

No tags attached.
Issue History
2008-12-21 23:00jreymolNew Issue
2008-12-21 23:00jreymolAssigned To => rafaroda
2008-12-21 23:00jreymolsf_bug_id0 => 2456701
2008-12-22 13:02pheenanAssigned Torafaroda => AinhoaPagola
2008-12-22 13:03pheenanNote Added: 0011649
2008-12-22 13:03pheenanStatusnew => acknowledged
2008-12-22 18:22AinhoaPagolaDescription Updated
2008-12-22 18:22AinhoaPagolaProposed Solution updated
2008-12-22 18:23AinhoaPagolaNote Added: 0011678
2008-12-22 18:23AinhoaPagolaAssigned ToAinhoaPagola => eduardo_Argal
2008-12-23 07:44pjuvaraPrioritynormal => urgent
2008-12-23 07:44pjuvaraProposed Solution updated
2009-01-08 13:10eduardo_ArgalNote Added: 0011983
2009-01-08 13:10eduardo_ArgalAssigned Toeduardo_Argal => iperdomo
2009-01-09 14:02iperdomoStatusacknowledged => scheduled
2009-01-09 14:02iperdomofix_in_branch => trunk
2009-01-13 11:52svnbotCheckin
2009-01-13 11:52svnbotNote Added: 0012138
2009-01-13 11:52svnbotStatusscheduled => resolved
2009-01-13 11:52svnbotResolutionopen => fixed
2009-01-13 11:52svnbotsvn_revision => 11816
2009-04-21 12:36psarobeStatusresolved => closed

Notes
(0011649)
pheenan   
2008-12-22 13:03   
Ainhoa,

I have verified that this issue is reproduceable.

Phil
(0011678)
AinhoaPagola   
2008-12-22 18:23   
This also happens for other documents, such as sales invoice.
(0011983)
eduardo_Argal   
2009-01-08 13:10   
This problem happends with any document when posting it. The problem is that the behaviour of this process (Posted) is hardcoded, and does not behave as other buttons, so the autosave feature is not adapted for this fact. If you deactivate autosave the problem disappears.
(0012138)
svnbot   
2009-01-13 11:52   
Repository: openbravo
Revision: 11816
Author: iperdomo
Date: 2009-01-13 11:52:01 +0100 (Tue, 13 Jan 2009)

Fixes issue 6709: Added special case to not forward requests on DIRECT commands

---
U trunk/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11816&sc=1 [^]