Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021447Openbravo ERP09. Financial managementpublic2012-08-24 15:072012-09-26 17:18
pjuvara 
ngarcia 
normalmajoralways
closedfixed 
5
3.0MP12.1 
 
caristu
Core
No
0021447: Accounting Schema defaults for returns do not work
As part of the RMA project, we have added two fields to the accounting configuration:
1) Product Revenue Return
2) Product COGS Return

These fields have been added to:
- Accounting Schema
- Product Category
- Product

If you define them as part of the accounting schema, when you define a new product category, they should be defaulted from the defaults. That does not work.
1) Ensure that Accounting Schema Defaults are set for return account
2) Create a new product category
Ensure that the propagation works correctly from Defaults -> Product Category -> Product.

Although this defect is about Defaults -> Product Category, please make sure that it also works from Product Category -> Product.

Additionally, please make sure that Copy Accounts (which resets the defaults for existing categories and existing products) also works properly.
Coworking
Issue History
2012-08-24 15:07pjuvaraNew Issue
2012-08-24 15:07pjuvaraAssigned To => mirurita
2012-08-24 15:07pjuvaraModules => Core
2012-08-24 15:07pjuvaraTag Attached: Coworking
2012-08-27 12:37naiaramartinezAssigned Tomirurita => jonalegriaesarte
2012-08-29 09:42jonalegriaesarteAssigned Tojonalegriaesarte => ngarcia
2012-09-07 11:25hgbotCheckin
2012-09-07 11:25hgbotNote Added: 0051919
2012-09-07 11:25hgbotStatusnew => resolved
2012-09-07 11:25hgbotResolutionopen => fixed
2012-09-07 11:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eee95a10d2d7b15793eed0e83ec7d1619751be35 [^]
2012-09-11 13:24ngarciaNote Added: 0051991
2012-09-21 14:24caristuClosed by => caristu
2012-09-21 14:24caristuNote Added: 0052288
2012-09-21 14:24caristuStatusresolved => closed
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052705

Notes
(0051919)
hgbot   
2012-09-07 11:25   
Repository: erp/devel/pi
Changeset: eee95a10d2d7b15793eed0e83ec7d1619751be35
Author: Naiara Garcia <naiara.garcia <at> openbravo.com>
Date: Fri Aug 31 12:29:30 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eee95a10d2d7b15793eed0e83ec7d1619751be35 [^]

Fixed issue 21447: Accounting Schema defaults for returns do not work

---
M src-db/database/model/triggers/M_PRODUCT_CATEGORY_TRG.xml
M src-db/database/model/triggers/M_PRODUCT_TRG.xml
---
(0051991)
ngarcia   
2012-09-11 13:24   
Testing plan:
   As group admin role:
      Go to the Accounting Schema window and set the default values for the following accounts for F&B España, S.A. US/A/Euro:
         Product Revenue Return
         Product COGS Return
      Create a new product category for an organization of F&B España
      Check if the value of that two accounts has been copied in the Accounting Tab
      Create a new product of that category for an organization of F&B España
      Check if the value of that two accounts has been copied in the Accounting Tab

      Additionally,
      Go to the Accounting Schema window and change the default values for the following accounts for F&B España, S.A. US/A/Euro:
         Product Revenue Return
         Product COGS Return
      Click on the Copy Accounts button
      Check that the new values have been propagated to the product categories
      Go to the previous created product category
      Click on the Copy Accounts button
      Check that the new values have been propagated to the previous defined product
(0052288)
caristu   
2012-09-21 14:24   
Verified
(0052705)
hudsonbot   
2012-09-26 17:18   
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/b780e90c6452 [^]

Maturity status: Test