[jira] [Commented] (OFBIZ-12620) Redirect unauthenticated user to login on AJAX calls

2022-05-25 Thread Florian Motteau (Jira)


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

Florian Motteau commented on OFBIZ-12620:
-

 [~nmalin] thank you !

> Redirect unauthenticated user to login on AJAX calls
> 
>
> Key: OFBIZ-12620
> URL: https://issues.apache.org/jira/browse/OFBIZ-12620
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp, themes
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Florian Motteau
>Assignee: Nicolas Malin
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: OFBIZ-12620.patch, Peek 18-05-2022 15-37.mp4, 
> image-2022-05-18-14-47-09-659.png
>
>
> Use case :
>  * log in,
>  * open a second browser tab (so both tabs are authenticated),
>  * in first tab, open a page, where a link opens a modal, the modal content 
> is fetched through AJAX when user clicks the link,
>  * log out in second tab,
>  * in first tab, click on the link, the AJAX request fires, but returns 
> nothing with a status 200, which result in a white modal without any user 
> feedback.
> Example :
> `/workeffort/control/EditWorkEffortRates?workEffortId=PrivateDemoEmployee`
> !image-2022-05-18-14-47-09-659.png|width=218,height=124!
> This patch does 3 things to improve this behavior :
>  * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
> user is not authenticated (no more 200),
>  * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
> with a 401 status code, reload current page (so we land on login form instead 
> of being stuck in a blank modal) with a new search param `clickOn` containing 
> the id of the link that triggered the AJAX call,
>  * on page load, if `clickOn` search parameter exists, trigger a click event 
> on the link, so the initial modal pops in after a successful login
> As a result, il the user tries to open a AJAX-based modal while 
> unauthenticated, here is what happens :
> * modal opens,
> * user is immediatly redirected to the page he was, which will be filled with 
> login form
> * after successful login, page is reloaded (no change here), and the modal is 
> re-opened
>  [^Peek 18-05-2022 15-37.mp4] 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Closed] (OFBIZ-12620) Redirect unauthenticated user to login on AJAX calls

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-12620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin closed OFBIZ-12620.
-
Fix Version/s: 22.01.01
   Resolution: Done

Thanks Florian it's loaded on trunk

> Redirect unauthenticated user to login on AJAX calls
> 
>
> Key: OFBIZ-12620
> URL: https://issues.apache.org/jira/browse/OFBIZ-12620
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp, themes
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Florian Motteau
>Assignee: Nicolas Malin
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: OFBIZ-12620.patch, Peek 18-05-2022 15-37.mp4, 
> image-2022-05-18-14-47-09-659.png
>
>
> Use case :
>  * log in,
>  * open a second browser tab (so both tabs are authenticated),
>  * in first tab, open a page, where a link opens a modal, the modal content 
> is fetched through AJAX when user clicks the link,
>  * log out in second tab,
>  * in first tab, click on the link, the AJAX request fires, but returns 
> nothing with a status 200, which result in a white modal without any user 
> feedback.
> Example :
> `/workeffort/control/EditWorkEffortRates?workEffortId=PrivateDemoEmployee`
> !image-2022-05-18-14-47-09-659.png|width=218,height=124!
> This patch does 3 things to improve this behavior :
>  * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
> user is not authenticated (no more 200),
>  * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
> with a 401 status code, reload current page (so we land on login form instead 
> of being stuck in a blank modal) with a new search param `clickOn` containing 
> the id of the link that triggered the AJAX call,
>  * on page load, if `clickOn` search parameter exists, trigger a click event 
> on the link, so the initial modal pops in after a successful login
> As a result, il the user tries to open a AJAX-based modal while 
> unauthenticated, here is what happens :
> * modal opens,
> * user is immediatly redirected to the page he was, which will be filled with 
> login form
> * after successful login, page is reloaded (no change here), and the modal is 
> re-opened
>  [^Peek 18-05-2022 15-37.mp4] 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-12620) Redirect unauthenticated user to login on AJAX calls

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12620:
-

Commit 5f19f023491161a35f3705d90822797666be3c2c in ofbiz-framework's branch 
refs/heads/release22.01 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=5f19f02349 ]

Improved: Redirect unauthenticated user to login on AJAX calls (OFBIZ-12620)

At this time when you aren't logged and you need to be authenticated for access 
to a page, OFBiz return the login page with a http code 200

This set a problem for ajax call to understand why the page returned isn't the 
attendee/

