Odoo Help

0

0
1 回答
1
アバター

Hilar AK スイス

--Hilar AK--
--Hilar AK--
Experienced Odoo / Python Developer with a demonstrated history of working in the information technology and services industry with 3.5+years of experience. Skilled in Python, PostgreSQL, SQL, HTML, JavaScript. Strong engineering professional with a Bachelor of Technology (BTech) focused on Computer Science from the College of Engineering Munnar.

 Blogs:-

https://medium.com/@hilarak
        https://hilarlive.wordpress.com/
 StackOverflow:
       https://stackoverflow.com/users/7561347/burmese-pythis-hilar-ak

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Github:


https://github.com/hilarak



Hilar AK スイス
2019/08/25 1:05

Try these code, I didn't test and not sure it will work.  

<field name="my_tasks">
    <tree>
        <button name="%(task_form_action)d" string="смотреть" type="action" context="{'active_id': id}"/>
        ...
    </tree>
</field>



<record model="ir.actions.act_window" id="task_form_action">
        <field name="name">Task.form.action</field>
        <field name="res_model">myproject.task</field>
        <field name="view_type">form</field>
        <field name="view_mode">form</field>
        <field name="target">current</field>
        <field name="view_id" ref="tasks_form_view"/>
        <field name="res_id">context.get('active_id', False)</field>


質問する
Keep Informed
1 フォロワー
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now