Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018387
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Localization Pack: Spain] Invoice Register Bookmajoralways2011-08-30 15:452011-09-20 12:53
ReporterpsanjuanView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1a988cf992ee
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0018387: Purchase and Sales Invoice Book should properly manage Reverse Purchase/Sales invoices

DescriptionPurchase and Sales Invoice Book should properly manage Reverse Purchase/Sales invoices.
These are new documents which should be properly manage by the Invoices Books.

This issue depends on 18386 issue related to Books setup. Once the setup is right for these new documents type, the books should properly manage as described in this issue.
Steps To ReproduceNavigate to Purchase Invoice and create a new purchase invoice (Transaction Document = AP Invoice).
Complete and Post.
Create a new purchase invoice (Transaction Document = Reverse Puchase Invoice) in order to partially reverse the purchase invoice previously created. Link the reverse invoice to the invoice being reversed in the Reversed Invoice tab.
Complete and Post.
Launch the Received Invoice Book and realize that the first invoice is properly shown but the second one is not.
Proposed SolutionThe reversed purchase invoice is not properly shown because:
- all the amounts but the tax rate should have negative amounts (same behaviour as negative AP Invoice and AP Credit Memo)
- and the "Tax Book Key" must always be "D". See image attached

same applies to reversed sales invoice. These ones are not properly managed because:
- all the amounts but the tax rate should be negative amounts (same behaviour as negative AR Invoice and AR Credit Memo).
- and the "Tax Book Key" must always be "D".
TagsNo tags attached.
Attached Filespng file icon 18384.png [^] (111,825 bytes) 2011-08-30 15:50


png file icon 18387_1.png [^] (89,183 bytes) 2011-08-30 17:58

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0018386 closedvmromanos Localization Pack: Spain This module should include purchase/sales tax rates linked to either "Reverse Purchase Invoice" and "Reversed Sales Invoice" 
related to backport 00187852.50MP36 closedmirurita Openbravo ERP Tax Payment process should properly manage Reverse Purchase/Sales invoices 

-  Notes
(0040775)
hgbot (developer)
2011-09-07 09:57

Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 1a988cf992ee03005cf8705fba5f4af6bcdf6ce2
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Sep 07 09:57:11 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1a988cf992ee03005cf8705fba5f4af6bcdf6ce2 [^]

Fixed bug 18387 in module version 1.2.8
Purchase and Sales Invoice Book should properly manage Reverse Purchase/Sales invoices
Incremented Core's dependency from 2.50.19232 (MP27EU1), where the IsReverse flag was created

---
M referencedata/standard/Negative_Credit_Memos_Alert.xml
M src-db/database/model/functions/OBIRB_GENERATE_CODE.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLinesDao.java
---
(0041079)
hgbot (developer)
2011-09-19 16:43

Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: fb6adae8f355db2eec3b0506cea9392d434683b3
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Sep 19 16:45:57 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/fb6adae8f355db2eec3b0506cea9392d434683b3 [^]

Issue 18387: Negative invoices appear again in the book

---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLinesDao.java
---
(0041094)
psanjuan (manager)
2011-09-19 19:07

it is working properly for Reversed Purchase Invoices but it is not working properly for Reversed Sales Invoices as these ones are not marked as "D".
(0041128)
psanjuan (manager)
2011-09-20 12:53

fixed and working

- Issue History
Date Modified Username Field Change
2011-08-30 15:45 psanjuan New Issue
2011-08-30 15:45 psanjuan Assigned To => jonalegriaesarte
2011-08-30 15:46 psanjuan Steps to Reproduce Updated View Revisions
2011-08-30 15:47 psanjuan Description Updated View Revisions
2011-08-30 15:47 psanjuan Relationship added depends on 0018386
2011-08-30 15:49 psanjuan Description Updated View Revisions
2011-08-30 15:49 psanjuan Steps to Reproduce Updated View Revisions
2011-08-30 15:49 psanjuan Proposed Solution updated
2011-08-30 15:50 psanjuan File Added: 18384.png
2011-08-30 16:01 psanjuan Proposed Solution updated
2011-08-30 17:58 psanjuan File Added: 18387_1.png
2011-08-31 10:23 psanjuan Type defect => feature request
2011-08-31 10:24 psanjuan Assigned To jonalegriaesarte => psanjuan
2011-08-31 10:25 psanjuan Assigned To psanjuan => dalsasua
2011-09-06 14:01 vmromanos Status new => scheduled
2011-09-06 14:01 vmromanos Assigned To dalsasua => vmromanos
2011-09-06 14:01 vmromanos fix_in_branch => pi
2011-09-07 09:57 hgbot Checkin
2011-09-07 09:57 hgbot Note Added: 0040775
2011-09-07 09:57 hgbot Status scheduled => resolved
2011-09-07 09:57 hgbot Resolution open => fixed
2011-09-07 09:57 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1a988cf992ee03005cf8705fba5f4af6bcdf6ce2 [^]
2011-09-19 16:43 hgbot Checkin
2011-09-19 16:43 hgbot Note Added: 0041079
2011-09-19 19:07 psanjuan Note Added: 0041094
2011-09-20 12:53 psanjuan Note Added: 0041128
2011-09-20 12:53 psanjuan Status resolved => closed
2011-09-20 12:53 psanjuan fix_in_branch pi =>
2011-10-17 11:41 maite Relationship added related to 0018785


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker