Skip to Content
Menu
This question has been flagged
1 Reply
2933 Views

Hi,

I would like to know how can copy and paste code in the answers to the Odoo forum, I tried with the tool "code" but when I paste I don't see my code, I have seen that some use a black backround with their code.

Thank you!

Avatar
Discard
Best Answer

Hi,

What you have done is the right way for adding the code. Recently due to the updations made in the forum, there are many issues. One of the issue is the problem with the code editor. It has already reported here at:  Odoo Help Forum - problems #33709


Lets wait to the fix from the team Odoo.


Update, for those who looks to paste to code in odoo forum see this method:  https://www.youtube.com/watch?v=nw3q0Cs1swg&feature=youtu.be


Thanks

Avatar
Discard

Just trying to insert the code by your suggestion:

<p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;record id=&quot;sep_employee_kanban_view&quot; model= &quot;ir.ui.view&quot;&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;inherit_id&quot; ref=&quot;hr.hr_kanban_view_employees&quot;/&gt;&nbsp;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;model&quot;&gt;hr.employee.public&lt;/field&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;arch&quot; type=&quot;xml&quot;&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;user_id&quot; position=&quot;after&quot;&gt;&nbsp;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;work_location_id&quot;/&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/field&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;xpath expr=&quot;//kanban/templates/t/div/div&quot; position=&quot;after&quot;&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;work_location_id&quot;/&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xpath&gt; --&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/field&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/record&gt;</p>

nope, idoesn`t work (

Related Posts Replies Views Activity
1
Jun 24
570
1
May 24
281
0
Feb 24
336
0
Oct 23
353
1
Oct 23
1084