This improvement does 3 things :
   * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
user is not authenticated (no more 200),
   * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
with a 401 status code, reload current page (so we land on login form instead 
of being stuck in a blank modal) with a new search param `clickOn` containing 
the id of the link that triggered the AJAX call,
   * on page load, if `clickOn` search parameter exists, trigger a click event 
on the link, so the initial modal pops in after a successful login

Thanks to Florian Motteau for this improvement


> Redirect unauthenticated user to login on AJAX calls
> 
>
> Key: OFBIZ-12620
> URL: https://issues.apache.org/jira/browse/OFBIZ-12620
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp, themes
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Florian Motteau
>Assignee: Nicolas Malin
>Priority: Major
> Attachments: OFBIZ-12620.patch, Peek 18-05-2022 15-37.mp4, 
> image-2022-05-18-14-47-09-659.png
>
>
> Use case :
>  * log in,
>  * open a second browser tab (so both tabs are authenticated),
>  * in first tab, open a page, where a link opens a modal, the modal content 
> is fetched through AJAX when user clicks the link,
>  * log out in second tab,
>  * in first tab, click on the link, the AJAX request fires, but returns 
> nothing with a status 200, which result in a white modal without any user 
> feedback.
> Example :
> `/workeffort/control/EditWorkEffortRates?workEffortId=PrivateDemoEmployee`
> !image-2022-05-18-14-47-09-659.png|width=218,height=124!
> This patch does 3 things to improve this behavior :
>  * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
> user is not authenticated (no more 200),
>  * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
> with a 401 status code, reload current page (so we land on login form instead 
> of being stuck in a blank modal) with a new search param `clickOn` containing 
> the id of the link that triggered the AJAX call,
>  * on page load, if `clickOn` search parameter exists, trigger a click event 
> on the link, so the initial modal pops in after a successful login
> As a result, il the user tries to open a AJAX-based modal while 
> unauthenticated, here is what happens :
> * modal opens,
> * user is immediatly redirected to the page he was, which will be filled with 
> login form
> * after successful login, page is reloaded (no change here), and the modal is 
> re-opened
>  [^Peek 18-05-2022 15-37.mp4] 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-12620) Redirect unauthenticated user to login on AJAX calls

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12620:
-

Commit 09cf6eb4990663040016f32809bb2ad718279562 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=09cf6eb499 ]

Improved: Redirect unauthenticated user to login on AJAX calls (OFBIZ-12620)

At this time when you aren't logged and you need to be authenticated for access 
to a page, OFBiz return the login page with a http code 200

This set a problem for ajax call to understand why the page returned isn't the 
attendee/

This improvement does 3 things :
   * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
user is not authenticated (no more 200),
   * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
with a 401 status code, reload current page (so we land on login form instead 
of being stuck in a blank modal) with a new search param `clickOn` containing 
the id of the link that triggered the AJAX call,
   * on page load, if `clickOn` search parameter exists, trigger a click event 
on the link, so the initial modal pops in after a successful login

Thanks to Florian Motteau for this improvement


> Redirect unauthenticated user to login on AJAX calls
> 
>
> Key: OFBIZ-12620
> URL: https://issues.apache.org/jira/browse/OFBIZ-12620
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp, themes
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Florian Motteau
>Assignee: Nicolas Malin
>Priority: Major
> Attachments: OFBIZ-12620.patch, Peek 18-05-2022 15-37.mp4, 
> image-2022-05-18-14-47-09-659.png
>
>
> Use case :
>  * log in,
>  * open a second browser tab (so both tabs are authenticated),
>  * in first tab, open a page, where a link opens a modal, the modal content 
> is fetched through AJAX when user clicks the link,
>  * log out in second tab,
>  * in first tab, click on the link, the AJAX request fires, but returns 
> nothing with a status 200, which result in a white modal without any user 
> feedback.
> Example :
> `/workeffort/control/EditWorkEffortRates?workEffortId=PrivateDemoEmployee`
> !image-2022-05-18-14-47-09-659.png|width=218,height=124!
> This patch does 3 things to improve this behavior :
>  * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
> user is not authenticated (no more 200),
>  * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
> with a 401 status code, reload current page (so we land on login form instead 
> of being stuck in a blank modal) with a new search param `clickOn` containing 
> the id of the link that triggered the AJAX call,
>  * on page load, if `clickOn` search parameter exists, trigger a click event 
> on the link, so the initial modal pops in after a successful login
> As a result, il the user tries to open a AJAX-based modal while 
> unauthenticated, here is what happens :
> * modal opens,
> * user is immediatly redirected to the page he was, which will be filled with 
> login form
> * after successful login, page is reloaded (no change here), and the modal is 
> re-opened
>  [^Peek 18-05-2022 15-37.mp4] 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Assigned] (OFBIZ-12620) Redirect unauthenticated user to login on AJAX calls

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-12620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin reassigned OFBIZ-12620:
-

