Browse Source

lot de paiement liste affectation et mode de saisie

master
root 3 years ago
parent
commit
ed98c6e1b8
2 changed files with 8 additions and 2 deletions
  1. +2
    -1
      models/payment_batch.py
  2. +6
    -1
      views/payment_batch.xml

+ 2
- 1
models/payment_batch.py View File

@ -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',


+ 6
- 1
views/payment_batch.xml View File

@ -40,6 +40,11 @@
<field name="create_date"/>
<field name="create_uid"/>
<field name="payment_mode_id"/>
<field name="payment_mode_id"/>
<field name="input_mode"/>
<field name="assignment"/>
<br></br>
<br></br>
<field name="payment_input"/>
<field name="partner_id"/>
<field name="operation_id"/>
@ -48,7 +53,7 @@
<field name="company_id" invisible="1"/>
</group>
<button name="action_ajouter_payment" type="object" string="Ajouter" class="oe_highlight"/>
<button name="action_ajouter_payment" type="object" string="Add" class="oe_highlight"/>
<field name="donation_ids"/>


Loading…
Cancel
Save