account.invoice.basic account.invoice True True draft sale action_move_create() write({'state':'sale'}) function proforma action_move_create() write({'state':'proforma'}) function open action_move_create() action_number() write({'state':'open'}) function paid True write({'state':'paid'}) function cancel True action_cancel() write({'state':'cancel'}) function invoice_sale invoice_proforma invoice_open invoice_open account.move.line move_line_id_payment_get() test_paid() account.move.line move_line_id_payment_get() test_paid() account.move.line move_line_id_payment_get() test_paid() invoice_cancel invoice_cancel invoice_cancel invoice_cancel