Disable field validation of custom line items when cart is modified
You need to search for this function (since your not giving full information about that custom module you have)

function nameOfModule_form_validate(&amp;$form_state, &amp;$form_id){


You can search inside that function where it is doing the validation