Improve use of EntityAuditLog

2019-10-07 Thread pierre.gaudin

Hi all,

OFBiz has an EntityAuditLog entity log system, which allows all changes 
to be recorded in a specific field of a table. This allows you to have a 
technical follow-up on what is recorded in a field. Following monitoring 
needs on a production environment at a customer's site, we have 
identified two limitations to the current implementation.


First, unlike logs that can be modified in production, it is not 
possible to modify the audit values of entities in production. It is 
therefore not possible to take advantage of the information provided by 
this entity to help detect production problems. To do this, it would be 
necessary to be able to activate and deactivate the audit of a field 
without having to redeploy or restart OFBiz. Currently the activation is 
done in the entity definition. The objective would be to be able to 
define it at another level in order to be able to modify the value 
dynamically.


Second, the entityauditlog entity is used to store functional data. We 
believe that this is a mistake and that the use of this entity must be 
purely technical. For this reason we propose to modify the current code 
in order to remove the use of the entity audit entity log in a 
functional way.


What do you think of that?


Thanks


Pierre GAUDIN



why some fields are set to enable-audit-log true by default?

2018-04-03 Thread pierre.gaudin

Hi all,

In the definition of some entities, certain fields are set to 
enable-audit-log = true by default.


Is there a reason for that?


thanks,


pierre

--
logoNrd 
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
8 rue des Déportés 37000 TOURS
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

réseau LE 



improve workflow for request of password loss

2018-02-27 Thread pierre.gaudin
I would like to make an evolution in the management of the request of 
password loss.


At present the stages are the following ones:
  1 - Request of loss of password (by the user)
  2 - Change of password by a temporary one (by the system)
  3 - Send of an e-mail with a link to define a new password (by the 
system)

  4 - Set the new password (by the user)
  5 - Recording of the new password (by the system)

This workflow is problematic because the change of password is made as 
soon as the person confirms the change of password (stage 2). It is 
possible that the person who makes the change of password is not the 
person associated with the account.


Here is a proposal of modification of the workflow
  1 - Request of loss of password (by the user)
  2 - Recording of a request of lost of password associated with the 
login (by the system)
  3 - Send of an e-mail to confirm the request of change of password 
with a link containing the reference of the request to change of 
password (by the system)
  4 - Connection of the user to the form to change the password and 
seized with a new password (by the user)

  5 - Check that the login and the request are associated
  6 - Recording of the new password (by the system)

What do you think about this change?


Pierre

--
logoNrd 
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
8 rue des Déportés 37000 TOURS
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

réseau LE 



Re: Sending mail from Ofbiz does not work

2018-02-12 Thread pierre.gaudin
Also, have a look at SystemProperty entity for key 
mail.notifications.enabled


Pierre

On 12/02/2018 19:53, Mike wrote:

For TLS (mail.smtp.starttls.enable=true ), use port 587

On Mon, Feb 12, 2018 at 4:37 AM, Дмитрий Цыганок  wrote:


Hello!
I've deployed Ofbiz several times, but each time with the right settings,
email notifications are not sent.

Here are my settings from /var/www/ofbiz/framework/common/config/general.
properties:

unique.instanceId=ofbiz1
currency.uom.id.default=USD
ORGANIZATION_PARTY=Company
VISUAL_THEME=RAINBOWSTONE_SAPHIR
currency.decimal.format=#,##0.00
currency.rounding.default=10
currency.scale.enabled=N
locale.properties.fallback=en
#locales.available=ar,de,en,es,fr,hi,it,nl,pt,ro,ru,th,zh
#timeZones.available=US/Eastern,US/Central,US/
Mountain,US/Pacific,US/Alaska,US/Hawaii
country.geo.id.default=USA
partner.trackingCodeId.default=
usps.address.match=(^.*?p[\\. ]*o[\\. 
]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*?
))r[\\. ]*r[\\. ]*(( +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)
defaultFromEmailAddress=dmtsyga...@gmail.com
mail.notifications.enabled=Y
mail.notifications.redirectTo=d...@kapitanweb.ru
mail.smtp.relay.host=smtp.gmail.com
mail.smtp.auth.user=dmtsyga...@gmail.com
mail.smtp.auth.password=***
mail.smtp.port=465
mail.smtp.starttls.enable=true
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false
mail.address.caseInsensitive=N
mail.debug.on=N
mail.smtp.sendpartial=true
http.upload.max.sizethreshold=10240
http.upload.tmprepository=runtime/tmp
http.upload.max.size=-1
mail.spam.name=X-Spam-Flag
mail.spam.value=YES
Ofbiz always issues this error in the logs and the mail is not sent:

" 2018-01-17 22:21:19,562 |OFBiz-JobQueue-1 |EmailServices
  |I| Mail notifications disabled in general.properties; mail with
subject [test] not sent to addressee [ d...@kapitanweb.ru   "


I also tried different mail accounts, but the result is always the same.

What could be the reason? Please help me to solve this problem.
Thank you very much in advance!

---
Best Regards,
Dmitriy






Re: File format to import products

2017-11-22 Thread pierre.gaudin
productPricePurposeId="PURCHASE" currencyUomId="USD"

termUomId="OTH_ea"

productStoreGroupId="_NA_" price="9.95" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"/>

termUomId="OTH_ea"

productStoreGroupId="_NA_" price="2.75" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"/>

orderQtyIncrements="1"

unitsIncluded="1" quantityUomId="OTH_ea" currencyUomId="USD"
supplierProductName="1001 MINIGOLF CHALLENGE"
supplierProductId="1001MINIGOLF" canDropShip="Y" comments="Supplier
Comment" createdStamp="2017-11-05 10:59:43" lastPrice="3.85"/>



10:59:43"/>


MINIGOLF

CHALLENGE" createdStamp="2017-11-05 10:59:43"

createdTxStamp="2017-11-05

10:59:43"/>

798936836182"

localeString="en" createdDate="2017-11-05 10:59:43"
createdByUserLogin="admin" createdStamp="2017-11-05 10:59:43"
createdTxStamp="2017-11-05 10:59:43"/>

10:59:43"/>


contentIdTo="798936836182Den"

contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


contentIdTo="798936836182Den"

contentAssocTypeId="SUB_CONTENT" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


10:59:43"/>



798936836182"

localeString="en" createdDate="2017-11-05 10:59:43"
createdByUserLogin="admin" createdStamp="2017-11-05 10:59:43"
createdTxStamp="2017-11-05 10:59:43"/>

10:59:43"/>


contentIdTo="798936836182Aen"

contentAssocTypeId="ALTERNATIVE_URL" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


10:59:43"/>


the

largest mini-golf course ever" createdStamp="2017-11-05 10:59:43"
createdTxStamp="2017-11-05 10:59:43"/>

798936836182"

localeString="en" createdDate="2017-11-05 10:59:43"
createdByUserLogin="admin" createdStamp="2017-11-05 10:59:43"
createdTxStamp="2017-11-05 10:59:43"/>

10:59:43"

createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


contentIdTo="798936836182Len"

contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


contentIdTo="798936836182Len"

contentAssocTypeId="SUB_CONTENT" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


10:59:43"/>


MINIGOLF

CHALLENGE" createdStamp="2017-11-05 10:59:43"

createdTxStamp="2017-11-05

10:59:43"/>

798936836182"

localeString="en" createdDate="2017-11-05 10:59:43"
createdByUserLogin="admin" createdStamp="2017-11-05 10:59:43"
createdTxStamp="2017-11-05 10:59:43"/>

10:59:43"/>


contentIdTo="798936836182Nen"

contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>


contentIdTo="798936836182Nen"

contentAssocTypeId="SUB_CONTENT" fromDate="2017-11-05 10:59:43"
createdDate="2017-11-05 10:59:43" createdByUserLogin="admin"
createdStamp="2017-11-05 10:59:43" createdTxStamp="2017-11-05

10:59:43"/>





On Fri, Nov 17, 2017 at 1:43 AM, Javier <droin...@gmail.com> wrote:


Hi Jacques,

Yes, both, but I have problems in step 4:


1. connect to the Webtools application
2. go to the "Work With Data Files" screen
3. enter the path to the your definition file in the "Definition
Filename or URL" input field
4. click on the submit button


I have u

Re: File format to import products

2017-11-14 Thread pierre.gaudin

On 14/11/2017 08:55, Javier H. wrote:

Hello,

I have to import about 95.000 products into Ofbiz (mysql database).

I can import it to TXT or SQL formats, also to XLS but I get a error because 
max is 65.000 rows.

What format do you recommend for import, TXT or SQL?

Best regards


Hi Javier

We used to import about 700 000 article for a customer.

We used XML import via XSLT transformation to do so. I don't think there 
is a limit with xml import.



Pierre



Re: error in requesting new password

2017-07-07 Thread pierre.gaudin

Hi Jacques
On 07/07/2017 10:04, Jacques Le Roux wrote:

Hi Pierre,

I simply used the default for admin: ofbiz.

For
>try with another password with no special characters.

actually I spoke about the temporary password generated by OFBiz that 
you see in the URL in log, it's a long one with special chars. It's 
not related with your. Maybe you don't see it in log because it's 
related to this error message I have not yet fixed on my side


EmailServices |E| Email message that could not be 
sent to [@les7arts] had context:


Here is an example of the link URL

action="httpslocalhost8443/partymgr/control/passwordChange?USERNAME=flexadmin=nRzWjrn1MJu2ciIy2BMDDw3D3D=true


The issue is with the special chars in 
httpslocalhost8443 that can't be interpreted 
by browsers


I'll have another look this afternoon...
ha OK, i didn't notice that OFBiz set a temporary password... this is 
weird to set a temporary password ...

Please tell me if i can help you.

 Many thanks

Pierre


Jacques


Le 07/07/2017 à 09:21, pierre.gaudin a écrit :

Hi Jaques,

Many thanks for the time you spent to test this process.

I will apply the patch and try with another password with no special 
characters. Could you give me the old password you used for this test ?


For properties setting i have no opinion at this time... a new thread 
is ne


Thanks

Pierre

On 07/07/2017 08:53, Jacques Le Roux wrote:

Hi Pierre,

I did not reproduce your error. But I found another issue and fixed 
it with OFBIZ-9449. Then, if I take apart the setting of SMTP that I 
have to closely review, (was not a problem for you Pierre, so no 
worries here), I was able to generate the form in log. But found 
that the URL has the "://" part HTML encrypted which can't be 
interpreted by browsers. When replacing this part I was able to have 
the mechanism working correctly, ie changed the password. I strongly 
suppose the encryption is done for possible special characters in 
the password. But I did not find yet why and where it's applied to 
the whole URL. Could you please apply the fix and try to see if it 
has an impact on your issue?


Here are other issues I crossed and ideas about them (mostly for 
myself, comments are welcome)


Due to  OFBIZ-7112 we have now duplicated data in properties files 
and the seed data. OFBIZ-7112 and related issues (OFBIZ-7754, 
OFBIZ-6164, OFBIZ-6166 and more like OFBIZ-6711, OFBIZ-6065, 
OFBIZ-6066, I'll stop here there is another bunch of it) are all 
blocked by a decision to be taken for OFBIZ-7112 and OFBIZ-7754. The 
rest should come easier after. In the meantime I want to comment in 
properties files that there are duplicated properties in seed data. 
Always annoying to change a property value in file w/o effect :/


We need to clarify this comment in general properties.
# -- The default domainname used in the notification emails links
# as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file.
There are no (longer?) 'baseUrl' and 'baseSecureUrl' in the 
url.properties file.


I want to understand and possibly fix this kind of error messages
2017-07-06 14:17:58,593 |jsse-nio-8443-exec-4 
|RequestHandler|E| Request setLocaleFromBrowser 
caused an error with the following message: User authorization is 
required for this service: setLocaleFromBrowser


HTH

Jacques


Le 06/07/2017 à 12:22, pierre.gaudin a écrit :

Thanks Jacques ;-)

Pierre
On 06/07/2017 10:24, Jacques Le Roux wrote:

Hi Pierre,

I'll have a look today...

Jacques


Le 06/07/2017 à 10:09, pierre.gaudin a écrit :

Hi all,

Is there anyone with the same error?

regards,

Pierre
On 04/07/2017 11:01, pierre.gaudin wrote:

Hi all,

While testing the sending of a new password on a local trunk, I 
meet an error.

Here are the stapes to reproduce:
 - ont the login page click on 'Forgot Your Password?'
 - an email is sent with a link
 - click the link
 - a form is display allowing to indicate the new password
 - clik on submit button and then an error message is display

In the local OFBiz log i can see this errror message :
Unable to execute 'doFinal' with cipher instance 
[javax.crypto.Cipher@42f40da].


If i do the same on on trunk demo i see this error message :
org.apache.ofbiz.entity.EntityCryptoException: 
org.apache.ofbiz.entity.EntityCryptoException: key(Secret Key) 
not found in database (key(Secret Key) not found in database)
at 
org.apache.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:138) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:336) 
[ofbiz.jar:?]



