changeset 50bbbd3df3a5 in modules/stock_supply:default
details: 
https://hg.tryton.org/modules/stock_supply?cmd=changeset;node=50bbbd3df3a5
description:
        Merge account kind and account type

        issue4990
        review68401002
diffstat:

 tests/test_stock_supply.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 64cfa467bc56 -r 50bbbd3df3a5 tests/test_stock_supply.py
--- a/tests/test_stock_supply.py        Fri Mar 22 15:33:44 2019 +0100
+++ b/tests/test_stock_supply.py        Sun Mar 24 18:00:01 2019 +0100
@@ -98,11 +98,11 @@
         with set_company(company):
             create_chart(company)
             receivable, = Account.search([
-                ('kind', '=', 'receivable'),
+                ('type.receivable', '=', True),
                 ('company', '=', company.id),
                 ])
             payable, = Account.search([
-                ('kind', '=', 'payable'),
+                ('type.payable', '=', True),
                 ('company', '=', company.id),
                 ])
             supplier, = Party.create([{

Reply via email to