On 09 Jul 10:25, Jesús Martín Jiménez wrote:
> Anyway, this is not the topic of this thread, and finally I found the
> solution for the issue so, for the record, there weren't any dependency
> between both modules, so I had to add an extra depends in one of the views.

If you talk about
https://bitbucket.org/zikzakmedia/trytond-sale_margin/commits/a85edbe77cde8e99d2e60f28fd5337d80c5ff699
this is wrong, you must not add depends on fields that the method doesn't
depend on.
The only culprit is the early return if there is no product.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgppllWGEVDUz.pgp
Description: PGP signature

Reply via email to