Forum

Field customization
 
Notifications
Clear all

Field customization

9 Posts
2 Users
0 Reactions
4,381 Views
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 
[#5743]

Hi
Several points

1. Is it possible to rename menu such as "ticket" for example? (i have bought customization field plugin)
2. i would like to put a default value on a reference field but it seems that it does not work. How to proceed ?
3. i would like to display customer on a ticket, retrieved automatically from the concerned project, but it does not work, only a drop down list is available with all customers. How to proceed please ? Same thing that happen in QUOTE screen in reality... Or would it be possible to have a field "customer" displaying the customer from the requester?


 
Posted : 06 Feb 2019 14H34
(@babynus)
Posts: 14952
Member Admin
 

1. Is it possible to rename menu such as "ticket" for example? (i have bought customization field plugin)

Not with screen custo.
This is possible with "personalized translations"

2. i would like to put a default value on a reference field but it seems that it does not work. How to proceed ?

Default value is evaluated only on creation.
If you need a "calculated" field, set the field as readlony additionnaly to default value.

3. i would like to display customer on a ticket, retrieved automatically from the concerned project, but it does not work, only a drop down list is available with all customers. How to proceed please ? Same thing that happen in QUOTE screen in reality... Or would it be possible to have a field "customer" displaying the customer from the requester?

Possibly you can manage with default value...
- set field as readonly
- entrer default value as

###EVAL###(new Project($this->idProject))->idClient

 
Posted : 06 Feb 2019 18H40
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

Hi,

for point 3 i did what you told me but it does not work. Please see file attached


 
Posted : 08 Feb 2019 1H30
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

With files attached


 
Posted : 08 Feb 2019 1H31
(@babynus)
Posts: 14952
Member Admin
 

You mlust make some change on the item.
The default value won't be automatically applied to all existing items.


 
Posted : 08 Feb 2019 11H59
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

I'm sorry but i do not understand your reply. Which changes ? Which Item?


 
Posted : 08 Feb 2019 12H43
(@babynus)
Posts: 14952
Member Admin
 

You showed print for ticket #48.
Try and change it, anything will do (possible just save without any change will do the job, but I'm not sure)


 
Posted : 08 Feb 2019 13H45
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

Effectively, i just saved without any change and it works. why do i have to do that unitarily ? is there any solution?


 
Posted : 08 Feb 2019 15H03
(@babynus)
Posts: 14952
Member Admin
 

why do i have to do that unitarily ?

Because default value is applied on saving...

is there any solution?

Make a minor change (for instance add a space on description) with multiple update feature


 
Posted : 08 Feb 2019 17H44
Share:

Scroll to Top