Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021977Openbravo ERP02. Master data managementpublic2012-10-17 17:382012-11-21 06:06
naiaramartinez 
pramakrishnan 
normaltrivialhave not tried
closedfixed 
5
 
 
Core
No
0021977: Copy accounts from Product Category window is not working properly
Copy accounts process from Product Category window is not working properly. When you are copying accounts and in the pop you select:
  Accounting schema: F&B España, S.A. US/A/Euro'
  Product Category: Bio

The process copies this account for all the products that have the product category you selected in the pop up, although the product is defined for USA organization.
Go to Product Category window and create new record:
  Organization: F&B International Group
  Search Key: Cat_Test
  Name: Cat_Test

Go to Product window and create two new records:
  Organization: F&B US, Inc.
  Search Key: Usa_Prod
  Name: Usa_Prod
  Product Category: Cat_Test

  Organization: F&B España, S.A
  Search Key: Sp_Prod
  Name: Sp_Prod
  Product Category: Cat_Test

Go back to Product Category window. Select newly created category and go to Accounting tab.
Press Copy Accounts button. In the pop up set:
  Product Category: Cat_Test
  Accountg Schema: F&B España, S.A. US/A/Euro

Press OK.

Go back to product window - accounting tab.
Realize that for product 'Sp_Prod' the process work correctly.
Notice that for product 'Usa_Prod' the process has created a new accounting schema for F&B España, when it shouldn't.
   
  
  

  
No tags attached.
Issue History
2012-10-17 17:38naiaramartinezNew Issue
2012-10-17 17:38naiaramartinezAssigned To => dmiguelez
2012-10-17 17:38naiaramartinezModules => Core
2012-11-09 14:10pramakrishnanAssigned Todmiguelez => pramakrishnan
2012-11-09 14:11pramakrishnanStatusnew => scheduled
2012-11-09 14:11pramakrishnanfix_in_branch => pi
2012-11-09 14:19pramakrishnanNote Added: 0054127
2012-11-13 15:40hgbotCheckin
2012-11-13 15:40hgbotNote Added: 0054202
2012-11-13 15:40hgbotStatusscheduled => resolved
2012-11-13 15:40hgbotResolutionopen => fixed
2012-11-13 15:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5e630e9025c78a05318a8c714b5f5c09cce980a7 [^]
2012-11-13 15:41SandrahuguetNote Added: 0054204
2012-11-13 15:42SandrahuguetStatusresolved => closed
2012-11-21 06:06hudsonbotCheckin
2012-11-21 06:06hudsonbotNote Added: 0054374

Notes
(0054127)
pramakrishnan   
2012-11-09 14:19   
Test Plan:

Login as Openbravo/openbravo

Create a new Product Category

"Organization":F&B International Group
"Search Key":Test
"Name":Test

Create a Product

"Organization":F&B España, S.A
"Search Key":T1
"Name":Test1
"Product Category":Test

Create another Product

"Organization":F&B US, Inc.
"Search Key":T2
"Name":Test2
"Product Category":Test

Navigate to Product Category.
Select the category "Test"
Go to Accounting Tab
Click "Copy Accounts" Button
Select General Ledger as "F&B España, S.A. US/A/Euro"
Click Ok
Notice that the Product "Test1" gets updated


Click "Copy Accounts" Button
Select General Ledger as "F&B International Group US/A/US Dollar"
Click Ok
Notice that both the Products "Test1" and "Test2" get updated

Now, delete the records in the accounting tab for both the products in Product->Accounting
Go back to the Product Category and Click "Copy Accounts" button
Select General Ledger as "F&B International Group US/A/US Dollar"
Click Ok
Notice that the accounts are copied for both the Products "Test1" and "Test2"

Click "Copy Accounts" button
Select General Ledger as "F&B España, S.A. US/A/Euro"
Click Ok
Notice that the accounts are copied only for the Product "Test1"
(0054202)
hgbot   
2012-11-13 15:40   
Repository: erp/devel/pi
Changeset: 5e630e9025c78a05318a8c714b5f5c09cce980a7
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Fri Nov 09 14:30:48 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5e630e9025c78a05318a8c714b5f5c09cce980a7 [^]

Fixes Issue 21977: Copy accounts from Product Category is not working properly

---
M src-db/database/model/functions/M_PRODUCT_CATEGORY_ACCT_COPY.xml
---
(0054204)
Sandrahuguet   
2012-11-13 15:41   
Code review + testing OK
(0054374)
hudsonbot   
2012-11-21 06:06   
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/c3c5e61b0164 [^]

Maturity status: Test