Assignee: Nicolas Malin

> Redirect unauthenticated user to login on AJAX calls
> 
>
> Key: OFBIZ-12620
> URL: https://issues.apache.org/jira/browse/OFBIZ-12620
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/webapp, themes
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Florian Motteau
>Assignee: Nicolas Malin
>Priority: Major
> Attachments: OFBIZ-12620.patch, Peek 18-05-2022 15-37.mp4, 
> image-2022-05-18-14-47-09-659.png
>
>
> Use case :
>  * log in,
>  * open a second browser tab (so both tabs are authenticated),
>  * in first tab, open a page, where a link opens a modal, the modal content 
> is fetched through AJAX when user clicks the link,
>  * log out in second tab,
>  * in first tab, click on the link, the AJAX request fires, but returns 
> nothing with a status 200, which result in a white modal without any user 
> feedback.
> Example :
> `/workeffort/control/EditWorkEffortRates?workEffortId=PrivateDemoEmployee`
> !image-2022-05-18-14-47-09-659.png|width=218,height=124!
> This patch does 3 things to improve this behavior :
>  * return a HTTP status code 401 (Unauthorized) in LoginWorker::checkLogin if 
> user is not authenticated (no more 200),
>  * in common-theme, OfbizUtil.js, on AJAX calls handler, if the request fails 
> with a 401 status code, reload current page (so we land on login form instead 
> of being stuck in a blank modal) with a new search param `clickOn` containing 
> the id of the link that triggered the AJAX call,
>  * on page load, if `clickOn` search parameter exists, trigger a click event 
> on the link, so the initial modal pops in after a successful login
> As a result, il the user tries to open a AJAX-based modal while 
> unauthenticated, here is what happens :
> * modal opens,
> * user is immediatly redirected to the page he was, which will be filled with 
> login form
> * after successful login, page is reloaded (no change here), and the modal is 
> re-opened
>  [^Peek 18-05-2022 15-37.mp4] 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Closed] (OFBIZ-12621) Json response failed when element not serializable

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-12621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin closed OFBIZ-12621.
-
Fix Version/s: 22.01.01
   Resolution: Fixed

> Json response failed when element not serializable
> --
>
> Key: OFBIZ-12621
> URL: https://issues.apache.org/jira/browse/OFBIZ-12621
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webapp
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Major
>  Labels: json, webapp
> Fix For: 22.01.01
>
> Attachments: OFBIZ-12621.patch
>
>
> When you forward a request-map on json response after a service call like 
> this :
>  
> {code:java}
>      
>         
>         
>         
>         
>     
> {code}
> The request json works fine if the serviceWithUnserializableElement have an 
> element unserializable on out put at the first level
> {code:java}
>      
>          mode="OUT"/>
>     
> {code}
> If the definition is like this 
> {code:java}
>      
>         
>     {code}
> The json failed to generate if the outputStream is a map en
> try here :
> {code:java}
> CommonEvents.jsonResponseFromRequestAttributes:
>             JSON json = JSON.from(attrMap);
>             writeJSONtoResponse(json, request, response);
> {code}
> Despite the function UtilHttp.getJSONAttributeMap that safe only the first 
> map level and don't work in deep.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-12621) Json response failed when element not serializable

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12621:
-

Commit 4e30052c8aa13df5710ad031887a191630356440 in ofbiz-framework's branch 
refs/heads/release22.01 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4e30052c8a ]

Fixed: Json response failed when element not serializable (OFBIZ-12621)

When you forward a request-map on json response after a service call like this :

 






The request json works fine if the serviceWithUnserializableElement have an 
element unserializable on out put at the first level

 

 

If the definition is like this

 

 

The json failed to generate if the outputStream is a map. despite the function 
UtilHttp.getJSONAttributeMap that safe only the first map level and don't work 
in deep.

By the way, we improved the getJSONAttributeMap to work in deep by a recursive 
treatment on Map and List.