Is there a way to fix this error?

Thanks in advance,

Pierre

























Re: error in requesting new password

2017-07-07 Thread pierre.gaudin

Hi Jaques,

Many thanks for the time you spent to test this process.

I will apply the patch and try with another password with no special 
characters. Could you give me the old password you used for this test ?


For properties setting i have no opinion at this time... a new thread is ne

Thanks

Pierre

On 07/07/2017 08:53, Jacques Le Roux wrote:

Hi Pierre,

I did not reproduce your error. But I found another issue and fixed it 
with OFBIZ-9449. Then, if I take apart the setting of SMTP that I have 
to closely review, (was not a problem for you Pierre, so no worries 
here), I was able to generate the form in log. But found that the URL 
has the "://" part HTML encrypted which can't be interpreted by 
browsers. When replacing this part I was able to have the mechanism 
working correctly, ie changed the password. I strongly suppose the 
encryption is done for possible special characters in the password. 
But I did not find yet why and where it's applied to the whole URL. 
Could you please apply the fix and try to see if it has an impact on 
your issue?


Here are other issues I crossed and ideas about them (mostly for 
myself, comments are welcome)


Due to  OFBIZ-7112 we have now duplicated data in properties files and 
the seed data. OFBIZ-7112 and related issues (OFBIZ-7754, OFBIZ-6164, 
OFBIZ-6166 and more like OFBIZ-6711, OFBIZ-6065, OFBIZ-6066, I'll stop 
here there is another bunch of it) are all blocked by a decision to be 
taken for OFBIZ-7112 and OFBIZ-7754. The rest should come easier 
after. In the meantime I want to comment in properties files that 
there are duplicated properties in seed data. Always annoying to 
change a property value in file w/o effect :/


We need to clarify this comment in general properties.
# -- The default domainname used in the notification emails links
# as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file.
There are no (longer?) 'baseUrl' and 'baseSecureUrl' in the 
url.properties file.


I want to understand and possibly fix this kind of error messages
2017-07-06 14:17:58,593 |jsse-nio-8443-exec-4 
|RequestHandler|E| Request setLocaleFromBrowser caused 
an error with the following message: User authorization is required 
for this service: setLocaleFromBrowser


HTH

Jacques


Le 06/07/2017 à 12:22, pierre.gaudin a écrit :

Thanks Jacques ;-)

Pierre
On 06/07/2017 10:24, Jacques Le Roux wrote:

Hi Pierre,

I'll have a look today...

Jacques


Le 06/07/2017 à 10:09, pierre.gaudin a écrit :

Hi all,

Is there anyone with the same error?

regards,

Pierre
On 04/07/2017 11:01, pierre.gaudin wrote:

Hi all,

While testing the sending of a new password on a local trunk, I 
meet an error.

Here are the stapes to reproduce:
 - ont the login page click on 'Forgot Your Password?'
 - an email is sent with a link
 - click the link
 - a form is display allowing to indicate the new password
 - clik on submit button and then an error message is display

In the local OFBiz log i can see this errror message :
Unable to execute 'doFinal' with cipher instance 
[javax.crypto.Cipher@42f40da].


If i do the same on on trunk demo i see this error message :
org.apache.ofbiz.entity.EntityCryptoException: 
org.apache.ofbiz.entity.EntityCryptoException: key(Secret Key) 
not found in database (key(Secret Key) not found in database)
at 
org.apache.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:138) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:336) 
[ofbiz.jar:?]



Is there a way to fix this error?

Thanks in advance,

Pierre



















Re: error in requesting new password

2017-07-06 Thread pierre.gaudin

Thanks  Jacques ;-)

Pierre
On 06/07/2017 10:24, Jacques Le Roux wrote:

Hi Pierre,

I'll have a look today...

Jacques


Le 06/07/2017 à 10:09, pierre.gaudin a écrit :

Hi all,

Is there anyone with the same error?

regards,

Pierre
On 04/07/2017 11:01, pierre.gaudin wrote:

Hi all,

While testing the sending of a new password on a local trunk, I meet 
an error.

Here are the stapes to reproduce:
 - ont the login page click on 'Forgot Your Password?'
 - an email is sent with a link
 - click the link
 - a form is display allowing to indicate the new password
 - clik on submit button and then an error message is display

In the local OFBiz log i can see this errror message :
Unable to execute 'doFinal' with cipher instance 
[javax.crypto.Cipher@42f40da].


If i do the same on on trunk demo i see this error message :
org.apache.ofbiz.entity.EntityCryptoException: 
org.apache.ofbiz.entity.EntityCryptoException: key(Secret Key) not 
found in database (key(Secret Key) not found in database)
at 
org.apache.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:138) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:336) 
[ofbiz.jar:?]



Is there a way to fix this error?

Thanks in advance,

Pierre













Re: error in requesting new password

2017-07-06 Thread pierre.gaudin

Hi all,

Is there anyone with the same error?

regards,

Pierre
On 04/07/2017 11:01, pierre.gaudin wrote:

Hi all,

While testing the sending of a new password on a local trunk, I meet 
an error.

Here are the stapes to reproduce:
 - ont the login page click on 'Forgot Your Password?'
 - an email is sent with a link
 - click the link
 - a form is display allowing to indicate the new password
 - clik on submit button and then an error message is display

In the local OFBiz log i can see this errror message :
Unable to execute 'doFinal' with cipher instance 
[javax.crypto.Cipher@42f40da].


If i do the same on on trunk demo i see this error message :
org.apache.ofbiz.entity.EntityCryptoException: 
org.apache.ofbiz.entity.EntityCryptoException: key(Secret Key) not 
found in database (key(Secret Key) not found in database)
at 
org.apache.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:138) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:336) 
[ofbiz.jar:?]



Is there a way to fix this error?

Thanks in advance,

Pierre







error in requesting new password

2017-07-04 Thread pierre.gaudin

Hi all,

While testing the sending of a new password on a local trunk, I meet an 
error.

Here are the stapes to reproduce:
 - ont the login page click on 'Forgot Your Password?'
 - an email is sent with a link
 - click the link
 - a form is display allowing to indicate the new password
 - clik on submit button and then an error message is display

