[IMP] Simplify the logic and remove nonsense restart of the inheritance 	chain. Fix class name capitalization
[IMP] Simplify the logic and remove nonsense restart of the inheritance
	chain. Fix class name capitalization

OCA/account-invoicing,OCA/account-invoicing