From ed98c6e1b8677331556f65b36314744b23187ced Mon Sep 17 00:00:00 2001 From: root Date: Wed, 2 Mar 2022 19:22:44 +0000 Subject: [PATCH] lot de paiement liste affectation et mode de saisie --- models/payment_batch.py | 3 ++- views/payment_batch.xml | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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 @@ -