In the local OFBiz log i can see this errror message :
Unable to execute 'doFinal' with cipher instance 
[javax.crypto.Cipher@42f40da].


If i do the same on on trunk demo i see this error message :
org.apache.ofbiz.entity.EntityCryptoException: 
org.apache.ofbiz.entity.EntityCryptoException: key(Secret Key) not 
found in database (key(Secret Key) not found in database)
at 
org.apache.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:138) 
~[ofbiz.jar:?]
at 
org.apache.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:336) 
[ofbiz.jar:?]



Is there a way to fix this error?

Thanks in advance,

Pierre



--
logoNrd 
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
8 rue des Déportés 37000 TOURS
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr  | réseau LE 





Re: How to set incoterm

2016-06-24 Thread pierre.gaudin

Hi Julien

May be you can use Order Term and use OrderContactMech to store 
associate end of responsibility address with a new contactMechPurposeTypeId.


Pierre

On 23/06/2016 17:11, Julien NICOLAS wrote:

Pierre,

I don't need only text of the incoterm but I have to link the incoterm 
with my order and the destination (end of responsibility) address 
(FAS, FOB, etc.).


For example, I want to introduce Incoterm selection in the order terms 
step screen in the order creation process. So I have to define an 
address for the end of the responsibility linked to the selected 
Incoterm.


Julien.

On 23/06/2016 16:17, Pierre Smits wrote:

