Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020011Openbravo ERP07. Sales managementpublic2012-03-13 15:562012-04-02 06:11
vmromanos 
vmromanos 
normalminoralways
closedfixed 
20Debian 5.0
 
pi 
Core
No
0020011: Financial Invoices: Financial Invoice line checkbox and Account field not editable for completed invoices
The following fields should not be editable in case of a completed sales/purchase invoice:

- Financial Invoice line
- Account

They can be found in sales/purchase invoice lines.
1) Create a sales invoice header
2) Create a financial invoice line, checking Financial invoice line check-box
3) Go back to the invoice header and Complete it.
4) Check both fields can changed
Make these fields readonly for a completed invoice
No tags attached.
related to defect 0014890 closed vmromanos Voided financial invoice leads to non financial invoice 
Issue History
2012-03-13 15:56vmromanosNew Issue
2012-03-13 15:56vmromanosAssigned To => vmromanos
2012-03-13 15:56vmromanosModules => Core
2012-03-13 15:56vmromanosRelationship addedrelated to 0014890
2012-03-13 17:33vmromanosStatusnew => scheduled
2012-03-13 17:33vmromanosNote Added: 0046364
2012-03-13 17:33vmromanosfix_in_branch => pi
2012-03-21 17:59hgbotCheckin
2012-03-21 17:59hgbotNote Added: 0046619
2012-03-21 17:59hgbotStatusscheduled => resolved
2012-03-21 17:59hgbotResolutionopen => fixed
2012-03-21 17:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fb957e0cc01e018f570fbcfa8e6fb6adefb8e979 [^]
2012-03-21 18:17eduardo_ArgalNote Added: 0046624
2012-03-21 18:17eduardo_ArgalStatusresolved => closed
2012-04-02 06:11hudsonbotCheckin
2012-04-02 06:11hudsonbotNote Added: 0047194

Notes
(0046364)
vmromanos   
2012-03-13 17:33   
No regression risk

Test plan:

1) Create a sales invoice header
2) Create a financial invoice line:
   2.1. checking Financial invoice line check-box (more information section)
   2.2. select a previously created GL item inside the Account field (The GL Item must be defined as "Enable is Financial invoices")
   2.3. Inside the net unit price field, introduce any amount
3) Complete the invoice
4) Click the Reactivate button and select "Void" and process it
5) Check Financial Invoice Line and Account are readonly
(0046619)
hgbot   
2012-03-21 17:59   
Repository: erp/devel/pi
Changeset: fb957e0cc01e018f570fbcfa8e6fb6adefb8e979
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Mar 13 17:37:53 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fb957e0cc01e018f570fbcfa8e6fb6adefb8e979 [^]

Fixed bug 20011: financial invoice read only logic
Financial Invoice line checkbox and Account field are not editable
for processed invoices

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0046624)
eduardo_Argal   
2012-03-21 18:17   
testes and working fine
(0047194)
hudsonbot   
2012-04-02 06:11   
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