This is not standard programming practices. The logic of a function
should be completely encapsulated in the function.
All you need to do is to have two calling parameters for currency, one
singular, and one plural.
Leigh
vra (openerp) wrote:
> Hello Leigh Willard,
>
> No we cannot maintain currency plural from this function.Because it is
> generic function and user can pass any currency name or code so it is
> very difficult to maintain this so it is better that user will maintain
> him/her self,if the amount is in single digit then user will not pass
> plural name.
>
> Thanks.
>
>
This is not standard programming practices. The logic of a function
should be completely encapsulated in the function.
All you need to do is to have two calling parameters for currency, one
singular, and one plural.
Leigh
vra (openerp) wrote:
> Hello Leigh Willard,
>
> No we cannot maintain currency plural from this function.Because it is
> generic function and user can pass any currency name or code so it is
> very difficult to maintain this so it is better that user will maintain
> him/her self,if the amount is in single digit then user will not pass
> plural name.
>
> Thanks.
>
>