diff --git a/models/payment_batch.py b/models/payment_batch.py index 7d328fc..28c43bd 100644 --- a/models/payment_batch.py +++ b/models/payment_batch.py @@ -70,7 +70,8 @@ class opendons_payment_batch(models.Model): payment_count=fields.Integer(string='payments count', readonly=True) payment_input=fields.Char('Input field') - + input_mode=fields.Selection([('manual','manual'),('loyalty','loyalty QRCODE'),('prospect','prospect QRCODE')]) + assignment=fields.Selection([('single','single'),('multiple','multiple')]) # payment_lines = fields.One2many( # 'opendons_payment_batch.lines', # 'payment_batch_id', diff --git a/views/payment_batch.xml b/views/payment_batch.xml index f1c30bb..2f0a257 100644 --- a/views/payment_batch.xml +++ b/views/payment_batch.xml @@ -40,6 +40,11 @@ + + + +

+

@@ -48,7 +53,7 @@ -