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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027252
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2014-07-31 19:122014-12-30 23:23
ReportercaristuView Statuspublic 
Assigned Tovmromanos 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionb22cd5e9d70d
ProjectionnoneETAnoneTarget Version3.0PR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toreinaldoguerra
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027252: Invoice lines with products that doesn't belong to the natural tree of the organization in the header

DescriptionIt is possible to create invoice lines with products that doesn't belong to the natural tree of the organization in the header.
Steps To Reproduce1) Login as F&B International Group Admin, create a new sales price list for F&B International Group. Set it as default.
2) Add one product from F&B España and another one from F&B US to the price list
3) Go to the [Sales Invoice] window and create a new record for F&B España
4) Go to the [Lines] tab and click on the product selector. Notice that it is possible to select the product from F&B US
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 00270763.0PR15Q1 closedAtulOpenbravo Product defined for an organization can be used when creating purchase invoice belonging to different organization's tree 
related to defect 00272533.0PR14Q4 closedshankarb @additional_filters@ is not working as expected in HQL query selectors 

-  Notes
(0070243)
vmromanos (manager)
2014-09-22 16:12

Duplicated of 0027076
(0070849)
caristu (developer)
2014-10-09 18:41
edited on: 2014-10-09 18:42

Still able to reproduce the issue in pi with the steps to reproduce (using F&B España as the organization in the context)

(0070888)
reinaldoguerra (developer)
2014-10-12 02:46

Test plan used:
1- Login into Openbravo ERP as F&B International Group Admin
2- Go to Price List window and create a new one for F&B International Group. Set it as default. Also check Sales price List flag.
3- Go to Price list version tab an create a new one named "Tarifa de ventas". Select a price list schema.
4- Go to product price tab and add one product from F&B España and another one from F&B US.
5- Go to the Sales Invoice window and create a new record for F&B España
6- Go to the Lines tab and click on the product selector.
7- Notice that only products in the same tree of the organization in the header are shown.
(0071100)
hgbot (developer)
2014-10-21 18:10

Repository: erp/devel/pi
Changeset: b22cd5e9d70de62dca4ce2964c479c4cd893a329
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Oct 21 18:07:45 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b22cd5e9d70de62dca4ce2964c479c4cd893a329 [^]

Fixed bug 27252: Invoice lines products don't belong to the org. header tree.

Sales invoice line product selector's HQL query base table was changed to Product table so the implicit filter by accessible Organizations is now applied for Product instead of ProductPrice.
Now the selector filters by products with organization in the same tree of the organization in the header. This change also affects other windows where this selector is used, like Purchase Invoice and APRM GL Item P&E windows.

---
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0072963)
hudsonbot (developer)
2014-12-30 23:23

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/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-07-31 19:12 caristu New Issue
2014-07-31 19:12 caristu Assigned To => dmiguelez
2014-07-31 19:12 caristu Modules => Core
2014-07-31 19:12 caristu Resolution time => 1405893600
2014-07-31 19:12 caristu Triggers an Emergency Pack => No
2014-07-31 19:13 caristu Issue Monitored: networkb
2014-07-31 19:37 caristu Resolution time 1405893600 => 1407967200
2014-07-31 19:37 caristu Assigned To dmiguelez => AtulOpenbravo
2014-07-31 19:37 caristu Relationship added related to 0027253
2014-07-31 19:39 caristu Steps to Reproduce Updated View Revisions
2014-07-31 19:42 caristu Resolution time 1407967200 => 1408658400
2014-09-22 16:09 vmromanos Relationship added related to 0027076
2014-09-22 16:12 vmromanos Review Assigned To => vmromanos
2014-09-22 16:12 vmromanos Relationship replaced duplicate of 0027076
2014-09-22 16:12 vmromanos Note Added: 0070243
2014-09-22 16:12 vmromanos Status new => closed
2014-09-22 16:12 vmromanos Resolution open => duplicate
2014-10-09 18:41 caristu Note Added: 0070849
2014-10-09 18:41 caristu Status closed => new
2014-10-09 18:41 caristu Resolution duplicate => open
2014-10-09 18:42 caristu Note Edited: 0070849 View Revisions
2014-10-12 02:46 reinaldoguerra Assigned To AtulOpenbravo => reinaldoguerra
2014-10-12 02:46 reinaldoguerra Status new => scheduled
2014-10-12 02:46 reinaldoguerra Note Added: 0070888
2014-10-21 18:05 vmromanos Assigned To reinaldoguerra => vmromanos
2014-10-21 18:05 vmromanos Review Assigned To vmromanos => reinaldoguerra
2014-10-21 18:10 hgbot Checkin
2014-10-21 18:10 hgbot Note Added: 0071100
2014-10-21 18:10 hgbot Status scheduled => resolved
2014-10-21 18:10 hgbot Resolution open => fixed
2014-10-21 18:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b22cd5e9d70de62dca4ce2964c479c4cd893a329 [^]
2014-10-22 04:59 reinaldoguerra Status resolved => closed
2014-10-22 04:59 reinaldoguerra Fixed in Version => pi
2014-12-30 23:23 hudsonbot Checkin
2014-12-30 23:23 hudsonbot Note Added: 0072963


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker