콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6135 화면

I have created boolean fields in sale.config.settings object, and i need to start the schedular based on the boolean fields value in sale.config.settings object, how to access the field value in openerp

아바타
취소
베스트 답변

Hello maniganda

Py file

Def seting(self,cr,uid,ids,context=none):

sale_obj=self.pool.get('sale.config.settings') sale_bro=sale_obj.browse(cr,uid,ids)[0] value=sale_bro.ur_boolean_field

Return value

아바타
취소
작성자

I have to create this function in sale.config.settings object? if yes then how to access this method in different object such as sale_order to check the status of the fields

작성자

thak you it is working