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

Odoo version: 15 Community Edition

I use a model inherited from hr.employee to account issuing/withdrawal of some material assets to/from employees. I've been using a tree view embedded to one hr.employee page to be able to add/remove assets.

Now I need to extend the functionality so that users are able to specify date and reason of issuing/withdrawal. For this purpose it would be nice to open a wizard with necessary fields on Create/Delete button click and add/delete record(s) only once all required fields  of the wizard are filled. Eventually the sequence I'm talking about should look as follow:

- Create/Delete button pressed

- The wizard appears and all fields are filled

- Confirm button in the wizard pressed

- Data from wizard's fields are saved into the separate model (let's call it asset.history)

- Record(s) from hr.employee model added/deleted respectively


I spent hours tinkering with this and it looks like Odoo doesn't provide any turnkey solution to make my scenario possible.

I would appreciate any thoughts, advice or experience you could share in this regard. 

Thanks a lot!


아바타
취소
관련 게시물 답글 화면 활동
1
10월 22
5280
1
5월 22
3281
2
3월 22
4254
1
1월 16
7274
4
11월 24
13569