Appointment is not to using the New Sequences

Hi community.

I have created new Sequence for the appointment that are related to specific company, but when I try to create new appointment related to that company it’s still using the main Sequences which not set to any specific company.

Then I figured out of disabling the main appointment Sequences and leaving the Sequences related to companies only, but it’s not working and show me the following message:

File “/trytond/ir/”, line 365, in get_id
sequence, =, limit=1)
ValueError: need more than 0 values to unpack

and If I enable both of them the system will just keep on using the original one!

What do you think the problem at?

Another bug message appeared

File “/trytond/modules/health/”, line 3418, in write
AttributeError: ‘NoneType’ object has no attribute ‘id’

This is a GNU Health issue, report it to them.
Otherwise for Tryton issue, report them to