 <p>If you set:</p> <pre><code>$this-&gt;table = 'selstock_product'; </code></pre> <p>Prestashop will look for a Key Column named <code>Id_{tablename}</code> , so, you need to rename your PK Field according to the prestashop sintax, That is: <code>Id_selstock_product</code></p> <p>greetings</p>