[REM]Removed account.period object and related stuff.

Hello,
i have removed account.period object and removed related stuff and replaced period_id with date_account field.
Thanks.
what is purpose of writeoff_period_date ? what is purpose of 'date_p' in context ?
can we set date of account.move and account.move.line  eigher from today or context['date_p']