> Json response failed when element not serializable
> --
>
> Key: OFBIZ-12621
> URL: https://issues.apache.org/jira/browse/OFBIZ-12621
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webapp
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Major
>  Labels: json, webapp
> Attachments: OFBIZ-12621.patch
>
>
> When you forward a request-map on json response after a service call like 
> this :
>  
> {code:java}
>      
>         
>         
>         
>         
>     
> {code}
> The request json works fine if the serviceWithUnserializableElement have an 
> element unserializable on out put at the first level
> {code:java}
>      
>          mode="OUT"/>
>     
> {code}
> If the definition is like this 
> {code:java}
>      
>         
>     {code}
> The json failed to generate if the outputStream is a map en
> try here :
> {code:java}
> CommonEvents.jsonResponseFromRequestAttributes:
>             JSON json = JSON.from(attrMap);
>             writeJSONtoResponse(json, request, response);
> {code}
> Despite the function UtilHttp.getJSONAttributeMap that safe only the first 
> map level and don't work in deep.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-12621) Json response failed when element not serializable

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12621:
-

Commit 82f25f619228cf50a3a7a2e6726e24b3cc94298d in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=82f25f6192 ]

Fixed: Json response failed when element not serializable (OFBIZ-12621)

When you forward a request-map on json response after a service call like this :

 






The request json works fine if the serviceWithUnserializableElement have an 
element unserializable on out put at the first level

 

 

If the definition is like this

 

 

The json failed to generate if the outputStream is a map. despite the function 
UtilHttp.getJSONAttributeMap that safe only the first map level and don't work 
in deep.

By the way, we improved the getJSONAttributeMap to work in deep by a recursive 
treatment on Map and List.


> Json response failed when element not serializable
> --
>
> Key: OFBIZ-12621
> URL: https://issues.apache.org/jira/browse/OFBIZ-12621
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/webapp
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Major
>  Labels: json, webapp
> Attachments: OFBIZ-12621.patch
>
>
> When you forward a request-map on json response after a service call like 
> this :
>  
> {code:java}
>      
>         
>         
>         
>         
>     
> {code}
> The request json works fine if the serviceWithUnserializableElement have an 
> element unserializable on out put at the first level
> {code:java}
>      
>          mode="OUT"/>
>     
> {code}
> If the definition is like this 
> {code:java}
>      
>         
>     {code}
> The json failed to generate if the outputStream is a map en
> try here :
> {code:java}
> CommonEvents.jsonResponseFromRequestAttributes:
>             JSON json = JSON.from(attrMap);
>             writeJSONtoResponse(json, request, response);
> {code}
> Despite the function UtilHttp.getJSONAttributeMap that safe only the first 
> map level and don't work in deep.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Closed] (OFBIZ-10186) Configure official document templates for an organizational party

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin closed OFBIZ-10186.
-
Fix Version/s: 22.01.01
   Resolution: Implemented

> Configure official document templates for an organizational party
> -
>
> Key: OFBIZ-10186
> URL: https://issues.apache.org/jira/browse/OFBIZ-10186
> Project: OFBiz
>  Issue Type: New Feature
>  Components: accounting
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Major
>  Labels: invoice, organization, template
> Fix For: 22.01.01
>
> Attachments: OFBIZ-10186-PartyPref.patch, 
> OFBIZ-10186-commonscreens.patch, OFBIZ-10186.patch, OFBIZ-10186.patch, 
> OFBIZ-10186.patch, Sélection_134.png, Sélection_135.png
>
>
> For an organizational party, add possibility to give the specific template to 
> use for official document like invoice and order.
> The first step is adding mechanism to indicate what template to use for a 
> party, for that :
>  * add CustomScreen entity (like CustomMethod) to prepare and organize your 
> screen by theme
>  * add PartyPrefDocTypeTpl as association entity between an organizational 
> party, a document type and a custom screen
> For use case, I create a new invoice template for oriented on EU format (in 
> process) with VAT directly display on invoice item.
> Related mailing list thread : 
> https://lists.apache.org/thread.html/4a5244e6d022564414e4f4a5676f72288d4000913ec2afa7e4af5e1a@%3Cdev.ofbiz.apache.org%3E
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-10217) Configure quote templates for an organizational party

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10217:
-

Commit 4d035a554bf01abfaf1cd99f485d6a1d28c0a647 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4d035a554b ]

Implemented: Configure invoice, quote and order templates for an organizational 
party (OFBIZ-10215) (OFBIZ-10216) (OFBIZ-10217)

Add the possibility to print invoice, quote and order as pdf from the 
organizational party configuration.

With this you can define your own xslfo template connected to a custom screen 
and configure it for each organization through PartyPrefDocTypeTpl

Thanks to Ingo Wolfmayr for patch submission


> Configure quote templates for an organizational party
> -
>
> Key: OFBIZ-10217
> URL: https://issues.apache.org/jira/browse/OFBIZ-10217
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
>
> Possibility to select your quote template from a custom screen.
> Implement three screen possibilities :
>  * default : current QuoteReport
>  * content : import the template from a content
>  * quote detail line : all suggest are welcome :)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Closed] (OFBIZ-10216) Configure order templates for an organizational party

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin closed OFBIZ-10216.
-
Fix Version/s: 22.01.01
   Resolution: Incomplete

We haven't the three screen however, all is present to do that

> Configure order templates for an organizational party
> -
>
> Key: OFBIZ-10216
> URL: https://issues.apache.org/jira/browse/OFBIZ-10216
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
> Fix For: 22.01.01
>
>
> Possibility to select your order template from a custom screen.
> Implement three screen possibilities :
>  * default : current OrderPDF
>  * content : import the template from a content
>  * order detail line :if you have a suggest, feel free



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-10216) Configure order templates for an organizational party

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10216:
-

Commit 4d035a554bf01abfaf1cd99f485d6a1d28c0a647 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4d035a554b ]

Implemented: Configure invoice, quote and order templates for an organizational 
party (OFBIZ-10215) (OFBIZ-10216) (OFBIZ-10217)

Add the possibility to print invoice, quote and order as pdf from the 
organizational party configuration.

With this you can define your own xslfo template connected to a custom screen 
and configure it for each organization through PartyPrefDocTypeTpl

Thanks to Ingo Wolfmayr for patch submission


> Configure order templates for an organizational party
> -
>
> Key: OFBIZ-10216
> URL: https://issues.apache.org/jira/browse/OFBIZ-10216
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
>
> Possibility to select your order template from a custom screen.
> Implement three screen possibilities :
>  * default : current OrderPDF
>  * content : import the template from a content
>  * order detail line :if you have a suggest, feel free



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Closed] (OFBIZ-10217) Configure quote templates for an organizational party

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin closed OFBIZ-10217.
-
Fix Version/s: 22.01.01
   Resolution: Implemented

We haven't the three screen however, all is present to do that

> Configure quote templates for an organizational party
> -
>
> Key: OFBIZ-10217
> URL: https://issues.apache.org/jira/browse/OFBIZ-10217
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
> Fix For: 22.01.01
>
>
> Possibility to select your quote template from a custom screen.
> Implement three screen possibilities :
>  * default : current QuoteReport
>  * content : import the template from a content
>  * quote detail line : all suggest are welcome :)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-10215) Configure invoice templates for an organizational party

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10215:
-

Commit 4d035a554bf01abfaf1cd99f485d6a1d28c0a647 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4d035a554b ]

Implemented: Configure invoice, quote and order templates for an organizational 
party (OFBIZ-10215) (OFBIZ-10216) (OFBIZ-10217)

Add the possibility to print invoice, quote and order as pdf from the 
organizational party configuration.

With this you can define your own xslfo template connected to a custom screen 
and configure it for each organization through PartyPrefDocTypeTpl

Thanks to Ingo Wolfmayr for patch submission


> Configure invoice templates for an organizational party
> ---
>
> Key: OFBIZ-10215
> URL: https://issues.apache.org/jira/browse/OFBIZ-10215
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: accounting
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
> Fix For: 22.01.01
>
> Attachments: CustomScreen.xml, DocTypeTemplate.patch, 
> InvQuoOrd.patch, InvoiceTemplate.patch, InvoiceTemplateWithTest.patch, 
> OFBIZ-10215-1.patch, OFBIZ-10215.patch, PartyPrefDocTypeTpl.xml
>
>
> Possibility to select your invoice template from a custom screen.
> Implement three screen possibilities :
>  * default : current InvoicePDF
>  * content : import the template from a content
>  * tax line : detail the tax related to an invoice line



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Closed] (OFBIZ-10215) Configure invoice templates for an organizational party