If you do a term of the OTHER kind, you could state your incoterm
conditions (because that is what you're talking about, I believe) as 
text.


But you could consider sharing more details to fully understand your 
issue.


Best regards,

Pierre Smits

ORRTIZ.COM 
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Thu, Jun 23, 2016 at 4:13 PM, Julien NICOLAS 


wrote:

My first thinking is to define it as an order term but I have to 
link an

address to this incoterm.

Jacques answer to my question, there is no implementation of 
incoterm for

order :'(

I think I have to extend data model to manage it.

Julien.

On 23/06/2016 15:54, Pierre Smits wrote:


Hi Julien,

Without further information provided, I guess you're either trying to
build
an agreement or an order.

In either cases, it is defined as a term. So you would put them 
either on

the agreement or order lever, or on the agreement item or order item
level.

Best regards,

Pierre Smits

ORRTIZ.COM 
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Thu, Jun 23, 2016 at 3:04 PM, Julien NICOLAS <
julien.nico...@nereide.fr>
wrote:

Hello,
I try to set incoterm, found some entry but can't understand how 
we can

set it.
Have you some track to help me for that ?

Thanks!

Julien.








--
logoNrd 
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
8 rue des Déportés 37000 TOURS
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr  | réseau LE 





Re: Adrian Crum

2016-01-12 Thread pierre.gaudin

+1, that's a very good tribute to Adrian contributions

Pierre
On 11/01/2016 18:50, Nicolas Malin wrote:

Thanks Jacques for the wiki update and Pierre for your memorial.

The release 15.12 has been created the the 31/12/15, so the 14.12 move 
logical as the stable branch. It contains many adrian's latest work so 
it came as a tribute. We can dedicate the 14.12 on the download page 
on release description.


Nicolas

Le 11/01/2016 18:00, Jacques Le Roux a écrit :

Thanks to all for your comments and thoughts!

Pierre Smits suggested and got published this text 
http://www.apache.org/memorials/adrian_crum.html

I will simply add that Adrian was also a Commons committer.
He "adopted the abandoned Apache Commons Convert project in April 
2010, and I made it the home of a Java data-type conversion framework 
[he] developed for the Open for Business project."

https://www.linkedin.com/in/adrian-crum-2b834223
http://people.apache.org/committers-by-project.html#commons
This will be done shortly

I will also add a Memorial section in our wiki PMC/Committers page 
with a link to the official ASF memorial page for Adrian


I don't know yet how to pass our condolences to his family and 
friends but I will try something


We still need to decide about a dedicated releases named on Adrian as 
a tribute


Thanks

Jacques

Le 11/01/2016 11:07, Gavin Mabie a écrit :

+1

On Mon, Jan 11, 2016 at 9:57 AM, Julien NICOLAS 


wrote:


+1

Julien.


Le 09/01/2016 16:14, Jacques Le Roux a écrit :


Le 09/01/2016 13:59, Jacques Le Roux a écrit :


In the PMC private ML Nicolas (Malin) suggested that we should do
something official in Adrian's memory.

How to pay homage to Adrian for the hight work he did. So I ask 
you, do

we can/want/have the possibility to tribute him?

It's possible regard to the ASF ? By Internet site, ofbiz release

dedicate, any other ideas ?

I wish advise his family also by official condolences

(slightly modified by me to report here)

I proposed that at least we create a new section (hoping that it 
will

not fill too quickly :/ ) at

https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+PMC+Members+and+Committers 



Forgot to say, I have asked on PMC private ML to people who 
English is

mother tongue to propose a title for this section. Any suggestion is
welcome, it's embarrassing but I fear my English is not good 
enough, thanks!


Jacques



For now I simply greyed Adrian's line and put a small comment.

Thoughts?

Thanks

Jacques

Le 05/01/2016 09:04, Pierre Smits a écrit :


Hi all,

With sadness in my heart I inform you that on January 1st Adrian 
Crum
passed away peacefully. Adrian was hospitalised in December of 
last year

due to suffering from a double pneumonia. He died while being kept
sedated.

I wish his loved ones, relatives and friends strength in these 
difficult

times.

Best regards,

Pierre Smits








--
logoNrd 
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis 8 rue des Déportés 37000 TOURS
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr  | réseau LE 





Re: getting exception in calling the service

2015-07-25 Thread pierre.gaudin

Hi Ashish,

You may try to use a form instead of an url with parameters.

Regards

Pierre
On 25/07/2015 08:04, Ashish Repal wrote:

Hi All,
I am getting below exception when calling the service from controller.

[ServiceEventHandler.java:408:ERROR] === Found URL parameter
[shipId] passed to secure (https) request-map with uri
[ModifyShipmentStatus] with an event that calls service
[ModifyShipmentStatus]; this is not allowed for security reasons! The data
should be encrypted by making it part of the request body (a form field)
instead of the request URL.

anyone has idea about this?

controller.xml:

 request-map uri=ModifyShipmentStatus
  security https=true auth=true /
 event type=service path= invoke=ModifyShipmentStatus/
 response name=success type=view value=EditTrip/
 response name=error type=view value=EditTrip/
 /request-map

If I comment the security tag in controller it works but later it fails
saying

org.ofbiz.webapp.control.RequestHandlerException: Not accepting insecure
form data posted to a secure request



Regards,
Aashish Repal
09623381664




--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




Re: category of blog article

2015-06-24 Thread pierre.gaudin

Hi Antoine,

One other solution is to use ContentMetaData and MetaDataPredicate.

Create a MetaDataPredicateId corresponding to category and create 
records with this predicate for each category you want to associate to 
this content.


Pierre
On 24/06/2015 15:04, Antoine Ouvrard wrote:

Hello everyone,

I'm a newbie in the ofbiz world and I am so excited to take part in 
its development!


Right now, I would like to add the category feature in the blog 
component.


 * First, I thought to use the DataCategory table like this:


  Content (parent) (Blog) = Content (Article) = DataResource = 
DataCategory



But the problem of this solution is that it does not allow us to link 
several categories per article.


 * Second, I tryed with the ContentPurpose table


  Content (parent) (Blog) = Content (Article) = ContentPurpose = 
ContentPurposeType


With a ContentPurposeType : BLOG_CATEGORY

But the problem of this is the primary key of ContentPurpose which is 
composed of contentId and contentPurposeType, so we come back to the 
same problem.


How do you think I should manage article categories within the blog?

Looking at the ofbiz data model, the solution might be to store the 
categories in the ContentPurposeType table adding a Parent field 
within the table.


What do you think and how would you make this?

Thanks,

Antoine O




--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




Re: category of blog article

2015-06-24 Thread pierre.gaudin

Hi Antoine,

Yes, in field metaDataPredicateId.

Regards

Pierre
On 24/06/2015 15:39, Antoine Ouvrard wrote:

Ok, thank Pierre.

And I can put BLOG_CATEGORY on metaDataValue?

Antoine

Le 24/06/2015 15:17, pierre.gaudin a écrit :

Hi Antoine,

One other solution is to use ContentMetaData and MetaDataPredicate.

Create a MetaDataPredicateId corresponding to category and create 
records with this predicate for each category you want to associate 
to this content.


Pierre
On 24/06/2015 15:04, Antoine Ouvrard wrote:

Hello everyone,

I'm a newbie in the ofbiz world and I am so excited to take part in 
its development!


Right now, I would like to add the category feature in the blog 
component.


 * First, I thought to use the DataCategory table like this:


  Content (parent) (Blog) = Content (Article) = DataResource = 
DataCategory



But the problem of this solution is that it does not allow us to 
link several categories per article.


 * Second, I tryed with the ContentPurpose table


  Content (parent) (Blog) = Content (Article) = ContentPurpose = 
ContentPurposeType


With a ContentPurposeType : BLOG_CATEGORY

But the problem of this is the primary key of ContentPurpose which 
is composed of contentId and contentPurposeType, so we come back to 
the same problem.


How do you think I should manage article categories within the blog?

Looking at the ofbiz data model, the solution might be to store the 
categories in the ContentPurposeType table adding a Parent field 
within the table.


What do you think and how would you make this?

Thanks,

Antoine O




--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




--
logoNrd http://nereide.fr/
Antoine Ouvrard

informat...@nereide.fr
02 47 50 30 54

Ofbiz France http://www.ofbiz-fr.org/ | Libre Entreprise 
http://www.libre-entreprise.org/





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




Re: category of blog article

2015-06-24 Thread pierre.gaudin

Hi Antoine,

No i really mean BLOG_CATEGORY as a new metaDataPredicateId.

For example, imagine you want to create a new blog entry and associate 
it to the category DAY_JOKE, you should create an new record into 
ContentMetaData like this :

   metaDataPredicateId = BLOG_CATEGORY
   metaDataValue = DAY_JOKE

Pierre
On 24/06/2015 16:19, Antoine Ouvrard wrote:

Hi Pierre,

Forgive me, but I was talking about metaDataValue on ContentMetaData 
table.

I think it's mandatory in case we want list all categories.
Every category will have a type Blog_Category.

That's correct?

Regards

Antoine

Le 24/06/2015 15:54, pierre.gaudin a écrit :

Hi Antoine,

Yes, in field metaDataPredicateId.

Regards

Pierre
On 24/06/2015 15:39, Antoine Ouvrard wrote:

Ok, thank Pierre.

And I can put BLOG_CATEGORY on metaDataValue?

Antoine

Le 24/06/2015 15:17, pierre.gaudin a écrit :

Hi Antoine,

One other solution is to use ContentMetaData and MetaDataPredicate.

Create a MetaDataPredicateId corresponding to category and create 
records with this predicate for each category you want to associate 
to this content.


Pierre
On 24/06/2015 15:04, Antoine Ouvrard wrote:

Hello everyone,

I'm a newbie in the ofbiz world and I am so excited to take part 
in its development!


Right now, I would like to add the category feature in the blog 
component.


 * First, I thought to use the DataCategory table like this:


  Content (parent) (Blog) = Content (Article) = DataResource = 
DataCategory



But the problem of this solution is that it does not allow us to 
link several categories per article.


 * Second, I tryed with the ContentPurpose table


  Content (parent) (Blog) = Content (Article) = ContentPurpose 
= ContentPurposeType


With a ContentPurposeType : BLOG_CATEGORY

But the problem of this is the primary key of ContentPurpose which 
is composed of contentId and contentPurposeType, so we come back 
to the same problem.


How do you think I should manage article categories within the blog?

Looking at the ofbiz data model, the solution might be to store 
the categories in the ContentPurposeType table adding a Parent 
field within the table.


What do you think and how would you make this?

Thanks,

Antoine O




--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




--
logoNrd http://nereide.fr/
Antoine Ouvrard

informat...@nereide.fr
02 47 50 30 54

Ofbiz France http://www.ofbiz-fr.org/ | Libre Entreprise 
http://www.libre-entreprise.org/





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




Re: category of blog article

2015-06-24 Thread pierre.gaudin

Hi,

Unfortunately you're right...

That could be an evolution to support several values for the same 
predicate id by adding the value in the primary key ?


Pierre

On 24/06/2015 17:44, Antoine Ouvrard wrote:

Hi Pierre,

Thank for details but for me this soluce is not possible because 
primary key ContentMetaData is composed by contentId and 
metaDataPredicateId.


Ok for one category but the second you will get an error primarykey 
already exist on ContentMetaData table.


So how you add several categories?

Antoine

Le 24/06/2015 17:30, pierre.gaudin a écrit :

Hi Antoine,

No i really mean BLOG_CATEGORY as a new metaDataPredicateId.

For example, imagine you want to create a new blog entry and 
associate it to the category DAY_JOKE, you should create an new 
record into ContentMetaData like this :

   metaDataPredicateId = BLOG_CATEGORY
   metaDataValue = DAY_JOKE

Pierre
On 24/06/2015 16:19, Antoine Ouvrard wrote:

Hi Pierre,

Forgive me, but I was talking about metaDataValue on ContentMetaData 
table.

I think it's mandatory in case we want list all categories.
Every category will have a type Blog_Category.

That's correct?

Regards

Antoine

Le 24/06/2015 15:54, pierre.gaudin a écrit :

Hi Antoine,

Yes, in field metaDataPredicateId.

Regards

Pierre
On 24/06/2015 15:39, Antoine Ouvrard wrote:

Ok, thank Pierre.

And I can put BLOG_CATEGORY on metaDataValue?

Antoine

Le 24/06/2015 15:17, pierre.gaudin a écrit :

Hi Antoine,

One other solution is to use ContentMetaData and MetaDataPredicate.

Create a MetaDataPredicateId corresponding to category and create 
records with this predicate for each category you want to 
associate to this content.


Pierre
On 24/06/2015 15:04, Antoine Ouvrard wrote:

Hello everyone,

I'm a newbie in the ofbiz world and I am so excited to take part 
in its development!


Right now, I would like to add the category feature in the blog 
component.


 * First, I thought to use the DataCategory table like this:


  Content (parent) (Blog) = Content (Article) = DataResource 
= DataCategory



But the problem of this solution is that it does not allow us to 
link several categories per article.


 * Second, I tryed with the ContentPurpose table


  Content (parent) (Blog) = Content (Article) = ContentPurpose 
= ContentPurposeType


With a ContentPurposeType : BLOG_CATEGORY

But the problem of this is the primary key of ContentPurpose 
which is composed of contentId and contentPurposeType, so we 
come back to the same problem.


How do you think I should manage article categories within the 
blog?


Looking at the ofbiz data model, the solution might be to store 
the categories in the ContentPurposeType table adding a Parent 
field within the table.


What do you think and how would you make this?

Thanks,

Antoine O




--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




--
logoNrd http://nereide.fr/
Antoine Ouvrard

informat...@nereide.fr
02 47 50 30 54

Ofbiz France http://www.ofbiz-fr.org/ | Libre Entreprise 
http://www.libre-entreprise.org/





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




--
logoNrd http://nereide.fr/
Antoine Ouvrard

informat...@nereide.fr
02 47 50 30 54

Ofbiz France http://www.ofbiz-fr.org/ | Libre Entreprise 
http://www.libre-entreprise.org/





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




Re: New Website CMS questions

2015-05-13 Thread pierre.gaudin

Hi Tom;

You can also use path alias to simplify url.

As mentioned by Pierre Smits you can have an exemple in cmssite.

Pierre

On 13/05/2015 10:05, Pierre Smits wrote:

Hi Tom,

In order to see your content created in the content component, you'll need
to have an access point. This access point is provided through the special
purpose application 'cmssite'. See e.g.
http://demo-trunk-ofbiz.apache.org/cmssite/

Anything that you want to have visible there is setup through the content
application.

I trust this will help you to get further.

Best regards,



Pierre Smits

*ORRTIZ.COM http://www.orrtiz.com*
Services  Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail  Trade
http://www.orrtiz.com

On Wed, May 13, 2015 at 6:16 AM, Deepak Dixit 
deepak.di...@hotwaxsystems.com wrote:


You can refer cmssite component  located at specialpurpose/cmssite

http://demo-trunk-ofbiz.apache.org/cmssite


Thanks  Regards
—
Deepak Dixit


On May 12, 2015, at 10:29 PM, Tom Running runningt...@gmail.com wrote:

I am trying to create a new webpage using Content Manager UI.
I want to create a page that will be easily modifiable using the content
manager HTML editor

I have created a new website using the content manager, and have created

a

website content publishing point.
Using the website CMS, I have added a subpage, which can be modified

using

the HTML editor UI.

The problem is, I do not know how to access this page via the browser.

Any suggestions?

All help is appreciated!

Thanks,
T





--
logoNrd http://nereide.fr/
Pierre GAUDIN
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre
informat...@nereide.fr
3bis rue des Isles 37270 VERETZ
Std: 02 47 50 30 54 - mob: 06 08 40 25 70

ofbiz-fr http://www.ofbiz-fr.org/ | réseau LE 
http://www.libre-entreprise.org/




jgrowl integration

2015-01-21 Thread pierre.gaudin

Hi all,

I've been working on Jgrowl integration for a project. 
(https://github.com/stanlemon/jGrowl)


This allow to display system's messages in a popup at the top of the 
windows even if you scroll. This is also useful for ajax call because 
there is no need to scroll to the top of the screen to view message.
Message can stick to the screen until it is intentionally closed by the 
user or not.


I can create a jira and provide screenShots if there is any interest

Pierre

--
Pierre Gaudin
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre

Société Néréide
3b Les isles
37270 Veretz
http://www.nereide.fr
Tel : 09 74 53 36 12
Mob : 06 08 40 25 70

Membre d'OFBiz-France
http://www.ofbiz-fr.org




Re: jgrowl integration

2015-01-21 Thread pierre.gaudin

Hi Pierre,

Done.

Please find screenshots as attachement of the JIRA.

Thanks,

Pierre

On 21/01/2015 12:11, Pierre Smits wrote:

Hi Pierre,

Screenshots of the tool in action might help the reception of your proposal and 
the discussion.

Best regards,

Pierre

Verstuurd vanaf mijn iPad


Op 21 jan. 2015 om 10:21 heeft pierre.gaudin pierre.gau...@nereide.fr het 
volgende geschreven:

Hi all,

I've been working on Jgrowl integration for a project. 
(https://github.com/stanlemon/jGrowl)

This allow to display system's messages in a popup at the top of the windows 
even if you scroll. This is also useful for ajax call because there is no need 
to scroll to the top of the screen to view message.
Message can stick to the screen until it is intentionally closed by the user or 
not.

I can create a jira and provide screenShots if there is any interest

Pierre

--
Pierre Gaudin
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre

Société Néréide
3b Les isles
37270 Veretz
http://www.nereide.fr
Tel : 09 74 53 36 12
Mob : 06 08 40 25 70

Membre d'OFBiz-France
http://www.ofbiz-fr.org





--
Pierre Gaudin
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre

Société Néréide
3b Les isles
37270 Veretz
http://www.nereide.fr
Tel : 09 74 53 36 12
Mob : 06 08 40 25 70

Membre d'OFBiz-France
http://www.ofbiz-fr.org




Re: Help needed to update an OFBiz Wiki Graffle Diagram

2014-12-16 Thread pierre.gaudin

Hi all,

There is a tool : UFO (UML for OFBIz) that have been developed to make 
UML diagrams from OFBiz XML entity definition :

http://ufo.labs.libre-entreprise.org/UFO/index.html
http://www.neogia.org/wiki/index.php/U.F.O.

We use it for a long time and it works well. It's on GPL licence but may 
be it can be set to Apache licence.


Pierre
On 16/12/2014 05:38, Jacques Le Roux wrote:
The graphs at 
https://cwiki.apache.org/confluence/display/OFBTECH/Data+Model+Diagrams were 
done using OmniGraffle, that's all what I know. Are you referring to 
other places (IIRW other places are older...)


Jacques

Le 15/12/2014 20:37, Ron Wheeler a écrit :
Others may have more definite information about what has been used in 
the past.


I have seen UML(use case) drawings in the wiki that use the same (or 
very similar) graphics that ArgoUML uses.

ArgoUML is open source
We are only scratching the surface in our internal use of it so I am 
not an expert modeller but it looks like something that an 
experienced UML modeler should be able to use to get most of the 
diagrams required to support development.


It would be nice to have a product that deals with the issue of 
version control and SCM for models in a way that allowed many people 
to update the models.
It is probably possible to partition the model into enough chunks 
that people can keep the models up to date without tripping over each 
other.


There are a lot of database models already part of the documentation 
but I am not sure if they are up to date.

I also do not know what tool was used to make them
We use MySQL Workbench which is free and produces diagrams that are 
pretty aesthetically pleasing.




Ron




On 15/12/2014 1:56 PM, Todd Thorner wrote:

I'm sold ... for what that's worth.  Is there any UML-type facility for
the project's future of design  spec-chasing?



On 14-12-15 10:41 AM, Ron Wheeler wrote:

On 15/12/2014 1:30 PM, Todd Thorner wrote:

Yeah, graphs  charts represent special cases.

For the first applications of our ETVL, org charts were a very useful
output since we were dealing with people in organizations where a 
clean
hierarchy is the common way that companies are organized. It was 
useful

to have the organizational structure (departments, divisions, etc) as
well as reporting relationships between people.

Graphviz is capable of producing very complex charts and has a fair
amount of language features to support customizing the appearance.

Ron




On 14-12-15 09:49 AM, Ron Wheeler wrote:
If people don't like the idea of using the Graphviz version that 
I made,
there is a viewer for graffle that runs on the PC. Not sure if 
any of

their other free utilities will output an SVG.
Graphviz can outout SVG.
I am not sure if it would be easy to use svg as a source.

Graphviz offers high level control over placement that usually 
gives a

clean graph without having to manually place nodes.

I have just started to use the dynamic javascript version of 
graphviz in

my ETVL tool to output org charts embedded into HTML pages from
hierarchical data.
Works fine but the org charts are not as nice looking as 
GetOrgChart's
charts and GetOrgChart produces a chart that can be interrogated 
in the
browser to view the detail information stored at each node so I 
support

both ways of generating charts in HTML format.

Ron

On 15/12/2014 12:04 PM, Todd Thorner wrote:

What happens if you change a .graffle file's extension to something
else
like SVG or XML?  Any luck?  I know very little about Mac 
lock-ins, but
if you can get a text-based file to display (e.g. if .graffle is 
.xml

underneath) you might be able to edit the text.

You could also try taking a screenshot and then editing that by
overlaying the newer links on top of the old image. Quality might
suffer.

Perhaps committers could consider SVG as a forward-thinking 
standard
format for the project's graphical source files 
(production-ready files

can be exported as whatever).  My preferred tool is Inkscape
(Windows/Mac/Linux).



On 14-12-15 06:33 AM, Ron Wheeler wrote:

Can we move them to open source products such as  Open Office or
ArgoUML
or Freeplane?
These run on all platforms and are all free.

Ron

On 15/12/2014 7:30 AM, Sharan-F wrote:

Hi All

Does anyone in the community have access to Graffle on a Mac 
who is

willing
to help us update one of our wiki diagrams?

The diagram that needs to be updated is called
OFBizComponentDependencies.graffle (see link below)

https://cwiki.apache.org/confluence/pages/viewpageattachments.action?pageId=7766065metadataLink=true 





https://cwiki.apache.org/confluence/pages/viewpageattachments.action?pageId=7766065metadataLink=true 






It forms part of the page around Component Set and Component Set
Dependencies page that we want keep up to date.

https://cwiki.apache.org/confluence/display/OFBIZ/Component+and+Component+Set+Dependencies 






We need to update some links so please respond if you can help.

Thanks
Sharan




--
View this 

Re: Help needed to update an OFBiz Wiki Graffle Diagram

2014-12-16 Thread pierre.gaudin

Hi Ron
On 16/12/2014 15:14, Ron Wheeler wrote:
Looks very nice. The blue shading is a bit too much when the images 
are posted on the wiki - I did find one in my searching and it was 
hard to read the entity name since the black did not have enough 
contrast with the blue.

Thanks.
You can change the background color for each entity.


http://ufo.labs.libre-entreprise.org/UFO/screenshots.html does not 
show all of the UML drawings that one would like to have.

Use case, Sequence, Activity are not shown.
Sorry, i didn't notice that you also need use case, sequence... UFO is 
only for Entity.


Pierre


It looks really good as an ER tool.
Does anyone know which one was used to make the ER diagrams in the Wiki?

Ron

On 16/12/2014 3:24 AM, pierre.gaudin wrote:

Hi all,

There is a tool : UFO (UML for OFBIz) that have been developed to 
make UML diagrams from OFBiz XML entity definition :

http://ufo.labs.libre-entreprise.org/UFO/index.html
http://www.neogia.org/wiki/index.php/U.F.O.

We use it for a long time and it works well. It's on GPL licence but 
may be it can be set to Apache licence.


Pierre
On 16/12/2014 05:38, Jacques Le Roux wrote:
The graphs at 
https://cwiki.apache.org/confluence/display/OFBTECH/Data+Model+Diagrams 
were done using OmniGraffle, that's all what I know. Are you 
referring to other places (IIRW other places are older...)


Jacques

Le 15/12/2014 20:37, Ron Wheeler a écrit :
Others may have more definite information about what has been used 
in the past.


I have seen UML(use case) drawings in the wiki that use the same 
(or very similar) graphics that ArgoUML uses.

ArgoUML is open source
We are only scratching the surface in our internal use of it so I 
am not an expert modeller but it looks like something that an 
experienced UML modeler should be able to use to get most of the 
diagrams required to support development.


It would be nice to have a product that deals with the issue of 
version control and SCM for models in a way that allowed many 
people to update the models.
It is probably possible to partition the model into enough chunks 
that people can keep the models up to date without tripping over 
each other.


There are a lot of database models already part of the 
documentation but I am not sure if they are up to date.

I also do not know what tool was used to make them
We use MySQL Workbench which is free and produces diagrams that are 
pretty aesthetically pleasing.




Ron




On 15/12/2014 1:56 PM, Todd Thorner wrote:
I'm sold ... for what that's worth. Is there any UML-type facility 
for

the project's future of design  spec-chasing?



On 14-12-15 10:41 AM, Ron Wheeler wrote:

On 15/12/2014 1:30 PM, Todd Thorner wrote:

Yeah, graphs  charts represent special cases.
For the first applications of our ETVL, org charts were a very 
useful
output since we were dealing with people in organizations where a 
clean
hierarchy is the common way that companies are organized. It was 
useful
to have the organizational structure (departments, divisions, 
etc) as

well as reporting relationships between people.

Graphviz is capable of producing very complex charts and has a fair
amount of language features to support customizing the appearance.

Ron




On 14-12-15 09:49 AM, Ron Wheeler wrote:
If people don't like the idea of using the Graphviz version 
that I made,
there is a viewer for graffle that runs on the PC. Not sure if 
any of

their other free utilities will output an SVG.
Graphviz can outout SVG.
I am not sure if it would be easy to use svg as a source.

Graphviz offers high level control over placement that usually 
gives a

clean graph without having to manually place nodes.

I have just started to use the dynamic javascript version of 
graphviz in

my ETVL tool to output org charts embedded into HTML pages from
hierarchical data.
Works fine but the org charts are not as nice looking as 
GetOrgChart's
charts and GetOrgChart produces a chart that can be 
interrogated in the
browser to view the detail information stored at each node so I 
support

both ways of generating charts in HTML format.

Ron

On 15/12/2014 12:04 PM, Todd Thorner wrote:
What happens if you change a .graffle file's extension to 
something

else
like SVG or XML?  Any luck?  I know very little about Mac 
lock-ins, but
if you can get a text-based file to display (e.g. if .graffle 
is .xml

underneath) you might be able to edit the text.

You could also try taking a screenshot and then editing that by
overlaying the newer links on top of the old image. Quality might
suffer.

Perhaps committers could consider SVG as a forward-thinking 
standard
format for the project's graphical source files 
(production-ready files

can be exported as whatever).  My preferred tool is Inkscape
(Windows/Mac/Linux).



On 14-12-15 06:33 AM, Ron Wheeler wrote:

Can we move them to open source products such as  Open Office or
ArgoUML
or Freeplane?
These run on all platforms and are all free.

Ron

On 15/12/2014 7:30 AM

Specific theme for a component

2014-10-24 Thread pierre.gaudin

Hi all,

I have created a new component and i'd wish to use a specific theme for 
this component. I also wish to force all users to use this theme for 
this component and only this component.
I have a look at OFBiz documentation and the only way to do so is to 
create a productstore and associate it to the theme... but i think It's 
not the right way for a component.


Is there a way to do that?
I think that webapp definition should be the right place

Regards,

Pierre

--
Pierre Gaudin
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre

Société Néréide
3b Les isles
37270 Veretz
http://www.nereide.fr
Tel : 09 74 53 36 12
Mob : 06 08 40 25 70

Membre d'OFBiz-France
http://www.ofbiz-fr.org




Re: Specific theme for a component

2014-10-24 Thread pierre.gaudin

Hi Adrian,

I have seen this code in the GlobalActions decorator before i asked this 
question, but i didn't think to override the value in the context from 
my component's application decorator...


Thank you for the trick, I'll try and give you feedback.

Many thanks Adrian.

Pierre

On 24/10/2014 11:47, Adrian Crum wrote:
In framework/common/widget/CommonScreens.xml, you will find the 
GlobalActions screen widget - where the visual theme data is loaded 
into the screen rendering context.


The trick will be to copy the visual theme specific code:

set field=visualThemeId from-field=userPreferences.VISUAL_THEME 
global=true /

service service-name=getVisualThemeResources
  field-map field-name=visualThemeId /
  field-map field-name=themeResources from-field=layoutSettings /
/service
set field=layoutSettings from-field=themeResources 
default-value=${layoutSettings} global=true /


to your component's application decorator screen (in the component's 
CommonScreens.xml file), then modify the code to use your theme:


set field=visualThemeId value=MY_THEME global=true /

There may be problems due to action element execution order, so you 
might have to experiment to find the right location in the decorator 
to insert the visual theme loading code.


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/24/2014 10:06 AM, pierre.gaudin wrote:

Hi all,

I have created a new component and i'd wish to use a specific theme for
this component. I also wish to force all users to use this theme for
this component and only this component.
I have a look at OFBiz documentation and the only way to do so is to
create a productstore and associate it to the theme... but i think It's
not the right way for a component.

Is there a way to do that?
I think that webapp definition should be the right place

Regards,

Pierre






--
Pierre Gaudin
Consultant Fonctionnel Apache-OFBiz, ERP en logiciel Libre

Société Néréide
3b Les isles
37270 Veretz
http://www.nereide.fr
Tel : 09 74 53 36 12
Mob : 06 08 40 25 70

Membre d'OFBiz-France
http://www.ofbiz-fr.org




Re: Theme bootstrap

2014-10-10 Thread pierre.gaudin

Hi Julien,

I'd like to work with you and other on this subject !

Pierre

On 10/10/2014 09:21, Julien NICOLAS wrote:

Hi,

I'm working on a basic bootstrap theme for OFBiz.
My goal is that OFBiz project uses bootstrap standard classes to work.

I encountered some issues that I've fixed. The problem is that I 
change the framework and if I want to share my work with the 
community, it could be better to do it in the best way.


I know that it's a task in the roadmap, so I hope somebody is already 
working on or waiting for team mate :)


I'm actually focused on :
- Portlet-widget structure
- KeywordSearchform
- Multi-menu management

Who can help me on this topic ?

Thanks by advanced,

Julien.





Re: Remove Menu Items

2013-03-29 Thread pierre.gaudin

You can also remove webapp declaration for AR and AP.

Pierre

On 29/03/2013 08:36, Hans Bakker wrote:

Sure can do, however the ap/ar can still be reached by typing in the url.

So, why not add some security rules to achieve what you want and 
create a jira for it?


An excellent chance to become an OFBiz contributor!

Regards,
Hans


On 03/28/2013 04:21 PM, Sumit Pandit wrote:
Hi Hans, There is a concern for the case, since no specific 
permission exist for AR/AP components, the base permission is 
ACCOUNTING.

Admin want to display Accounting but not AR and AP.
Therefore for such cases, Is setting up the value of 
app-bar-display to false could considered as preferable solution?









Re: Bigdecimal divide causes not terminating decimal

2013-01-11 Thread pierre.gaudin

Hi,

Javadoc says :
if the exact quotient cannot be represented (because it has a 
non-terminating decimal expansion) an |ArithmeticException| is thrown.


You should use divide method with rouding parameter :
  divide(divisor, roundingMode)

Pierre
On 11/01/2013 11:30, Deepak Agarwal wrote:

InvoiceServices.java :

billingAmount =
billingAmount.subtract(amountAlreadyIncluded.divide(billingQuantity));

This sometimes causes non terminating decimal problem. Should we use
instead:

billingAmount = billingAmount.subtract(new
BigDecimal(amountAlreadyIncluded.doubleValue()/(billingQuantity.doubleValue(;





Re: Production Setup XML

2012-11-30 Thread pierre.gaudin

Hi Martin,

Maybe  you can do an xml export of your data from ofbiz tools and then 
remove or modify values ?


Pierre
On 30/11/2012 10:03, Martin Kaiser wrote:

Hi all,

I'm just setting up an production environment and I want to load some data
similar to the demo data but with my own company data into ofbiz while
installing it. Is there somewhere a demo/template XML file which I could
adjust to fit my needs, or do I have to go through all folders finding the
demo data, copying it and making it available through the ext data reader?

Thanks.

Best regards,
Martin





Re: Production Setup XML

2012-11-30 Thread pierre.gaudin

Hy martin,

#1 If you don't want to spend time to understand what you are doing, 
then you can use entity xml export :

   - run seed reader
   - run demo reader (by webtools)
   - export with filter on date time creation
By this way you get only demo data.

#2 If you want to understand what you are doing, then this is the job of 
integration and it takes times and expertise.
I create a new xml files from scratch in which i copy and modify xml 
lines from demo data files that i want to use. The first time you do the 
job it takes a long time. But it can be reuse for next integration.


Pierre


On 30/11/2012 10:51, Martin Kaiser wrote:

Hi Pierre,

thank you. I did this, and now I have a folder with around 500 XMLs
containing all the data. So this means that I will have a lot of work
looking which data is required and which I could throw away. Also this
gives me the seed data, which is already present in the installation.

I just only want the minimal things required to successfully deploy OFBiz.
So this is setting up the company, an administrator account, and beeing
able to use all the components that come with OFBiz. But I don't know which
files of the demo data I have to modify to achive this.

How can I do a plain installation of OFBiz with only the minimal
requirements to login and one single company? How do you this?

best,
Martin


On 30 November 2012 10:15, pierre.gaudinpierre.gau...@nereide.fr  wrote:


Hi Martin,

Maybe  you can do an xml export of your data from ofbiz tools and then
remove or modify values ?

Pierre

On 30/11/2012 10:03, Martin Kaiser wrote:


Hi all,

I'm just setting up an production environment and I want to load some data
similar to the demo data but with my own company data into ofbiz while
installing it. Is there somewhere a demo/template XML file which I could
adjust to fit my needs, or do I have to go through all folders finding the
demo data, copying it and making it available through the ext data reader?

Thanks.

Best regards,
Martin






Re: Liferay and OFBiz

2012-08-03 Thread pierre.gaudin

Hi Selma,

You can find a useful cookbook writing by Ruth Hoffman  on this subject.
Here is a link to get an extract of this book : 
http://www.packtpub.com/article/web-services-apache


Pierre

On 02/08/2012 04:47, SelmaoO wrote:

Hello Aakash,


I have got rid of my problem by reinstalling Ofbiz (I changed my jdk to
version 1.7 to version 1.6 as Mr Jacques Le Roux told me) and everything
goes well . but since I had no occasion in my career to work with the
web service, I found a difficulty in understanding any statement in the java
class of the link that you gave me (https://cwiki.apache.org/ OFBiz / ​
ofbiz-service-calling-from-using-liferay-soap.html) .. for example:
1-endpoint = http://hostname:8080/webtools/control/SOAPService;; ==
SOAPService it contains:
** **
This XML File does not APPEAR To Have Any style information associated with
it. The document tree is Shown below.
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
soapenv:Body
response
map-Map
map-Entry
map-key
std-String value=errorMessage/
/ map-Key
map-Value
std-String value=Problem processing the service/
/ map-Value
/ map-Entry
/ map-Map
/ Response
/ soapenv: Body
/ soapenv: Envelope
***
with this xml code seems to me there is a problem, right?!

2-th input of the method ServiceCall called OrderId ,is it the variable
comming from the first jsp page ?!

if you or someone else has an idea, I'd be very grateful for helping me and
thank you very much..


Kind regards.
selma.



-
Don't allow yourself to wake up with yesterday's issues troubling your 
mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to 
follow your heart and intuition for they already know what you want to 
become.In your heart of heart's you know what needs to be done.
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Liferay-and-OFBiz-tp146626p4635429.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: Ofbiz WEb Service call from Standalone Java Client

2012-03-01 Thread pierre.gaudin

Hi,

Look at :
https://cwiki.apache.org/OFBIZ/calling-ofbiz-services-from-liferay-using-soap.html
#3 give you the solution.

Pierre
On 01/03/2012 06:28, rahul kumar wrote:

Hello sanjaya,
   Can u tell me the steps how to generate the wsdl file in ofbiz, bcz
iam unable to genarate the wsdl file in ofbiz .

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-WEb-Service-call-from-Standalone-Java-Client-tp3213379p4434097.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: OFBIZ -- BigFish eCommerce Platform

2012-02-19 Thread pierre.gaudin

On 18/02/2012 18:37, Nick Rosser wrote:

To be honest we've been so busy building the platform that we've not given this 
a great deal of consideration. Ultimately there are no restrictions, we are 
looking for feedback and more importantly adopters. I guess this would 
ultimately put it under the apache open source licensee, or something very 
similar, very open, with adopters permitted to do whatever they want with what 
we've done, make local extensions, make contributions back to us, etc.

Over the next few weeks we'll look not this some more and make it more official.

Best regards,

Nick Rosser
nros...@salmonllc.com
516.901.1720

Sent from my iPad

On Feb 18, 2012, at 10:45 AM, pierre.gaudinpierre.gau...@nereide.fr  wrote:


OK, even if it is an open source project, there should be a license to know in 
which context we can use what was developed.

Pierre
On 18/02/2012 16:22, Nick Rosser wrote:

Available as open source. We may develop some enterprise components to generate 
some revenue. The download section will be updated early next week so you can 
download and run locally (it's woefully out of date right now). We'll notify 
via the mailing group when it's ready.

Best regards,

Nick Rosser
nros...@salmonllc.com
516.901.1720

Sent from my iPad

On Feb 18, 2012, at 9:23 AM, pierre.gaudinpierre.gau...@nereide.fr   wrote:


It is interesting. I made a fast tour of the demo back office and the 
packaged aspect is very interesting.

I know that this question have been already asked without any reponse: what is 
the license?

Pierre

On 17/02/2012 22:47, Len Shein wrote:

To check out features, benefits and demos please visit our dedicated BigFish
website:



http://bigfish.salmonllc.comhttp://bigfish.salmonllc.com/



The most complete demo is the Fashion House instance. The power and
flexibility of the solution is more obvious when you play with the Admin
Module.



Fashion House eCommerce:

http://bigfish.salmonllc.com:8082/osafe/control/main



Fashion House Admin Module:

https://bigfish.salmonllc.com:8442/osafe-admin/control/main



You'll need to accept a certificate for the Admin Module. Use ofbiz/admin as
the login.



Comments, thoughts, questions always welcome.





Thank You



Len Shein



Salmon LLC

lsh...@salmonllc.com



516.742.7888








Re: OFBIZ -- BigFish eCommerce Platform

2012-02-18 Thread pierre.gaudin
OK, even if it is an open source project, there should be a license to 
know in which context we can use what was developed.


Pierre
On 18/02/2012 16:22, Nick Rosser wrote:

Available as open source. We may develop some enterprise components to generate 
some revenue. The download section will be updated early next week so you can 
download and run locally (it's woefully out of date right now). We'll notify 
via the mailing group when it's ready.

Best regards,

Nick Rosser
nros...@salmonllc.com
516.901.1720

Sent from my iPad

On Feb 18, 2012, at 9:23 AM, pierre.gaudinpierre.gau...@nereide.fr  wrote:


It is interesting. I made a fast tour of the demo back office and the 
packaged aspect is very interesting.

I know that this question have been already asked without any reponse: what is 
the license?

Pierre

On 17/02/2012 22:47, Len Shein wrote:

To check out features, benefits and demos please visit our dedicated BigFish
website:



http://bigfish.salmonllc.comhttp://bigfish.salmonllc.com/



The most complete demo is the Fashion House instance. The power and
flexibility of the solution is more obvious when you play with the Admin
Module.



Fashion House eCommerce:

http://bigfish.salmonllc.com:8082/osafe/control/main



Fashion House Admin Module:

https://bigfish.salmonllc.com:8442/osafe-admin/control/main



You'll need to accept a certificate for the Admin Module. Use ofbiz/admin as
the login.



Comments, thoughts, questions always welcome.





Thank You



Len Shein



Salmon LLC

lsh...@salmonllc.com



516.742.7888








Re: Pages display is slower / progressive

2012-01-05 Thread pierre.gaudin

HI Jacques and Eric,

I think Eric is right. Page display are slower due to lookup display by 
Jquery. If there are many lookup on a page, display is slower and 
progressive because each time a lookup is diplay a query is done to the 
server...

You can see request with firebug.

I don't know why a query to the server is needed just to display a lookup...


Pierre

On 06/01/2012 06:56, Jacques Le Roux wrote:

Hi Eric,

I guess you have tested with both versions on the same server?
Because it's the 1st time a such report is done

I'd 1st check for a configuration change. You are not using a cluster?

Jacques

From: Eric de Maulde eric...@free.fr

Hi,

I updated my ofbiz with the official trunk (version  1220649).

Now pages display is slower and/or progressive.

The current test version 1220649 is on test.fabiance.eu
(this test server is slower than the production server)

The production server is on www.fabiance.fr (Old trunk version 1170985 :
page speed is OK)

The first slowness is between header and menu.

Has calling a screen become slower or has configuration/code changed ?

My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6
Thanks

Eric








Re: Ofbiz - Multi Tenant support

2011-11-04 Thread pierre.gaudin

Excepted for portal pages ...

Pierre

On 04/11/2011 22:21, Jacques Le Roux wrote:

You could make (a) screen(s) specific to a tenant but by default it isn't

Jacques

Sasi Paul (Director Engineering) wrote:

Hi,
I have configured Ofbiz in Multi-tenant mode.  Its working well with 
Tenant ID directing to separate data sources.


Just wanted to know if I change any screen, will it be tenant 
specific or will it be visible for both tenants.


Regards,
Sasi

Director of Engineering
Cura Software Solutions






Re: Ofbiz Promotions

2011-09-22 Thread pierre.gaudin

Hi
On 22/09/2011 07:44, deb.pa...@tcs.com wrote:

Hello All,

I have started exploring the Promo, Section but could not find the
solution for below case.I am trying to implement the below case in
Promotions. I reckon this may have been addressed or already existent.

Case Study1:For every 2 products of Category A, get a product X free...
I tried the following Approach
Condn:X quantity of product is greater than 2, Condn Categories - All
include Subset - Y for Category A
Action:Gift with Purchase , Quantity 1 , Product X

The problem is when there are 4 products in cart of Category A, it is
still gifting only 1 quantity of Prod X.  The gift  quantity is not
increasing as per the multiples of 2...It is only giving one gift.
For 2 prods - gift 1
For 4 prods - gift 2
For 6 prods - gift 3
Gyst:How to apply the multiple of X quantity of product.

You should empty field Use Limit Per Order

Case Study2: Apply promotions, when Category A(e.g. Jewellery)  product(s)
net weight is greater than X gms.
Any configurable options..
At this time there is no promotion condition on weight or feature. It 
could be a great improvement.


Pierre

Also as I am new, please let me know how to track new changes and if
possible help out with solutions.

Regards,
Debabrata Panda
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you







Re: question about product included quantity

2011-07-20 Thread pierre.gaudin

OK, thanks BJ

Pierre
On 18/07/2011 15:04, BJ Freeman wrote:

the explanation does not go quite far enough.
Product.piecesIncluded and supplierProduct.unitsIncluded are used for
converstion. this is done at receiving time most of the time. This may
change if the company preference is to store inventory as it is received
then make the conversion when shipped. This is important when doing
physical inventory reconciliation.

pierre.gaudin sent the following on 7/18/2011 2:57 AM:

Many thanks Martin for this thread. It's a good explanation  !

Pierre
On 18/07/2011 09:09, Martin Kreidenweis wrote:

Hi,


Is there any diferrence between product.quantityIncluded and
product.piecesIncluded

I know that product.piecesIncluded is used for alternativ package but
is there any reason to get 2
fields ?

David has a good explanation here:
http://ofbiz.markmail.org/message/tvyghkw7rgq5bmqi?q=quantityIncluded+piecesIncluded


Martin





question about product included quantity

2011-07-17 Thread pierre.gaudin

Hy all,

Is there any diferrence between product.quantityIncluded and 
product.piecesIncluded


I know that product.piecesIncluded is used for alternativ package but is 
there any reason to get 2 fields ?


Thanks

Pierre


Re: drag and drop in portal paga

2011-05-23 Thread pierre.gaudin

Hi Sascha,

I tested it on the trunck and that works very well!

Many thanks !!

Pierre
On 20/05/2011 08:11, Sascha Rodekamp wrote:

Hi Pierre,
it's done. It's now possible to select text on Portal d'n' portlets. Let me
know if you need any further support on that (or any other stuff :))

Have a good day






Re: drag and drop in portal paga

2011-05-06 Thread pierre.gaudin

Hi Sascha,

Sorry for this late return, I was in vacations.

I have just tested the modification and that works very well. I think 
however that there is a problem because the copy on form is always 
disable. Do you know how to fix it?


Regards

Pierre
On 02/05/2011 19:31, Sascha Rodekamp wrote:

Hi Pierre, hi Bruno

i committed the changes @Rev. 1098671

The portlets are now only dragable at the title bar.

Have a good day
Sascha





Re: drag and drop in portal paga

2011-05-06 Thread pierre.gaudin

Hi Sascha,

Many thanks for this work ! I'm not a jQuery guru yet...

Pierre

On 06/05/2011 10:02, Sascha Rodekamp wrote:

Hi Pierre,
hope you had good vacations.
that sounds like a strange D'n'D behavior from jQuery related to the
dragable area.

I'll investigate this and fix the issue.

Have a good day
Cheers
Sascha

2011/5/6 pierre.gaudinpierre.gau...@nereide.fr


Hi Sascha,

Sorry for this late return, I was in vacations.

I have just tested the modification and that works very well. I think
however that there is a problem because the copy on form is always disable.
Do you know how to fix it?

Regards

Pierre

On 02/05/2011 19:31, Sascha Rodekamp wrote:


Hi Pierre, hi Bruno

i committed the changes @Rev. 1098671

The portlets are now only dragable at the title bar.

Have a good day
Sascha








Re: drag and drop in portal paga

2011-04-27 Thread pierre.gaudin

Hi Sacha,

Thank you for your answer.

In fact I wonder which feature is the most important, to allow the drag 
and drop or to allow the copy of one field.


Is it possible to have both??

In my opinion the fact of not allowing to make a copy from a form is a 
regression.


Pierre


On 27/04/2011 11:10, Sascha Rodekamp wrote:

Hi Pierre,

no that's correct the D'n'D function is also available on the user page not
only on the admin page.
But you can simply disable this by commanding out the myportal.js in the
PortalPageScreens.xml#showPortalPage

Hava a good day
Sascha

2011/4/26 pierre.gaudinpierre.gau...@nereide.fr


Hi all,

I'm trying my portal page at 
https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt;
and i find a strange behaviour... When you try to copy a label or something
on a widget you can't do it because it start dragging the form...

May be I forget something but I do not understand why you can drag forms in
the final view. Should it be possible only in admin view ?

Regards,

Pierre









Re: drag and drop in portal paga

2011-04-27 Thread pierre.gaudin

Hi Sacha,

That's exactly what i was thinking about. I have a look at JIRA 
dashboard and the drag and drop is available only on head line.


I think that the better way is what you said  :

add only an icon which reacts on the event

By this way there is no risk to move the form Involuntarily.

Pierre

On 27/04/2011 13:43, Sascha Rodekamp wrote:

Hi Pierre,

hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first
implementation the widget was only dragable on the head line. So that mean
we could change the area which reacts on the mouse press  hold event.

We could also add only an icon which reacts on the event. The use can then
only use the icon to grab the widget.

Sascha


2011/4/27 pierre.gaudinpierre.gau...@nereide.fr


Hi Sacha,

Thank you for your answer.

In fact I wonder which feature is the most important, to allow the drag and
drop or to allow the copy of one field.

Is it possible to have both??

In my opinion the fact of not allowing to make a copy from a form is a
regression.

Pierre


On 27/04/2011 11:10, Sascha Rodekamp wrote:


Hi Pierre,

no that's correct the D'n'D function is also available on the user page
not
only on the admin page.
But you can simply disable this by commanding out the myportal.js in the
PortalPageScreens.xml#showPortalPage

Hava a good day
Sascha

2011/4/26 pierre.gaudinpierre.gau...@nereide.fr

  Hi all,

I'm trying my portal page at 

https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt

and i find a strange behaviour... When you try to copy a label or
something
on a widget you can't do it because it start dragging the form...

May be I forget something but I do not understand why you can drag forms
in
the final view. Should it be possible only in admin view ?

Regards,

Pierre










Re: drag and drop in portal paga

2011-04-27 Thread pierre.gaudin

Hi Sascha,

I'm not an expert in js...  but i'll try to propose a patch on this feature.

Good vacation !!

Pierre


On 27/04/2011 14:32, Sascha Rodekamp wrote:

Hi Pierre,
yea i can do that. But not before next week (because i'm on vacation at the
moment :-))

But if you like to implement ... feel free ;)

Have a good day
Sascha

2011/4/27 pierre.gaudinpierre.gau...@nereide.fr


Hi Sacha,

That's exactly what i was thinking about. I have a look at JIRA dashboard
and the drag and drop is available only on head line.

I think that the better way is what you said  :


add only an icon which reacts on the event


By this way there is no risk to move the form Involuntarily.

Pierre

On 27/04/2011 13:43, Sascha Rodekamp wrote:


Hi Pierre,

hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first
implementation the widget was only dragable on the head line. So that mean
we could change the area which reacts on the mouse press   hold event.

We could also add only an icon which reacts on the event. The use can then
only use the icon to grab the widget.

Sascha


2011/4/27 pierre.gaudinpierre.gau...@nereide.fr

  Hi Sacha,

Thank you for your answer.

In fact I wonder which feature is the most important, to allow the drag
and
drop or to allow the copy of one field.

Is it possible to have both??

In my opinion the fact of not allowing to make a copy from a form is a
regression.

Pierre


On 27/04/2011 11:10, Sascha Rodekamp wrote:

  Hi Pierre,

no that's correct the D'n'D function is also available on the user page
not
only on the admin page.
But you can simply disable this by commanding out the myportal.js in the
PortalPageScreens.xml#showPortalPage

Hava a good day
Sascha

2011/4/26 pierre.gaudinpierre.gau...@nereide.fr

  Hi all,


I'm trying my portal page at 


https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt

and i find a strange behaviour... When you try to copy a label or
something
on a widget you can't do it because it start dragging the form...

May be I forget something but I do not understand why you can drag
forms
in
the final view. Should it be possible only in admin view ?

Regards,

Pierre











Re: drag and drop in portal paga

2011-04-27 Thread pierre.gaudin

Hi Bruno,

If you try on demo to drag portlet and then reload the page, portlet are 
not display at there original position and new position are recorded 
into DB.


Pierre

On 27/04/2011 19:50, Bruno Busco wrote:

Hi Sascha,
the drag and drop feature should be disabled while not in edit mode (i.e. in
Admin).

The reason is that when a user drags a portlet and drops it in a different
position he is trying to change the portalPage configuration in a permanent
mode. This is not possible while not in edit mode.

When you are not in edit mode and you reload the page you will see that the
portlet is displayed in its original position because the change has not
been written in the DB.

-Bruno


2011/4/27 Sascha Rodekampsascha.rodekamp.lynx...@googlemail.com


Hi Pierre,

no that's correct the D'n'D function is also available on the user page not
only on the admin page.
But you can simply disable this by commanding out the myportal.js in the
PortalPageScreens.xml#showPortalPage

Hava a good day
Sascha

2011/4/26 pierre.gaudinpierre.gau...@nereide.fr


Hi all,

I'm trying my portal page at 


https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt


and i find a strange behaviour... When you try to copy a label or

something

on a widget you can't do it because it start dragging the form...

May be I forget something but I do not understand why you can drag forms

in

the final view. Should it be possible only in admin view ?

Regards,

Pierre





--

Sascha Rodekamp
Visit the new german OFBiz Blog: http://www.ofbiz.biz
Lynx-Consulting GmbH
Johanniskirchplatz 6
D-33615 Bielefeld
http://www.lynx.de





drag and drop in portal paga

2011-04-26 Thread pierre.gaudin

Hi all,

I'm trying my portal page at 
https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt; 
and i find a strange behaviour... When you try to copy a label or 
something on a widget you can't do it because it start dragging the form...


May be I forget something but I do not understand why you can drag forms 
in the final view. Should it be possible only in admin view ?


Regards,

Pierre




Re: order decimal quantities of product

2011-04-15 Thread pierre.gaudin

Hi all,

No one has opinion about those suggestions ?

Pierre

On 13/04/2011 14:12, pierre.gaudin wrote:

Hi all,

The shopping cart let you add decimal quantities of product. This is a 
very good thing!


However it would be necessary to be able to deactivate this behavior 
and to forbid to add decimal quantities of product. Thus it would be 
necessary to add to the product sheet or at the level of the 
productStore a parameter indicating that the order of a decimal 
quantity for an article is not allowed. Default value should Yes.


There is also a problem of display(posting) at the level of the 
ecommerce (shopping cart and  widget  quick reorder ). It would be 
necessary to apply a roundness.


What do you think of those suggestions?

Pierre




Re: order decimal quantities of product

2011-04-15 Thread pierre.gaudin

Sorry Jacques, I didn't see your reply ...

I will suggest one patch soon.

Pierre

On 15/04/2011 11:42, pierre.gaudin wrote:

Hi all,

No one has opinion about those suggestions ?

Pierre

On 13/04/2011 14:12, pierre.gaudin wrote:

Hi all,

The shopping cart let you add decimal quantities of product. This is 
a very good thing!


However it would be necessary to be able to deactivate this behavior 
and to forbid to add decimal quantities of product. Thus it would be 
necessary to add to the product sheet or at the level of the 
productStore a parameter indicating that the order of a decimal 
quantity for an article is not allowed. Default value should Yes.


There is also a problem of display(posting) at the level of the 
ecommerce (shopping cart and  widget  quick reorder ). It would be 
necessary to apply a roundness.


What do you think of those suggestions?

Pierre






order decimal quantities of product

2011-04-13 Thread pierre.gaudin

Hi all,

The shopping cart let you add decimal quantities of product. This is a 
very good thing!


However it would be necessary to be able to deactivate this behavior and 
to forbid to add decimal quantities of product. Thus it would be 
necessary to add to the product sheet or at the level of the 
productStore a parameter indicating that the order of a decimal quantity 
for an article is not allowed. Default value should Yes.


There is also a problem of display(posting) at the level of the 
ecommerce (shopping cart and  widget  quick reorder ). It would be 
necessary to apply a roundness.


What do you think of those suggestions?

Pierre


webPOS connecting to devices question

2010-07-09 Thread pierre.gaudin

Hi all,

I am looking at the functionalities of the webPos and I wonder how the 
webpos can discuss with peripherals device (ie Credit Card Terminal) 
like the POS does.


Somebody has an idea of technologies which could be implemented.

Thank you in advance

Pierre

--
Pierre Gaudin,
Consultant Fonctionnel Neogia, Apache-OFBiz
ERP en logiciel Libre

Société Néréide
mobile : +33 (0)6 08 40 25 70
bureau : +33 (0)2 47 50 30 54
http://www.nereide.biz