Newly added button labels not showing in shipment out

Hey i just added
new button in shipment out but labels are not showing on the button where as functions works perfectly


<record model="ir.model.button" id="shipment_out_eway_button">
                <field name="name">eway</field>
                <field name="string">Eway</field>
                <field name="model"  search="[('model', '=', 'stock.shipment.out')]"/>
<record model=""  id="shipment_out_eway_button_group_stock">
                <field name="button" ref="shipment_out_eway_button"/>
                <field name="group" ref="group_stock"/>

         'eway': {
                    'invisible': ~Eval('state').in_(['assigned', 'picked',
                    'depends': ['state'],


<button name="eway" icon="tryton-ok" />

I guess you need to refresh the sao interface to make the buttons appear.

button is appearing along with icons but not labels

Sorry I meant the labels. Did you refresh the server and the web interface?

I do not see anything wrong on your definition.

what do you mean by refreshing ? i restarted my docker and new session of web interface

Did you update the database ( running trytond-admin ) to create the ir.model.button records containing the string definition?

Yes i did that . even function is working but Label are not showing

Could you search on the UI the button definition to see if it’s there and the String is properly set?

What happens if you click the button?

the function executes correctly when i click on it

Could you please answer this question? :point_up_2: :point_up_2:

i cant’t find the button with the name eway what i am doing wrong ?

This is the reason that the string is not shown.

Can be two problems:

  • You did not update the database
  • The shipment.xml is not included in the tryton.cfg file so its not loaded by the server.

I forgot to mount the docker volume which leads into all those mess

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.