Dulipate Standard doctype and customized tabs hide

I duplicated the standard item doctype in the system administrator and gave it a different name. Then I customized the item doctype. Then I added “eval :doc. __islocal” condition to after save hide tab. Condition not added to display tabs after save. I have loaded the next page. I opened the duplicated item list and added one item. After saving all tabs are hiding.