Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019260Openbravo ERP01. General setuppublic2011-12-07 12:092012-01-28 04:10
VictorVillar 
jecharri 
highminoralways
closedfixed 
5
 
3.0MP8 
Core
No
0019260: You can use credit generated from other organization with a common Business Partner
With a common Business Partner for two Organizations, you can use the credit generated from one organization with the other organization, if you are logged with a role that it can manage both.
As Group Admin role:
go to business partner window:
   - create a new one -> Organization: F&B España, S.A.
   - name: common
As F&B España, Finanzas, go to Sales Invoice:
   - Create a new invoice
         Org: España - Región Norte
         Business partner: common
   - Create a new line:
         Net unit price: 10
         Amount: 10
Complete it.
Click Add Payment In/Out button:
   - Actual amount: 2000
   - Leave the credit to be used later
Process it.

As F&B España, Finanzas, go to Sales Invoice:
   - Create a new invoice
         Org: España - Región Sur
         Business partner: common
   - Create a new line:
         Net unit price: 10
         Amount: 10
Complete it.

Click Add Payment In/Out button:
We can see that the available credit is 1990
It should be appear only the available credit for F&B España - Región Sur: 0, in this case.

        
No tags attached.
related to defect 0020097 closed mirurita java.lang.StackOverflowError as infinite loop occurs while calling OrganizationStructureProvider 
Issue History
2011-12-07 12:09VictorVillarNew Issue
2011-12-07 12:09VictorVillarAssigned To => jonalegriaesarte
2011-12-07 12:09VictorVillarModules => Core
2011-12-07 12:09VictorVillarResolution time => 1329433200
2012-01-16 13:07jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-01-23 18:14VictorVillarSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3079#r3079
2012-01-23 18:14VictorVillarIssue Monitored: networkb
2012-01-24 16:21hgbotCheckin
2012-01-24 16:21hgbotNote Added: 0044515
2012-01-24 16:21hgbotStatusnew => resolved
2012-01-24 16:21hgbotResolutionopen => fixed
2012-01-24 16:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8865bff7d417adcf8acc41655e9ca4a2876c0cd2 [^]
2012-01-24 16:44jecharriStatusresolved => new
2012-01-24 16:44jecharriResolutionfixed => open
2012-01-25 16:51hgbotCheckin
2012-01-25 16:51hgbotNote Added: 0044572
2012-01-25 16:51hgbotStatusnew => resolved
2012-01-25 16:51hgbotResolutionopen => fixed
2012-01-25 16:51hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/8865bff7d417adcf8acc41655e9ca4a2876c0cd2 [^] => http://code.openbravo.com/erp/devel/pi/rev/521a71d024edbdb45d997a7021dd28fae1eefa1a [^]
2012-01-25 18:04hudsonbotCheckin
2012-01-25 18:04hudsonbotNote Added: 0044581
2012-01-27 09:07VictorVillarNote Added: 0044623
2012-01-27 09:07VictorVillarStatusresolved => closed
2012-01-28 04:10hudsonbotCheckin
2012-01-28 04:10hudsonbotNote Added: 0044659
2012-04-02 13:56miruritaRelationship addedrelated to 0020097

Notes
(0044515)
hgbot   
2012-01-24 16:21   
Repository: erp/devel/pi
Changeset: 8865bff7d417adcf8acc41655e9ca4a2876c0cd2
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jan 24 16:20:40 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8865bff7d417adcf8acc41655e9ca4a2876c0cd2 [^]

Fixes issue 19260: You can use credit generated from other organization.
with this change the credit generated for BP is only available in the first organization that it is a legal entity (first legal entity father) or her sons.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0044572)
hgbot   
2012-01-25 16:51   
Repository: erp/devel/pi
Changeset: 521a71d024edbdb45d997a7021dd28fae1eefa1a
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jan 24 16:43:18 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/521a71d024edbdb45d997a7021dd28fae1eefa1a [^]

Fixes issue 19260: You can use credit generated from other organization.
with this change the credit generated for BP is only available in the first organization that it is a legal entity (first legal entity father) or her sons.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0044581)
hudsonbot   
2012-01-25 18:04   
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/e66cf6210386 [^]

Maturity status: Test
(0044623)
VictorVillar   
2012-01-27 09:07   
Verified
(0044659)
hudsonbot   
2012-01-28 04:10   
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/8e16ef45b30c [^]

Maturity status: Test