Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027252 | Openbravo ERP | 07. Sales management | public | 2014-07-31 19:12 | 2014-12-30 23:23 |
|
Reporter | caristu | |
Assigned To | vmromanos | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q4 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | reinaldoguerra |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 29818 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027252: Invoice lines with products that doesn't belong to the natural tree of the organization in the header |
Description | It is possible to create invoice lines with products that doesn't belong to the natural tree of the organization in the header. |
Steps To Reproduce | 1) 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | duplicate of | defect | 0027076 | 3.0PR15Q1 | closed | AtulOpenbravo | Product defined for an organization can be used when creating purchase invoice belonging to different organization's tree | related to | defect | 0027253 | 3.0PR14Q4 | closed | shankarb | @additional_filters@ is not working as expected in HQL query selectors |
|
Attached Files | |
|
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 | OBNetwork customer | => Yes |
2014-07-31 19:12 | caristu | Modules | => Core |
2014-07-31 19:12 | caristu | Support ticket | => 29818 |
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 | bug_revision_view_page.php?rev_id=6224#r6224 |
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 | bug_revision_view_page.php?bugnote_id=0070849#r6765 |
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 | |
Notes |
|
|
|
|
(0070849)
|
caristu
|
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)
|
|
|
|
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
|
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
---
|
|
|
|
|