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

We were looking to run a Python Script whenever a product is edited. We were thinking to hook this to the "Save" button on the product form, but can't seem to access it since it is a 'core' button.

아바타
취소

Key component of OpenERP is ORM. Predefined attributes/ORM method(create, wirte, unlink, etc) are defined out there. There are good reference to start learning https://doc.openerp.com/6.0/developer/2_5_Objects_Fields_Methods/methods/ https://www.openerp.com/files/memento/OpenERP_Technical_Memento_latest.pdf

베스트 답변

Create a new module that will inherent the save method of product.product.

See question, 8503 for more.

아바타
취소

from where th creation of the product is handled(by which method of the product.py module) ???

관련 게시물 답글 화면 활동
2
6월 16
5091
2
4월 25
3114
1
8월 20
5397
1
5월 19
5084
2
12월 18
27444