2022-05-25 Thread Nicolas Malin (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin closed OFBIZ-10215.
-
Fix Version/s: 22.01.01
   Resolution: Implemented

We haven't the three screen however, all is present to do that

Thanks [~iwolf] 

> Configure invoice templates for an organizational party
> ---
>
> Key: OFBIZ-10215
> URL: https://issues.apache.org/jira/browse/OFBIZ-10215
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: accounting
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
> Fix For: 22.01.01
>
> Attachments: CustomScreen.xml, DocTypeTemplate.patch, 
> InvQuoOrd.patch, InvoiceTemplate.patch, InvoiceTemplateWithTest.patch, 
> OFBIZ-10215-1.patch, OFBIZ-10215.patch, PartyPrefDocTypeTpl.xml
>
>
> Possibility to select your invoice template from a custom screen.
> Implement three screen possibilities :
>  * default : current InvoicePDF
>  * content : import the template from a content
>  * tax line : detail the tax related to an invoice line



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-10216) Configure order templates for an organizational party

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10216:
-

Commit 0af153a75046b3c307e5c6fe6f2361d3d1de8e4b in ofbiz-framework's branch 
refs/heads/release22.01 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0af153a750 ]

Implemented: Configure invoice, quote and order templates for an organizational 
party (OFBIZ-10215) (OFBIZ-10216) (OFBIZ-10217)

Add the possibility to print invoice, quote and order as pdf from the 
organizational party configuration.

With this you can define your own xslfo template connected to a custom screen 
and configure it for each organization through PartyPrefDocTypeTpl

Thanks to Ingo Wolfmayr for patch submission


> Configure order templates for an organizational party
> -
>
> Key: OFBIZ-10216
> URL: https://issues.apache.org/jira/browse/OFBIZ-10216
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
>
> Possibility to select your order template from a custom screen.
> Implement three screen possibilities :
>  * default : current OrderPDF
>  * content : import the template from a content
>  * order detail line :if you have a suggest, feel free



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-10217) Configure quote templates for an organizational party

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10217:
-

Commit 0af153a75046b3c307e5c6fe6f2361d3d1de8e4b in ofbiz-framework's branch 
refs/heads/release22.01 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0af153a750 ]

Implemented: Configure invoice, quote and order templates for an organizational 
party (OFBIZ-10215) (OFBIZ-10216) (OFBIZ-10217)

Add the possibility to print invoice, quote and order as pdf from the 
organizational party configuration.

With this you can define your own xslfo template connected to a custom screen 
and configure it for each organization through PartyPrefDocTypeTpl

Thanks to Ingo Wolfmayr for patch submission


> Configure quote templates for an organizational party
> -
>
> Key: OFBIZ-10217
> URL: https://issues.apache.org/jira/browse/OFBIZ-10217
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
>
> Possibility to select your quote template from a custom screen.
> Implement three screen possibilities :
>  * default : current QuoteReport
>  * content : import the template from a content
>  * quote detail line : all suggest are welcome :)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (OFBIZ-10215) Configure invoice templates for an organizational party

2022-05-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10215:
-

Commit 0af153a75046b3c307e5c6fe6f2361d3d1de8e4b in ofbiz-framework's branch 
refs/heads/release22.01 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0af153a750 ]

Implemented: Configure invoice, quote and order templates for an organizational 
party (OFBIZ-10215) (OFBIZ-10216) (OFBIZ-10217)

Add the possibility to print invoice, quote and order as pdf from the 
organizational party configuration.

With this you can define your own xslfo template connected to a custom screen 
and configure it for each organization through PartyPrefDocTypeTpl

Thanks to Ingo Wolfmayr for patch submission


> Configure invoice templates for an organizational party
> ---
>
> Key: OFBIZ-10215
> URL: https://issues.apache.org/jira/browse/OFBIZ-10215
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: accounting
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Nicolas Malin
>Assignee: Nicolas Malin
>Priority: Minor
> Attachments: CustomScreen.xml, DocTypeTemplate.patch, 
> InvQuoOrd.patch, InvoiceTemplate.patch, InvoiceTemplateWithTest.patch, 
> OFBIZ-10215-1.patch, OFBIZ-10215.patch, PartyPrefDocTypeTpl.xml
>
>
> Possibility to select your invoice template from a custom screen.
> Implement three screen possibilities :
>  * default : current InvoicePDF
>  * content : import the template from a content
>  * tax line : detail the tax related to an invoice line



--
This message was sent by Atlassian Jira
(v8.20.7#820007)