[IMP] if not budget_item on lead we just delete budget lines , the curre...

...ncy of line must be the currency of lead, and when you change the analytic account mus be set when the team has an analytic account