Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4610 Visualizzazioni

Hi Guys

I Need To Update Field In Another Module I Tried cr.execute('update statement') but It Doesn't work For Example : I Have Asset Module And The Other Is TestModule (They Have Relation) How Can I Update Field in Asset Module Through TestModule By Code

Thanks A lot

Avatar
Abbandona

Using 'write' method to update field in another module. You can see lot of examples in default openerp module

Autore

I Tried But It Didn't Work And My Code Is Like That assets_obj = self.pool.get('account.asset.asset') assets_obj.write(cr,uid,[asset_ids.id],{'last_fixing' : Execution_date},context=context)

Autore

This Code Is Below Button In Work Flow

Post correlati Risposte Visualizzazioni Attività
0
mar 15
3106
0
mar 15
2975
0
mar 25
1316
2
mag 24
6450
4
apr 24
174165