I am newbie in OpenERP. I am working on CRM module. I am creating on Bug module, which is actually inherited by crm_claim
. I have put some additional fields(checkboxes into it). Its working fine.
My experience with OpenERP is going very well. But I am stuck at the point of validation. Actually what I want is that user can not save record if no checkbox is clicked. If one of them is clicked it should save the record. I have searched internet. I could not find any sure solution but some ambiguous ones. Here is the list:-
Some posts are suggesting to override write and create. But my question is, I am inheriting from crm_claim
, I did not find write and create functions anywhere in hierarchy. If I override them, I have to write all logic to save whole claim and above class as well. Which I feel very difficult.
- I tried to find
onsave
event but I did not find any. - Someone is suggesting wizard to resolve this issue.
I don't know what to do. Kindly help me in this regard.