diff --git a/models/duplicate.py b/models/duplicate.py index bfb030f..25fd6b6 100644 --- a/models/duplicate.py +++ b/models/duplicate.py @@ -116,8 +116,8 @@ class opendons_duplicate_partner(models.Model): { "domain": [("id", "in", dbl_partner_ids)], "limit": 5000, - 'view_mode': 'tree', - 'view_type': 'list' + #'view_mode': 'tree', + #'view_type': 'list' #"context":{'view_mode':'tree,form'} } ) diff --git a/models/payment_batch.py b/models/payment_batch.py index 9d72bf0..6fc4846 100644 --- a/models/payment_batch.py +++ b/models/payment_batch.py @@ -174,6 +174,7 @@ class opendons_payment_batch(models.Model): vals['operation_id']=self.operation_id.id vals['segment_id']=self.segment_id.id vals['donation_date']=fields.Date.context_today(self) + vals['check_total']=self.donation_amount donation=self.env['donation.donation'].create(vals) #creation de l'affectation du don si affectation simple diff --git a/views/duplicate.xml b/views/duplicate.xml index a9a02a7..cf18260 100644 --- a/views/duplicate.xml +++ b/views/duplicate.xml @@ -65,5 +65,37 @@ action=model.find_duplicate_partner() + + + Contacts + ir.actions.act_window + res.partner + tree + + {'default_is_company': False,'type':'private'} + + + + + + kanban + + + + + + + tree + + + + + + + form + + + + \ No newline at end of file diff --git a/views/partner.xml b/views/partner.xml index f4262d9..8899c0d 100644 --- a/views/partner.xml +++ b/views/partner.xml @@ -9,21 +9,7 @@ - - Contacts - ir.actions.act_window - res.partner - kanban,tree,form,activity - - {'default_is_company': False,'type':'private'} - -

- Create a contact in your address book -

- Odoo helps you to easily track all activities related to a customer. -

-
-
+ @@ -86,10 +72,29 @@ [('recurring_template', '!=', False)] - - + + Contacts + ir.actions.act_window + res.partner + kanban,tree,form,activity + + {'default_is_company': False,'type':'private'} + +

+ Create a contact in your address book +

+ Odoo helps you to easily track all activities related to a customer. +

+
+
+ + + + tree,form,kanban + + kanban diff --git a/views/payment_batch.xml b/views/payment_batch.xml index 70f0fe2..186cd66 100644 --- a/views/payment_batch.xml +++ b/views/payment_batch.xml @@ -55,6 +55,7 @@ +