Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3047 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

Read the docs here

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
5
mar. 16
10184
0
mai 15
73
4
iun. 21
18061
4
ian. 17
8481
0
aug. 16
4146