changeset 8b5b19274cb4 in modules/sale:default
details: https://hg.tryton.org/modules/sale?cmd=changeset;node=8b5b19274cb4
description:
        Add company domain to check erase

        issue8906
        review256321002
diffstat:

 party.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r dc471542cab3 -r 8b5b19274cb4 party.py
--- a/party.py  Fri Dec 06 17:33:46 2019 +0100
+++ b/party.py  Sat Dec 14 10:47:54 2019 +0100
@@ -32,6 +32,7 @@
                     ('party', '=', party.id),
                     ('shipment_party', '=', party.id),
                     ],
+                ('company', '=', company.id),
                 ('state', 'not in', ['done', 'cancel']),
                 ])
         if sales:

Reply via email to