i have a model amount.amount()
class amount_amount()
_name = "amount.amount"
_columns = {
'name' : fields.float("Amount");
}
def action_amount()
{
}
amount_amount()
in xml
<button string="Select Amount" type="object" class="oe_highlight" name="action_amount"/>
My requirement is: when i click the above button, i want to select the needed fields from my model. How can i achieve this?