Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4607 Переглядів

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

Аватар
Відмінити

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

Автор

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)

Автор

This Code Is Below Button In Work Flow

Related Posts Відповіді Переглядів Дія
0
бер. 15
3106
0
бер. 15
2974
0
бер. 25
1313
2
трав. 24
6446
4
квіт. 24
174158