Merge lp:~openerp-dev/openobject-addons/trunk-bug-1018871-amp into lp:openobject-addons

Proposed by Amit Parik
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1018871-amp
Merge into: lp:openobject-addons
Diff against target: 49 lines (+5/-1)
4 files modified
account/account.py (+2/-1)
account/wizard/account_report_aged_partner_balance.py (+1/-0)
account/wizard/account_report_partner_balance.py (+1/-0)
account/wizard/account_report_partner_ledger.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1018871-amp
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+115023@code.launchpad.net

Description of the change

Hello,

This branch improve some object with _rec_name.

Thanks!

To post a comment you must log in.

Unmerged revisions

7052. By Amit Parik

[Fix] account : Improved the some object with rec_name

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account.py'
2--- account/account.py 2012-07-11 09:07:53 +0000
3+++ account/account.py 2012-07-15 09:27:21 +0000
4@@ -2605,7 +2605,8 @@
5
6 With the 'nocreate' option, some accounts may not be created. Use this to add them later."""
7 _name = 'account.addtmpl.wizard'
8-
9+ _rec_name = 'cparent_id'
10+
11 def _get_def_cparent(self, cr, uid, context=None):
12 acc_obj = self.pool.get('account.account')
13 tmpl_obj = self.pool.get('account.account.template')
14
15=== modified file 'account/wizard/account_report_aged_partner_balance.py'
16--- account/wizard/account_report_aged_partner_balance.py 2011-10-16 01:28:00 +0000
17+++ account/wizard/account_report_aged_partner_balance.py 2012-07-15 09:27:21 +0000
18@@ -28,6 +28,7 @@
19 class account_aged_trial_balance(osv.osv_memory):
20 _inherit = 'account.common.partner.report'
21 _name = 'account.aged.trial.balance'
22+ _rec_name = 'period_length'
23 _description = 'Account Aged Trial balance Report'
24
25 _columns = {
26
27=== modified file 'account/wizard/account_report_partner_balance.py'
28--- account/wizard/account_report_partner_balance.py 2011-10-16 01:28:00 +0000
29+++ account/wizard/account_report_partner_balance.py 2012-07-15 09:27:21 +0000
30@@ -27,6 +27,7 @@
31 """
32 _inherit = 'account.common.partner.report'
33 _name = 'account.partner.balance'
34+ _rec_name = 'display_partner'
35 _description = 'Print Account Partner Balance'
36 _columns = {
37 'display_partner': fields.selection([('non-zero_balance', 'With balance is not equal to 0'), ('all', 'All Partners')]
38
39=== modified file 'account/wizard/account_report_partner_ledger.py'
40--- account/wizard/account_report_partner_ledger.py 2011-10-16 01:28:00 +0000
41+++ account/wizard/account_report_partner_ledger.py 2012-07-15 09:27:21 +0000
42@@ -27,6 +27,7 @@
43 """
44 _name = 'account.partner.ledger'
45 _inherit = 'account.common.partner.report'
46+ _rec_name = 'initial_balance'
47 _description = 'Account Partner Ledger'
48
49 _columns = {

Subscribers

People subscribed via source and target branches

to all changes: