Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020736Openbravo ERP09. Financial managementpublic2012-06-12 14:352012-06-12 18:51
psanjuan 
jecharri 
immediatemajoralways
closedfixed 
20Ubuntu 8.04.1
3.0MP10 
3.0MP12 
Google Chrome
Core
Production - Confirmed Stable
2012-03-23
yes
0020736: "Return" check box which can be found in the "Document Type" window is not working
"Return" check box which can be found in the "Document Type" window is not working.

Return check box if selected makes that a document can not be positive but negative, but that behaviour is not currently working.
Navigate to Document type window and make sure that both Reverse Purchase Invoice and Reverse Sales Invoice documents are set up as described below:
- Return flag as YES
- Credit Memo flag as NO

Create a new sales invoice by choosing "Reverse Sales Invoice" transaction type.
Enter one or few lines with positive amounts, I mean positive invoiced quantity and net unit price.
Complete and Post the invoice.
Openbravo allow us to do so without any warning.

Same applies to Reverse Purchase Invoice
Openbravo should not allow us to complete a Reverse Sales/Purchase Invoice marked as "Return" YES while having positive amounts.
Regression
Issue History
2012-06-12 14:35psanjuanNew Issue
2012-06-12 14:35psanjuanAssigned To => jecharri
2012-06-12 14:35psanjuanWeb browser => Google Chrome
2012-06-12 14:35psanjuanModules => Core
2012-06-12 14:37psanjuanWeb browserGoogle Chrome => Google Chrome
2012-06-12 14:37psanjuanNote Added: 0049769
2012-06-12 15:35psanjuanWeb browserGoogle Chrome => Google Chrome
2012-06-12 15:35psanjuanRegression level => Production - Confirmed Stable
2012-06-12 15:48jecharriTag Attached: Regression
2012-06-12 15:49jecharriWeb browserGoogle Chrome => Google Chrome
2012-06-12 15:49jecharriResolution time => 1339452000
2012-06-12 15:49jecharriRegression date => 2012-03-23
2012-06-12 15:49jecharriRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/01288f09856b9ad804a62351a445b836d541980c [^]
2012-06-12 15:51hgbotCheckin
2012-06-12 15:51hgbotNote Added: 0049772
2012-06-12 15:51hgbotStatusnew => resolved
2012-06-12 15:51hgbotResolutionopen => fixed
2012-06-12 15:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/487d0f5b997e24c95a86f90c9841f015e956fba9 [^]
2012-06-12 16:00jecharriStatusresolved => new
2012-06-12 16:00jecharriResolutionfixed => open
2012-06-12 16:01jecharriWeb browserGoogle Chrome => Google Chrome
2012-06-12 16:01jecharriversion => 3.0MP10
2012-06-12 16:01jecharriStatusnew => scheduled
2012-06-12 16:01jecharrifix_in_branch => pi
2012-06-12 16:01jecharriStatusscheduled => resolved
2012-06-12 16:01jecharriResolutionopen => fixed
2012-06-12 18:51VictorVillarNote Added: 0049780
2012-06-12 18:51VictorVillarStatusresolved => closed

Notes
(0049769)
psanjuan   
2012-06-12 14:37   
This bug is a regression.
(0049772)
hgbot   
2012-06-12 15:51   
Repository: erp/devel/pi
Changeset: 487d0f5b997e24c95a86f90c9841f015e956fba9
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 12 15:51:15 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/487d0f5b997e24c95a86f90c9841f015e956fba9 [^]

Fixes issue 20736: "Return" check box which can be found in the "Document Type" window is not working

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0049780)
VictorVillar   
2012-06-12 18:51   
Verified