mreficent
8 years ago
8 changed files with 59 additions and 61 deletions
-
2customer_activity_statement/README.rst
-
2customer_activity_statement/__manifest__.py
-
9customer_activity_statement/report/customer_activity_statement.py
-
2customer_activity_statement/static/description/index.html
-
5customer_activity_statement/tests/test_customer_activity_statement.py
-
2customer_activity_statement/views/statement.xml
-
2customer_activity_statement/wizard/customer_activity_statement_wizard.py
-
96customer_activity_statement/wizard/customer_activity_statement_wizard.xml
@ -1,51 +1,49 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<!-- wizard action on res.partner --> |
|||
<act_window id="customer_activity_statement_wizard_action" |
|||
name="Customer Activity Statement" |
|||
src_model="res.partner" |
|||
res_model="customer.activity.statement.wizard" |
|||
view_type="form" view_mode="form" |
|||
key2="client_action_multi" target="new" |
|||
groups="account.group_account_user"/> |
|||
<odoo> |
|||
<!-- wizard action on res.partner --> |
|||
<act_window id="customer_activity_statement_wizard_action" |
|||
name="Customer Activity Statement" |
|||
src_model="res.partner" |
|||
res_model="customer.activity.statement.wizard" |
|||
view_type="form" view_mode="form" |
|||
key2="client_action_multi" target="new" |
|||
groups="account.group_account_user"/> |
|||
|
|||
<!-- wizard view --> |
|||
<record id="customer_activity_statement_wizard_view" model="ir.ui.view"> |
|||
<field name="name">Customer Activity Statement Wizard</field> |
|||
<field name="model">customer.activity.statement.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form name="Report Options"> |
|||
<div style="text-align:justify"> |
|||
<label string="The activity statement provides details of all activity on |
|||
the customer receivables between two selected dates. This includes all invoices, |
|||
refunds and payments. Any outstanding balance dated prior to the chosen statement |
|||
period will appear as a forward balance at the top of the statement. The list is |
|||
displayed in chronological order and is split by currencies."/><br/><br/> |
|||
<label string="Aging details can be shown in the report, expressed in aging |
|||
buckets (30 days due, ...), so the customer can review how much is open, due or overdue."/> |
|||
</div><hr/> |
|||
<group name="main_info"> |
|||
<field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/> |
|||
</group> |
|||
<group name="dates"> |
|||
<field name="date_start"/> |
|||
<field name="date_end"/> |
|||
</group> |
|||
<group name="aging_report"> |
|||
<field name="show_aging_buckets"/> |
|||
</group> |
|||
<group name="multiple_partners"> |
|||
<field name="number_partner_ids" readonly="1" invisible="1"/> |
|||
<field name="filter_partners_non_due" attrs="{'invisible': [('number_partner_ids', '=', 1)]}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<!-- wizard view --> |
|||
<record id="customer_activity_statement_wizard_view" model="ir.ui.view"> |
|||
<field name="name">Customer Activity Statement Wizard</field> |
|||
<field name="model">customer.activity.statement.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form name="Report Options"> |
|||
<div style="text-align:justify"> |
|||
<label string="The activity statement provides details of all activity on |
|||
the customer receivables between two selected dates. This includes all invoices, |
|||
refunds and payments. Any outstanding balance dated prior to the chosen statement |
|||
period will appear as a forward balance at the top of the statement. The list is |
|||
displayed in chronological order and is split by currencies."/><br/><br/> |
|||
<label string="Aging details can be shown in the report, expressed in aging |
|||
buckets (30 days due, ...), so the customer can review how much is open, due or overdue."/> |
|||
</div><hr/> |
|||
<group name="main_info"> |
|||
<field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/> |
|||
</group> |
|||
<group name="dates"> |
|||
<field name="date_start"/> |
|||
<field name="date_end"/> |
|||
</group> |
|||
<group name="aging_report"> |
|||
<field name="show_aging_buckets"/> |
|||
</group> |
|||
<group name="multiple_partners"> |
|||
<field name="number_partner_ids" readonly="1" invisible="1"/> |
|||
<field name="filter_partners_non_due" attrs="{'invisible': [('number_partner_ids', '=', 1)]}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue