Skip to Content
मेन्यू
This question has been flagged
1 Reply
3022 Views

How Can I use my own new field here?:

I have this:

class hr_timesheet_sheet(osv.osv):

_inherit = "hr_timesheet_sheet.sheet"

def test(self):

iid = self.task_field

_columns = {

'task_field': fields.many2one('project.task', 'task_id', required=True)

}


How Can I use my own field = "task_field" in a simple variable or in a function that I want to write?

Or how can I use my own field in other modules?

Avatar
Discard
Best Answer

Read the docs here

https://www.odoo.com/documentation/8.0/reference/orm.html

Avatar
Discard
Related Posts Replies Views Activity
5
मार्च 16
10161
0
मई 15
73
4
जून 21
18044
4
जन॰ 17
8471
0
अग॰ 16
4124