Re: Create sales order without creating invoice and payment

2014-12-06 Thread Rong NGUYEN KHAC
Hi Nicolas,

Sorry for my imcomplete question.
I still want to use the feature: create automatically for some stores(one
store associate with one facility), and disable this feature for some
stores(one store associate with one facility). Because with some stores i
don't want to track their invoices and accounting transactions.


*-- *
*OFBiz Olbius Viet nam team*


Create sales order without creating invoice and payment

2014-12-06 Thread Rong NGUYEN KHAC
Hi,
I would like to create a sales order without creating invoice and payment.

Now i can create sales order and when changing order status to completed,
OFBiz create automatically invoice and payment.

Is there any setting or any way?
Any suggestions would be appreciated!

*--*
*OFBiz Olbius Viet nam team*


Re: Operating a single OFBiz with multiple companies.

2014-12-02 Thread Rong NGUYEN KHAC
Hi Wai,

Multitenant and multiorg are different.


*RONG NGUYEN (Mr)*

*OLBIUS FOUNDER**Email:* rong.nguyenk...@olbius.com | *Mobile:* (+84) 902
2468 45

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 
*Address: *Room 2508, M3-M4 building, No 91, Nguyen Chi Thanh St., Ha Noi
City, VietNam
*Website:* http://olbius.com

On Wed, Dec 3, 2014 at 1:35 AM, Wai  wrote:

> Are we talking about multitenant?
> Wai
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Operating-a-single-OFBiz-with-multiple-companies-tp4659173p4659291.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>


Operating a single OFBiz with multiple companies.

2014-11-29 Thread Rong NGUYEN KHAC
Hi Hans, Adrian

We are in the same case as Hans's case:  Operating a single OFBiz with
multiple companies



Did you solve this issue, Hans?
Please provide your solutions.


--
Olbius Viet Nam Team


OFBiz with HtmlEncoder

2014-11-28 Thread Rong NGUYEN KHAC
Hi,
OFBiz use HtmlEncoder:
  public static class HtmlEncoder implements SimpleEncoder {
public String encode(String original) {
return
StringUtil.defaultWebEncoder.encodeForHTMLAttribute(original);
}
}

and before return to client side, every String is processed by
using: StringUtil.htmlEncoder.encode();

The issue is the encoder encode every unicode character, for example:
The string: "Quản trị" will be encoded as “Quản trị ”
The browser display fine but javascript will know as “Q
uản trị ”
We can use StringUtil.wrapString but OFBiz have a lot of services,ftl... to
update
Is there anyway to solve this issue?
What happen if we replace "return
StringUtil.defaultWebEncoder.encodeForHTMLAttribute(original);" by "return
original" ?


Re: How to find numeric type

2014-10-22 Thread Rong NGUYEN KHAC
Thank Adrian,

Not good for my situation but it is the resolution.

*RONG NGUYEN (Mr)*

*OLBIUS FOUNDER**Email:* rong.nguyenk...@olbius.com | *Mobile:* (+84) 902
2468 45

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 
*Address: *Room 2508, M3-M4 building, No 91, Nguyen Chi Thanh St., Ha Noi
City, VietNam
*Website:* http://olbius.com

On Wed, Oct 22, 2014 at 5:20 PM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:

> mapCondition.put("quantity", BigDecimal.valueOf(123));
>
>
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
>
>
> On 10/22/2014 11:07 AM, Rong Nguyen wrote:
>
>> Hi,
>>
>> I have tried to search with numeric type but i encounter
>> java.lang.ClassCastException.
>>
>> *Scenario:*
>> 1. Quantity field in InvoiceItem entity has numeric type.
>> 2. Query command:
>> mapCondition.put("quantity", "123");
>> delegator.find("InvoiceItem", EntityCondition.makeCondition(
>> mapCondition),
>> null, null, null, null);
>> 3. I found flow of code after debugging:
>>
>> sqlP.setValue(handler, handler.getJavaClass().cast(fieldValue));  // row
>> 783
>>
>> public T cast(Object obj) {  // from row 2997
>> if (obj != null && !isInstance(obj))
>> throw new ClassCastException();  // The code cause CCE
>> return (T) obj;
>>  }
>>
>> Is there anyone encountered this issue?
>>
>>
>>
>> -
>> Rong Nguyen
>>
>> Olbius JSC
>> Deliver highest business value
>> http://www.olbius.com/
>> --
>> View this message in context: http://ofbiz.135035.n4.nabble.
>> com/How-to-find-numeric-type-tp4657235.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>
>>


Re: Welcome Sharan Foga as new committer

2014-07-24 Thread Rong NGUYEN KHAC
Good news,
Congratulations Sharan!


On Thu, Jul 24, 2014 at 2:18 PM, Jacopo Cappellato <
jacopo.cappell...@hotwaxmedia.com> wrote:

> This is just to inform you all that the OFBiz PMC has invited Sharan to
> become a new committer and she has accepted the invitation: welcome aboard
> Sharan!
>
> Thank you
>
> Jacopo


Re: Application submenu creation

2014-04-03 Thread Rong NGUYEN KHAC
Hi Julien,
Try "HtmlMenuRenderer.java" in "framework/widget/src/org/ofbiz/widget/html",
put some changes in  "renderLink" method, rebuild and view your desired
changes.
Your path is a good point to start!

*Rong Nguyen, Olbius JSC*
*195 Kham Thien - Viet Nam*

On Fri, Apr 4, 2014 at 4:39 AM, Julien NICOLAS wrote:

> Hi all,
>
> I try to create new theme and I would like to know where is defined the
> dropdown submenu html structure.
> My goal is to change div and ul sequence to match with bootstrap framework.
> I find something in framework/widget/src/org/ofbiz/widget/html but
> nothing that I try to modified work...
>
> What I can't understand is why this submenu is not defined in the .ftl as
> the application menu... I think I missed something important.
>
> My other track is to disable the automatic submenu definition for my theme
> and use .ftl to define my own submenu structure.
>
> Thanks for your help,
>
>
> Julien NICOLAS
> Nomaka
>


Re: Discussion: How to customize messages in ofbiz?

2014-03-23 Thread Rong NGUYEN KHAC
Thank Jacques alot, great man :-)
There are no other ways(in current context).

*RONG NGUYEN (Mr)*

*OLBIUS FOUNDER**Email:* rong.nguyenk...@olbius.com | *Mobile:* (+84) 902
2468 45

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 
*Address: *6th Fl., No 195, Kham Thien St., Ha Noi City, VietNam
*Website:* http://olbius.com


On Mon, Mar 24, 2014 at 12:51 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> I answered at https://issues.apache.org/jira/browse/OFBIZ-5587 to begin
> by having a look at framework/common/webcommon/includes/messages.ftl
>
> Actually it's "only"  a matter of passing error messages to this point. So
> there are no other ways than improving messages content or adding/fixing
> them if they miss.
>
> Like UI labels i18n of error messages is done in *ErrorUiLabels.xml
>
> HTH
>
> Jacques
>
> Le 17/03/2014 09:56, thangnguyen.Olbius a écrit :
>
>  I would like to customize messages in ofbiz in order to show clearer than
>> messages had used, such as error messages or information messages.
>> I knew we can using  or Java service or fix in groovy file
>> to
>> do it.
>> Have any other way to do it ? And what's the best solution resolve multi
>> language problem with messages (using XML, properties file, ...)?
>>
>>
>>
>> --
>> View this message in context: http://ofbiz.135035.n4.nabble.
>> com/Discussion-How-to-customize-messages-in-ofbiz-tp4649370.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>
>>