144 lines
7.2 KiB
XML
144 lines
7.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="0">
|
|
|
|
<record id="view_account_followup_print" model="ir.ui.view">
|
|
<field name="name">account.followup.print.form</field>
|
|
<field name="model">account.followup.print</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Send followups">
|
|
<separator string="Send followups" colspan="4"/>
|
|
<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." colspan="4" nolabel="1"/>
|
|
<group col="4" colspan="6">
|
|
<field name="followup_id"/>
|
|
<field name="date"/>
|
|
<newline/>
|
|
</group>
|
|
<separator colspan="4"/>
|
|
<group col="2" colspan="4">
|
|
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
|
<button name="do_continue" string="Continue" colspan="1" type="object" icon="gtk-ok"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_account_followup_print" model="ir.actions.act_window">
|
|
<field name="name">Send followups</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">account.followup.print</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<menuitem action="action_account_followup_print"
|
|
id="account_followup_print_menu"
|
|
parent="account.menu_finance_periodical_processing_billing"
|
|
sequence="10"/>
|
|
|
|
<record id="account_followup_stat_by_partner_search" model="ir.ui.view">
|
|
<field name="name">account_followup.stat.by.partner.search</field>
|
|
<field name="model">account_followup.stat.by.partner</field>
|
|
<field name="type">search</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Partner to Remind">
|
|
<filter string="Balance > 0" domain="[('balance','>',0)]" icon="terp-dolar" name="balance_positive"/>
|
|
<separator orientation="vertical"/>
|
|
<field name="partner_id"/>
|
|
<field name="max_followup_id"/>
|
|
<field name="date_followup"/>
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Screen2 -->
|
|
<record id="account_followup_stat_by_partner_tree" model="ir.ui.view">
|
|
<field name="name">account_followup.stat.by.partner.tree</field>
|
|
<field name="model">account_followup.stat.by.partner</field>
|
|
<field name="type">tree</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Partner to Remind">
|
|
<field name="partner_id"/>
|
|
<field name="balance"/>
|
|
<field name="max_followup_id"/>
|
|
<field name="date_followup"/>
|
|
<field name="date_move_last"/>
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_account_followup_print_all" model="ir.ui.view">
|
|
<field name="name">account.followup.print.all.form</field>
|
|
<field name="model">account.followup.print.all</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Send followups">
|
|
<group col="4" colspan="6">
|
|
<notebook>
|
|
<page string="Partner Selection">
|
|
<separator string="Select Partners to Remind" colspan="4"/>
|
|
<field name="partner_ids" colspan="4" nolabel="1" context="{'search_default_balance_positive': 1}"/>
|
|
</page>
|
|
<page string="Email Settings">
|
|
<field name="email_conf" colspan="4"/>
|
|
<field name="partner_lang" colspan="4"/>
|
|
<field name="test_print" colspan="4"/>
|
|
<field name="email_subject" colspan="4"/>
|
|
<separator string="Email body" colspan="4" />
|
|
<field name="email_body" colspan="4" nolabel="1"/>
|
|
<separator string="Legend" colspan="4"/>
|
|
<label string="%%(partner_name)s: Partner name" colspan="2"/>
|
|
<label string="%%(user_signature)s: User name" colspan="2"/>
|
|
<label string="%%(followup_amount)s: Total Amount Due" colspan="2"/>
|
|
<label string="%%(date)s: Current Date" colspan="2"/>
|
|
<label string="%%(company_name)s: User's Company name" colspan="2"/>
|
|
<label string="%%(company_currency)s: User's Company Currency" colspan="2"/>
|
|
<label string="%%(heading)s: Move line header" colspan="2"/>
|
|
<label string="%%(line)s: Ledger Posting lines" colspan="2"/>
|
|
</page>
|
|
</notebook>
|
|
</group>
|
|
<separator colspan="4"/>
|
|
<group>
|
|
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
|
<button name="do_print" string="Print Follow Ups" colspan="1" type="object" icon="gtk-print"/>
|
|
<button name="do_mail" string="Send Mails" colspan="1" type="object" icon="gtk-execute"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_account_followup_print_all_msg" model="ir.ui.view">
|
|
<field name="name">account.followup.print.all.msg.form</field>
|
|
<field name="model">account.followup.print.all</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Summary">
|
|
<group col="4" colspan="6">
|
|
<field name="summary" height="300" width="800"/>
|
|
</group>
|
|
<separator colspan="4"/>
|
|
<group>
|
|
<button special="cancel" string="Ok" icon='gtk-cancel'/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_account_followup_print_all" model="ir.actions.act_window">
|
|
<field name="name">Send followups</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">account.followup.print.all</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</openerp>
|