Adding a context which ease budget encoding as really often, creating a budget means the associated budget lines will follow the same start and end dates. Passing the context allow budget lines automatically have the budget's start and end date
</group>
<notebook>
<page string="Budget Lines">
- <field name="crossovered_budget_line" colspan="4" nolabel="1" attrs="{'readonly':[('state','!=','draft')]}">
+ <field name="crossovered_budget_line" context="{'default_date_from': date_from,'default_date_to': date_to}" colspan="4" nolabel="1" attrs="{'readonly':[('state','!=','draft')]}">
<tree string="Budget Lines">
<field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
<field name="general_budget_id"/>