Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Error when copy "Ac...
 
Notifications
Clear all

Error when copy "Action" into "Ticket" - customised screen

4 Posts
2 Users
0 Reactions
1,325 Views
(@amaz)
Posts: 36
Active Member
Topic starter
 
[#8265]

Hello,

I have customised the "Ticket" screen, in order to add a "facturation" section. (With customisation plugin)

The field "[colPIgFactYesOrNo]" is a boolean that is by default set at "on". 
No problem with this field that we use on a daily basis.

But when I want to copy an Action into a Ticket, I have the following error :
"Invalid controls.

value of field [colFactYesOrNo]='on' is not a valid numeric"

Do you have any idea of what's wrong and how I could do ?

Thanks in advance for your help,

Best Regards,

Anaïs

 


 
Posted : 13 May 2022 18H12
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

You should set default value to 1, as boolean possible values are 0 or 1.


 
Posted : 13 May 2022 19H46
(@amaz)
Posts: 36
Active Member
Topic starter
 

But in customisation plug in, I cannot set "1" as default value for a boolean, it does not work and makes an error message ("1" is not valid value for a boolean).
In documentation, I have found that the default value for a boolean is "on" an in fact, it works.

It is just this copy from action to tikcte that produces the bug...


 
Posted : 13 May 2022 19H56
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Indeed, there seem to be an issue.
'on' is the correct value to have the interface work, but is not a good value for copy.
We'll bring some fix.


 
Posted : 16 May 2022 0H42
Share:

Scroll to Top