[jira] [Commented] (OFBIZ-6802) be able to set accounting company in the header, remove from accounting, so other components can change it too.

2016-01-28 Thread Hans Bakker (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122728#comment-15122728
 ] 

Hans Bakker commented on OFBIZ-6802:


I tested the patch according the test instructions and it works well.

When the patch is applied there is no visible change in the ofbiz user 
interface when there is only a single accounting company. It becomes only 
visible when there is more than one in the header of all themes where it will 
show the current selected accounting company.

Also the accounting company list in accounting is not changed (yet).

Please provide your comments, when there are no objections, i will commit this 
change in a week.

> be able to set accounting company in the header, remove from accounting, so 
> other components can change it too.
> ---
>
> Key: OFBIZ-6802
> URL: https://issues.apache.org/jira/browse/OFBIZ-6802
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Affects Versions: Trunk
> Environment: any
>Reporter: Hans Bakker
> Attachments: OFBIZ-6802-fix.patch, OFBIZ-6802.patch
>
>
> Currently it is possible to set the current accounting company in the option 
> under organization GL settings and in party preferences.
> The proposal is to remove it from accounting and set it in the theme header 
> so it will be available in all components. In order to make the system not 
> more complicated, this setting is only available when there is more than a 
> single accounting company.
> Then replace the organization GL settings in accounting  by 
> {code}
> "${organization} setup' and '${organization} accounting where ${organization} 
> {code}
> is the current selected accounting company in the header.
> The global setting of the current organization is already done in the 
> application decorator in the commonext component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6802) be able to set accounting company in the header, remove from accounting, so other components can change it too.

2016-01-17 Thread Hans Bakker (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104188#comment-15104188
 ] 

Hans Bakker commented on OFBIZ-6802:


Using the position the current user has in the company structure is an 
interesting idea and sure would be ideal implementation. This means however 
that this information needs to be available what is not always the case

When no objections we will implement the following:

When there is only a single INTERNAL_ORGANIZATIO company, then the header 
should not change and this company is automatically selected.

When there are more than a single company, a click-able accounting company name 
should be shown in the header.

Show the selected company in the user preferences, when not available use the 
system preferences, when not available use the oldest accounting company 
created, when nothing found show the accounting company setup screen where the 
partyid can be selected or created.

When the accounting company name in the header is clicked, show a popup with a 
list of accounting companies.

Check if the current user is part of an accounting company(partyRelationship), 
when yes, show that company and all accounting companies lower in the 
accounting company tree. A user can be part of more than a single company.

When the current user is not part of an accounting company, show all companies 
alphabetically with the role INTERNAL_ORGANIZATIO.

Let the user select the company and update the context and user preference.

> be able to set accounting company in the header, remove from accounting, so 
> other components can change it too.
> ---
>
> Key: OFBIZ-6802
> URL: https://issues.apache.org/jira/browse/OFBIZ-6802
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Affects Versions: Trunk
> Environment: any
>Reporter: Hans Bakker
>
> Currently it is possible to set the current accounting company in the option 
> under organization GL settings and in party preferences.
> The proposal is to remove it from accounting and set it in the theme header 
> so it will be available in all components. In order to make the system not 
> more complicated, this setting is only available when there is more than a 
> single accounting company.
> Then replace the organization GL settings in accounting  by 
> {code}
> "${organization} setup' and '${organization} accounting where ${organization} 
> {code}
> is the current selected accounting company in the header.
> The global setting of the current organization is already done in the 
> application decorator in the commonext component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6802) be able to set accounting company in the header, remove from accounting, so other components can change it too.

2016-01-14 Thread Jacopo Cappellato (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101374#comment-15101374
 ] 

Jacopo Cappellato commented on OFBIZ-6802:
--

I like the idea of having a global session based company that all application 
will use as default for the logged in user.
It would be great to select the default accounting company for the logged in 
user by looking at the UserLogin->Person->PartyRelationship (as employee or 
similar) to the given organization; if this data is not available then the 
current mechanism could be used (i.e. looking at all the organizations). If the 
user is an employee of an organization with children organizations, then the 
user may be allowed to select any of them as the default after she logs into 
the system.
Of course these enhancements could be implemented in later steps.

> be able to set accounting company in the header, remove from accounting, so 
> other components can change it too.
> ---
>
> Key: OFBIZ-6802
> URL: https://issues.apache.org/jira/browse/OFBIZ-6802
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Affects Versions: Trunk
> Environment: any
>Reporter: Hans Bakker
>
> Currently it is possible to set the current accounting company in the option 
> under organization GL settings and in party preferences.
> The proposal is to remove it from accounting and set it in the theme header 
> so it will be available in all components. In order to make the system not 
> more complicated, this setting is only available when there is more than a 
> single accounting company.
> Then replace the organization GL settings in accounting  by "${organization} 
> setup' and '${organization} accounting where ${organization} is the current 
> selected accounting company in the header.
> The global setting of the current organization is already done in the 
> application decorator in the commonex component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)