Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019925Openbravo ERP09. Financial managementpublic2012-02-29 17:312012-03-16 09:34
malsasua 
ioritzCia 
highmajoralways
closedfixed 
20Community Appliance
 
2.50MP40 
Google Chrome
Core
No
0019925: diferents organizations in gl journal - gl journal line
when you create a gl journal, you create a new gl journal batch with organization orgA.
after, you create a gl journal
After that, you change the gl journal batch organization to orgB, and you create a gl journal line.
The organization of gl journal line is created with organization orgB

then, you can process and post the gl journal, but you can not unpost it
. create gl journal batch with orgA
. create gl journal
. change the gl journal batch organization to org B
. create gl journal line
. process and post

. to unpost, 0 lines are deleted
No tags attached.
blocks defect 00199243.0MP10 closed ioritzCia diferents organizations in gl journal - gl journal line 
Issue History
2012-02-29 17:32malsasuaTypedefect => backport
2012-02-29 17:32malsasuafix_in_branch => 2.50
2012-03-02 17:30eduardo_ArgalAssigned Tovmromanos => jonalegriaesarte
2012-03-06 18:07jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-03-06 18:08jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2012-03-06 18:08jonalegriaesarteTarget Version => 2.50MP40
2012-03-13 18:06hgbotCheckin
2012-03-13 18:06hgbotNote Added: 0046366
2012-03-13 18:06hgbotStatusscheduled => resolved
2012-03-13 18:06hgbotResolutionopen => fixed
2012-03-13 18:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/b33375a4ffc325169f0db4c367d05e50d195bee7 [^]
2012-03-15 10:13hgbotCheckin
2012-03-15 10:13hgbotNote Added: 0046439
2012-03-16 09:34malsasuaNote Added: 0046499
2012-03-16 09:34malsasuaStatusresolved => closed

Notes
(0046366)
hgbot   
2012-03-13 18:06   
Repository: erp/stable/2.50
Changeset: b33375a4ffc325169f0db4c367d05e50d195bee7
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Mar 13 13:26:25 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/b33375a4ffc325169f0db4c367d05e50d195bee7 [^]

Fixes issue 19925: diferents organizations in gl journal - gl journal line.

---
M src-db/database/model/functions/GL_JOURNAL_POST.xml
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0046439)
hgbot   
2012-03-15 10:13   
Repository: erp/stable/2.50
Changeset: 13fd36438dfbb1c311a4e74ff0cb4d5eef62dd76
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Mar 15 10:11:55 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/13fd36438dfbb1c311a4e74ff0cb4d5eef62dd76 [^]

Related to issue 19925: diferents organizations in gl journal - gl journal line.

---
M src-db/database/model/functions/GL_JOURNAL_POST.xml
---
(0046499)
malsasua   
2012-03-16 09:34   
rev: 2.50.19817
test plan:
 1 . gl_journal_batch org main
   . gl_journal org main
   . line org A
   . process: OK
   . post and unpost: OK
 2 . gl_journal_batch org main
   . gl_journal org A
   . line org main
   . process: error is returned
 3 . gl_journal_batch org A
   . gl_journal org main
   . line org main
   . process: error is returned

code review: OK