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

Hello!

How i can call the action of invoice into my module in menuitem?

Thanks!

아바타
취소

Try to be more specific in your question so it is easier for us to answer!

Do you want to open an Invoice action from your modules menuitem?

작성자

Waleed Mohsen gives me the right answer,you can check it!

thanks.

HI Karim, I gave you the way to do it by yourself so you can check it by yourself and the code is open so you can get it easily.

작성자 베스트 답변

Thank you!


And how about the commandes and bon de livraison?

아바타
취소

Hi Karim, You can get the external id of the action for any menu you want by activate developer mode and click on the menu then from debug icon on the right side, choose Edit Action and you will see the the external ID:

https://ibb.co/P192pQK

베스트 답변

Hi,

You will use the external ID of the required action and set it in your new menu. 

The below is a menu in your custom module to call Action of customer invoice. 

<menuitem id="menu_customer_invoice"
parent="id for parent menu"
          action="account.action_invoice_tree1"
sequence="50"/>

The below is a menu in your custom module to call Action of vendor Bills. 

<menuitem id="menu_vendor_bill"
parent="id for parent menu"
          action="account.action_invoice_tree2"
sequence="60"/>


Thanks


아바타
취소

Hello Bro,

If You don't mind whatsApp me with this number +9 6 7 7 1 6 5 7 1 6 3 6

Thanks

관련 게시물 답글 화면 활동
3
11월 23
17508
3
11월 24
25149
1
4월 23
6191
2
12월 22
6951
1
11월 22
4088