Ujjvala Collins (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-account_report-usability_improvement_wizard-uco
into lp:~openerp-dev/openobject-addons/trunk-account_report-uco.
Requested reviews:
OpenERP R&D Addons Team 3 (openerp-dev-addons3)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-account_report-usability_improvement_wizard-uco/+merge/74756
[IMP] account:
------------------------
* Added help label on Financial report wizard. Added tooltip for field on the
same wizard.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-account_report-usability_improvement_wizard-uco/+merge/74756
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-account_report-uco.
=== modified file 'account/wizard/account_low_level_report.py'
--- account/wizard/account_low_level_report.py 2011-08-25 05:55:23 +0000
+++ account/wizard/account_low_level_report.py 2011-09-09 11:16:57 +0000
@@ -27,7 +27,7 @@
_description = "Accounting Report"
_columns = {
- 'enable_filter': fields.boolean('Enable Comparison'),
+ 'enable_filter': fields.boolean('Enable Comparison', help="It adds the balance column, computed using given comparison filter values, on the report."),
'account_report_id': fields.many2one('account.low.level.report', 'Account Reports', required=True),
'label_filter': fields.char('Column Label', size=32, help="This label will be displayed on report to show the balance computed for the given comparison filter."),
'fiscalyear_id_cmp': fields.many2one('account.fiscalyear', 'Fiscal Year', help='Keep empty for all open fiscal year'),
@@ -42,7 +42,7 @@
'filter_cmp': 'filter_no',
'target_move': 'posted',
}
-
+
def _build_contexts_low(self, cr, uid, ids, data, context=None):
if context is None:
context = {}
@@ -59,10 +59,10 @@
result['period_from'] = data['form']['period_from_cmp']
result['period_to'] = data['form']['period_to_cmp']
return result
-
+
def check_report(self, cr, uid, ids, context=None):
if context is None:
- context = {}
+ context = {}
res = super(accounting_report, self).check_report(cr, uid, ids, context=context)
data = {}
data['form'] = self.read(cr, uid, ids, ['account_report_id', 'date_from_cmp', 'date_to_cmp', 'fiscalyear_id_cmp', 'journal_ids', 'period_from_cmp', 'period_to_cmp', 'filter_cmp', 'chart_account_id', 'target_move'], context=context)[0]
=== modified file 'account/wizard/account_low_level_report_view.xml'
--- account/wizard/account_low_level_report_view.xml 2011-08-31 16:01:22 +0000
+++ account/wizard/account_low_level_report_view.xml 2011-09-09 11:16:57 +0000
@@ -8,6 +8,10 @@
<field name="type">form</field>
<field name="inherit_id" ref="account.account_common_report_view"/>
<field name="arch" type="xml">
+ <xpath expr="/form/label[@string='']" position="replace">
+ <separator string="Financial Report" colspan="4"/>
+ <label nolabel="1" colspan="4" string="The Financial Report gives you the total balance of your accounts in a single document."/>
+ </xpath>
<xpath expr="//field[@name='target_move']" position="after">
<field name="account_report_id" domain="[('parent_id','=',False)]"/>
<field name="enable_filter"/>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp