turn off inline editing for invoice number

Hi there,

When I try to turn off inline editing for the “number” field in module invoice, I get an error message (see attachment):

“Invalid Value: Reserved Keyword”

It seems to be thinking I’m adding a new field and thereby creating an error, as the name “number” is reserved… But I’m only trying to edit a parameter of this field!

Can anyone help me figure this out?

I managed to circumvent this problem (to my surprise):

created file custom/Extension/modules/AOS_Invoices/Ext/Vardefs/sugarfield_number.php
(duplicated on of the other files in the same folder)

with the following contents:

<?php
 // created: 2016-01-27 16:00:00 JD
$dictionary['AOS_Invoices']['fields']['number']['inline_edit']=false;
 ?>

After a Repair and Refresh the numbers field now has inline-edits deactivated!