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

            Bug ID: 36667
           Summary: aqorders.quantity should be NOT NULL
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

From kohastructure:

`quantity` smallint(6) DEFAULT NULL COMMENT 'the quantity ordered',
`quantityreceived` smallint(6) NOT NULL DEFAULT 0 COMMENT 'the quantity that
have been received so far',

=> We could do NOT NULL DEFAULT 0 for quantity (same as received) but should we
even allow 0 at all ? Note however that I found an acq order with quantity==0
in our data. (Older bugs etc.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to