state field is missing :(
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I cant find state in columns of expenses line
class hr_expense_
_name = "hr.expense.line"
_description = "Expense Line"
def _amount(self, cr, uid, ids, field_name, arg, context):
if not len(ids):
return {}
id_set = ",".join(map(str, ids))
res = dict(cr.fetchall())
return res
_columns = {
'name': fields.char('Short Description', size=128, required=True),
'uom_id': fields.
'ref': fields.
'sequence' : fields.
}
in this code
means i can fill product when state=draft
but i tried my best to find that field in this object but i cant find that. So please help me to find that.
i check in both
http://
and
http://
so please try to solve that.
Fixed in trunk revision 2232