1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_account_followup_print" model="ir.ui.view">
6 <field name="name">account.followup.print.form</field>
7 <field name="model">account.followup.print</field>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <form string="Send followups" version="7.0">
12 <button name="do_continue" string="Continue" colspan="1" type="object" icon="gtk-ok"/>
13 <button special="cancel" string="Cancel" icon='gtk-cancel'/>
15 <separator string="Send Follow-Ups"/>
16 <label string ="This feature allows you to send reminders to partners with pending invoices. You can send them the default message for unpaid invoices or manually enter a message should you need to remind them of a specific information."/>
18 <field name="followup_id"/>
25 <record id="action_account_followup_print" model="ir.actions.act_window">
26 <field name="name">Send followups</field>
27 <field name="type">ir.actions.act_window</field>
28 <field name="res_model">account.followup.print</field>
29 <field name="view_type">form</field>
30 <field name="view_mode">form</field>
31 <field name="target">new</field>
34 <menuitem action="action_account_followup_print"
35 id="account_followup_print_menu"
36 parent="account.menu_finance_periodical_processing_billing"
39 <record id="account_followup_stat_by_partner_search" model="ir.ui.view">
40 <field name="name">account_followup.stat.by.partner.search</field>
41 <field name="model">account_followup.stat.by.partner</field>
42 <field name="type">search</field>
43 <field name="arch" type="xml">
44 <search string="Partner to Remind">
45 <field name="date_followup"/>
46 <separator orientation="vertical"/>
47 <filter string="Balance > 0" domain="[('balance','>',0)]" icon="terp-dolar" name="balance_positive"/>
48 <separator orientation="vertical"/>
49 <field name="partner_id"/>
50 <field name="max_followup_id"/>
51 <field name="company_id" groups="base.group_multi_company"/>
57 <record id="account_followup_stat_by_partner_tree" model="ir.ui.view">
58 <field name="name">account_followup.stat.by.partner.tree</field>
59 <field name="model">account_followup.stat.by.partner</field>
60 <field name="type">tree</field>
61 <field name="arch" type="xml">
62 <tree string="Partner to Remind">
63 <field name="partner_id"/>
64 <field name="balance"/>
65 <field name="max_followup_id"/>
66 <field name="date_followup"/>
67 <field name="date_move_last"/>
68 <field name="company_id" groups="base.group_multi_company"/>
73 <record id="view_account_followup_print_all" model="ir.ui.view">
74 <field name="name">account.followup.print.all.form</field>
75 <field name="model">account.followup.print.all</field>
76 <field name="type">form</field>
77 <field name="arch" type="xml">
78 <form string="Send followups" version="7.0">
80 <button name="do_mail" string="Send Mails" colspan="1" type="object" icon="gtk-execute"/>
81 <button name="do_print" string="Print Follow Ups" colspan="1" type="object" icon="gtk-print"/>
82 <button special="cancel" string="Cancel" icon='gtk-cancel'/>
85 <page string="Partner Selection">
86 <field name="partner_ids" context="{'search_default_balance_positive': 1}" domain="[('company_id','=',context.get('company_id',False))]"/>
88 <page string="Email Settings">
90 <field name="email_conf" colspan="4"/>
91 <field name="partner_lang" colspan="4"/>
92 <field name="test_print" colspan="4"/>
93 <field name="email_subject" colspan="4"/>
94 <separator string="Email Body" colspan="4" />
95 <field name="email_body" colspan="4" nolabel="1"/>
97 <group string="Legend">
98 <label string="%%(partner_name)s: Partner name"/>
99 <label string="%%(user_signature)s: User name"/>
100 <label string="%%(followup_amount)s: Total Amount Due"/>
101 <label string="%%(date)s: Current Date"/>
102 <label string="%%(company_name)s: User's Company name"/>
103 <label string="%%(company_currency)s: User's Company Currency"/>
104 <label string="%%(heading)s: Move line header"/>
105 <label string="%%(line)s: Ledger Posting lines"/>
113 <record id="view_account_followup_print_all_msg" model="ir.ui.view">
114 <field name="name">account.followup.print.all.msg.form</field>
115 <field name="model">account.followup.print.all</field>
116 <field name="type">form</field>
117 <field name="arch" type="xml">
118 <form string="Summary" version="7.0">
120 <button special="cancel" string="Ok" icon='gtk-cancel'/>
122 <separator string="Summary"/>
123 <field name="summary"/>
128 <record id="action_account_followup_print_all" model="ir.actions.act_window">
129 <field name="name">Send followups</field>
130 <field name="type">ir.actions.act_window</field>
131 <field name="res_model">account.followup.print.all</field>
132 <field name="view_type">form</field>
133 <field name="view_mode">form</field>
134 <field name="target">new</field>