Odoo Help

0

0
2 Answers
2
Avatar

Zbik

--Zbik--
12143
| 7 6 9
Łódź, 波兰
--Zbik--


Zbik
2015/3/19 上午4:23

You replace res_users by user_id. Variable user_id represents current login user

<li class="list-group-item">

<ul class="list-group-submenu">

<t t-if="user_id.company_id.partner_id.contact_address">

<div class="row">

<div class="col-md-4">

<h10><strong>Address</strong></h10>

</div>

<div class="col-md-8 ">

<t t-esc="user_id.company_id.partner_id.contact_address"/><br/>

</div>

</div><hr/>

</t>

</ul>

</li>

0
Christelle Wehbe
2015/3/19 上午5:05

Now it's working. Thank you!

1 Comment
Zbik
2015/3/19 上午7:01

I'm sorry I made a mistake, check user_id instead user. Maybe this will help.

Ask a Question
Keep Informed
1 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now