Reviewers: ,
Please review this at http://codereview.tryton.org/310003/ Affected files: M shipment.py Index: shipment.py =================================================================== --- a/shipment.py +++ b/shipment.py @@ -760,7 +760,7 @@ ('company', '=', Eval('company')), ], states={ - 'readonly': ((Eval('state') != 'draft') + 'readonly': ((Eval('state').in_(['done', 'cancel'])) | ~Eval('warehouse') | ~Eval('customer')), }, depends=['state', 'warehouse', 'customer', 'warehouse_output', -- [email protected] mailing list
