X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=view%2Fpoint_of_sale.xml;h=5d756d6cbf59c7f43b1c563b09bde8e94987551d;hb=7bc7e21f1aa891b854476bedf7c7bb53e780aed3;hp=b2baab1790c023214ae68c9338a2df1693e2ef54;hpb=f6b2f9ebd8194410612dc8ab2f883fd085267544;p=burette%2Fbikecoop.git diff --git a/view/point_of_sale.xml b/view/point_of_sale.xml index b2baab1..5d756d6 100644 --- a/view/point_of_sale.xml +++ b/view/point_of_sale.xml @@ -13,7 +13,7 @@ - [('available_in_pos','=', True)] + [('sale_ok','=', True),('available_in_pos','=', True)] @@ -35,8 +35,36 @@ pos.session - - + + selection + [('state', 'in', ('active',))] + {'readonly': [('state', 'not in', ('opening_control',))]} + + + + + pos.order.list.select + pos.order + + + + + + + + + pos.session.form.view + pos.session + + + + + + + + + +