49
49
hq_entries_validation_wizard()
51
class hq_entries(osv.osv):
53
_description = 'HQ Entries'
56
'account_id': fields.many2one('account.account', "Account", required=True),
57
'cost_center_id': fields.many2one('account.analytic.account', "Cost Center", required=True),
58
'analytic_id': fields.many2one('account.analytic.account', "Funding Pool", required=True),
59
'free_1_id': fields.many2one('account.analytic.account', "Free 1"),
60
'free_2_id': fields.many2one('account.analytic.account', "Free 2"),
61
'user_validated': fields.boolean("User validated?", help="Is this line validated by a user in a OpenERP field instance?", readonly=True),
62
'date': fields.date("Posting Date"),
63
'partner_id': fields.many2one("res.partner", "Third Party"),
64
'period_id': fields.many2one("account.period", "Period"),
68
'user_validated': lambda *a: False,
50
72
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: