Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020135Openbravo ERP02. Master data managementpublic2012-03-28 12:572012-04-17 05:31
naiaramartinez 
naiaramartinez 
normalminorhave not tried
closedfixed 
5
 
3.0MP11 
Core
No
0020135: In Org Schema tab (Organization window) doesn't mind if the record is actived or not.
In Organization window, Org Schema tab altough there are records that are not actived, they are using as if they were actived.
Go to:
  Organization window.
  Select 'F&B International Group' organization.
  Go to Org Schema tab.
  Create new record with 'F&B US, Inc. US/A/US Dollar' accounting schema. Put it as not active, and select 'create new account for BP'.
  Go to the header again and select 'F&B US, Inc.'.
  Go to org schema and create new record with 'F&B US, Inc. US/A/US Dollar' accounting schema and select 'create new account for BP'.
  
  Go to Business Partner.
  Create a new record. Set organziation as F&B US, Inc. Save it.
  Go to 'customer' tab, and then to 'customer accounting' tab.
  You can see that is not doing what you marked in F&B US, Inc. organziation. It is doing what you marked in 'F&B International Group', althoug its org schema were not actived.

  It is happing the same thing when creating product, if in org schema you check 'create new account for product'.
 
No tags attached.
Issue History
2012-03-28 12:57naiaramartinezNew Issue
2012-03-28 12:57naiaramartinezAssigned To => vmromanos
2012-03-28 12:57naiaramartinezModules => Core
2012-03-28 12:57naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-03-28 13:14naiaramartinezDescription Updatedbug_revision_view_page.php?rev_id=3312#r3312
2012-03-28 13:14naiaramartinezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3314#r3314
2012-03-28 13:33naiaramartinezNote Added: 0046830
2012-04-11 15:41vmromanosStatusnew => scheduled
2012-04-11 15:41vmromanosNote Added: 0047487
2012-04-11 15:41vmromanosfix_in_branch => pi
2012-04-11 15:46hgbotCheckin
2012-04-11 15:46hgbotNote Added: 0047488
2012-04-11 15:46hgbotStatusscheduled => resolved
2012-04-11 15:46hgbotResolutionopen => fixed
2012-04-11 15:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3b0e35644574045f3776a240a6c839883396a18b [^]
2012-04-11 15:48vmromanosNote Added: 0047489
2012-04-11 15:48vmromanosStatusresolved => closed
2012-04-11 15:48vmromanosFixed in Version => 3.0MP11
2012-04-17 05:31hudsonbotCheckin
2012-04-17 05:31hudsonbotNote Added: 0047628

Notes
(0046830)
naiaramartinez   
2012-03-28 13:33   
Test Plan:
  Go to:
  Organization window.
  Select 'F&B International Group' organization.
  Go to Org Schema tab.
  Create new record with 'F&B US, Inc. US/A/US Dollar' accounting schema. Put it as not active, and select 'create new account for BP'.
  Go to the header again and select 'F&B US, Inc.'.
  Go to org schema and create new record with 'F&B US, Inc. US/A/US Dollar' accounting schema and select 'create new account for BP'.
  
  Go to Business Partner.
  Create a new record. Set organziation as F&B US, Inc. Save it.
  Go to 'customer' tab, and then to 'customer accounting' tab.
  You can see that is doing what you marked in F&B US, Inc. organziation.
(0047487)
vmromanos   
2012-04-11 15:41   
Alternative test plan:

Go to:
  Organization window.
  Select 'F&B International Group' organization.
  Go to Org Schema tab.
  Create new record with 'F&B US, Inc. US/A/US Dollar' accounting schema. Put it as not active, and select 'create new account for Product'. Select any sequence and enter 10 and 20 as account and subaccount length
  
  Go to product window and create a new product for F&B US inc and save it
  Go to accounting tab and ensure no record for F&B US, Inc. US/A/US Dollar accounting schema has been created
  Go back to organization window. Select F&B International Group organization
  Go to org schema tab and select the previous created record. Activate it
  Go to product window and create a new record
  Check the accounting tab has the line related to the F&B US, Inc. US/A/US Dollar accounting schema
(0047488)
hgbot   
2012-04-11 15:46   
Repository: erp/devel/pi
Changeset: 3b0e35644574045f3776a240a6c839883396a18b
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Apr 03 12:14:41 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3b0e35644574045f3776a240a6c839883396a18b [^]

fixed bug 20135 Added isActive validation in c_bpartner_trg and m_product_trg

---
M src-db/database/model/triggers/C_BPARTNER_TRG.xml
M src-db/database/model/triggers/M_PRODUCT_TRG.xml
---
(0047489)
vmromanos   
2012-04-11 15:48   
code review + testing OK
(0047628)
hudsonbot   
2012-04-17 05:31   
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/cedf57621434 [^]

Maturity status: Test