Merge lp:~jsancho/sepa-tools/xml-mandate-views-6.0 into lp:sepa-tools/6.0

Proposed by Javier Sancho
Status: Needs review
Proposed branch: lp:~jsancho/sepa-tools/xml-mandate-views-6.0
Merge into: lp:sepa-tools/6.0
Diff against target: 55 lines (+6/-4)
2 files modified
account_payment_export/model/account_payment.py (+1/-4)
account_payment_sepa_direct_debit/sdd_mandate_view.xml (+5/-0)
To merge this branch: bzr merge lp:~jsancho/sepa-tools/xml-mandate-views-6.0
Reviewer Review Type Date Requested Status
Omar (Pexego) test Approve
OpenERP SEPA Team Pending
Review via email: mp+209410@code.launchpad.net

Description of the change

XML views need some extra fields for OpenERP can build them correctly, for example, type of view.

To post a comment you must log in.
Revision history for this message
Omar (Pexego) (omar7r) :
review: Approve (test)
12. By Javier Sancho <jsancho@bespin>

[FIX] account_payment_export: make payments calling parent class

Unmerged revisions

12. By Javier Sancho <jsancho@bespin>

[FIX] account_payment_export: make payments calling parent class

11. By Javier Sancho <jsancho@bespin>

[FIX] account_payment_export: make payments calling parent class

10. By Javier Sancho <jsancho@bespin>

[FIX] account_payment_sepa_direct_debit: fix XML for mandate views

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account_payment_export/model/account_payment.py'
--- account_payment_export/model/account_payment.py 2014-02-11 19:36:54 +0000
+++ account_payment_export/model/account_payment.py 2014-06-02 14:43:40 +0000
@@ -69,10 +69,7 @@
69 _('You can only combine payment orders of the same type')69 _('You can only combine payment orders of the same type')
70 )70 )
71 # process manual payments71 # process manual payments
72 wf_service = netsvc.LocalService('workflow')72 return self.set_done(cr, uid, ids, context)
73 for order_id in ids:
74 wf_service.trg_validate(uid, 'payment.order', order_id, 'done', cr)
75 return True
76 return result73 return result
77 74
78payment_order()75payment_order()
7976
=== modified file 'account_payment_sepa_direct_debit/sdd_mandate_view.xml'
--- account_payment_sepa_direct_debit/sdd_mandate_view.xml 2014-02-11 18:29:05 +0000
+++ account_payment_sepa_direct_debit/sdd_mandate_view.xml 2014-06-02 14:43:40 +0000
@@ -10,6 +10,7 @@
10<record id="sdd_mandate_form" model="ir.ui.view">10<record id="sdd_mandate_form" model="ir.ui.view">
11 <field name="name">sdd.mandate.form</field>11 <field name="name">sdd.mandate.form</field>
12 <field name="model">sdd.mandate</field>12 <field name="model">sdd.mandate</field>
13 <field name="type">form</field>
13 <field name="arch" type="xml">14 <field name="arch" type="xml">
14 <form string="SEPA Direct Debit Mandate">15 <form string="SEPA Direct Debit Mandate">
15 <group colspan="4">16 <group colspan="4">
@@ -45,6 +46,7 @@
45<record id="sdd_mandate_tree" model="ir.ui.view">46<record id="sdd_mandate_tree" model="ir.ui.view">
46 <field name="name">sdd.mandate.tree</field>47 <field name="name">sdd.mandate.tree</field>
47 <field name="model">sdd.mandate</field>48 <field name="model">sdd.mandate</field>
49 <field name="type">tree</field>
48 <field name="arch" type="xml">50 <field name="arch" type="xml">
49 <tree string="SEPA Direct Debit Mandate" colors="blue:state=='draft';black:state in ('expired', 'cancel')">51 <tree string="SEPA Direct Debit Mandate" colors="blue:state=='draft';black:state in ('expired', 'cancel')">
50 <field name="company_id" groups="base.group_multi_company"/>52 <field name="company_id" groups="base.group_multi_company"/>
@@ -61,6 +63,7 @@
61<record id="sdd_mandate_search" model="ir.ui.view">63<record id="sdd_mandate_search" model="ir.ui.view">
62 <field name="name">sdd.mandate.search</field>64 <field name="name">sdd.mandate.search</field>
63 <field name="model">sdd.mandate</field>65 <field name="model">sdd.mandate</field>
66 <field name="type">search</field>
64 <field name="arch" type="xml">67 <field name="arch" type="xml">
65 <search string="Search SEPA Direct Debit Mandates">68 <search string="Search SEPA Direct Debit Mandates">
66 <field name="partner_id"/>69 <field name="partner_id"/>
@@ -76,9 +79,11 @@
7679
77<record id="sdd_mandate_action" model="ir.actions.act_window">80<record id="sdd_mandate_action" model="ir.actions.act_window">
78 <field name="name">SEPA Direct Debit Mandates</field>81 <field name="name">SEPA Direct Debit Mandates</field>
82 <field name="type">ir.actions.act_window</field>
79 <field name="res_model">sdd.mandate</field>83 <field name="res_model">sdd.mandate</field>
80 <field name="view_type">form</field>84 <field name="view_type">form</field>
81 <field name="view_mode">tree,form</field>85 <field name="view_mode">tree,form</field>
86 <field name="search_view_id" ref="sdd_mandate_search"/>
82 <field name="arch" type="xml">87 <field name="arch" type="xml">
83 <label string="Click to create a new SEPA Direct Debit Mandate.88 <label string="Click to create a new SEPA Direct Debit Mandate.
84 A SEPA Direct Debit Mandate is a document signed by your customer that gives you the autorization to do one or several direct debits on his bank account." colspan="4"/>89 A SEPA Direct Debit Mandate is a document signed by your customer that gives you the autorization to do one or several direct debits on his bank account." colspan="4"/>

Subscribers

People subscribed via source and target branches