[Koha-bugs] [Bug 31144] New: When modifying an order we should not load the vendor default discount

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 20:38:59 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31144

            Bug ID: 31144
           Summary: When modifying an order we should not load the vendor
                    default discount
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

After placing an order in a basket with a discount of "0" if you attempt to
modify we will load the vendor default discount, this can lead to accidentally
applying a discount when modifying other order parts

To test:
0 - Have a vendor with a discount set
1 - Add an order to a basket
2 - While adding, set discount to 0
3 - Add order - prices are calculated ocrrectly
4 - Modify order
5 - Note discount is populated with vendor discount

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list