Commit Graph

1110 Commits

Author SHA1 Message Date
Amit (OpenERP) ad7c078757 [FIX] account : Fixed the unicode decode error on search of account.account object
lp bug: https://launchpad.net/bugs/1029316 fixed

bzr revid: amp@tinyerp.com-20120730093020-ujffkjldt1uuflip
2012-07-30 15:00:20 +05:30
pso (OpenERP) 3aacb89abf [IMP] account: Improved default get method of account configuration wizard to set currency as default
bzr revid: pso@tinyerp.com-20120727094252-p56w0d3ko353sgdw
2012-07-27 15:12:52 +05:30
Ajay Chauhan (OpenERP) fe071b4816 [IMP]account : made c capital for Centralised Counterpart
bzr revid: cha@tinyerp.com-20120727084642-42ronls2600r2thk
2012-07-27 14:16:42 +05:30
Quentin (OpenERP) 962ab82207 [MERGE] fixed error in account.account.__compute(). Courtesy of Guewen Baconnier (Camptocamp)
bzr revid: qdp-launchpad@openerp.com-20120725192632-n5x1h25gugb2icue
2012-07-25 21:26:32 +02:00
Quentin (OpenERP) 0bc828b75e [MERGE] account/account.py: use of tools.float_utils float_round() method instead of round(). lp: 977300
bzr revid: qdp-launchpad@openerp.com-20120725142836-mtts1wub192861pw
2012-07-25 16:28:36 +02:00
pso (OpenERP) e5da0e191b [MERGE] Merged with main branch
bzr revid: pso@tinyerp.com-20120725125332-7qe6b3l0fjryast2
2012-07-25 18:23:32 +05:30
pso (OpenERP) 238bbc539a [IMP] Improved warning messages for account module
bzr revid: pso@tinyerp.com-20120725073357-kcdgglpmbxrtbq6d
2012-07-25 13:03:57 +05:30
pso (OpenERP) 1e3535e877 [IMP] Improved warning messages for account module
bzr revid: pso@tinyerp.com-20120725065901-8yz655wmvys729kj
2012-07-25 12:29:01 +05:30
Stephane Wirtel fa0b196382 [MERGE] lp:~openerp-dev/openobject-addons/trunk-tooltip_imp-psi
bzr revid: stw@openerp.com-20120724075723-qdvvhhpfdt1rzvnl
2012-07-24 09:57:23 +02:00
Pinakin Nayi (OpenERP) f96a13097b [IMP]account-option-wizard
bzr revid: pna@tinyerp.com-20120723060536-zb7yue9dm1o4wfx0
2012-07-23 11:35:36 +05:30
Purnendu Singh (OpenERP) d5ec4a6535 [IMP] update pot files
bzr revid: psi@tinyerp.com-20120720114402-yipigtjmk4j7qk1r
2012-07-20 17:14:02 +05:30
Purnendu Singh (OpenERP) 7a8ac01d31 [MERGE] merge with main branch
bzr revid: psi@tinyerp.com-20120720061520-fzq1vhfyn88z8q3d
2012-07-20 11:45:20 +05:30
Rajesh Prajapati (OpenERP) 9e0be9ffd1 [IMP]vat to tax : changed the label tax in lowercase
bzr revid: rpr@tinyerp.com-20120719111115-ap37b1bo2o7w1w1k
2012-07-19 16:41:15 +05:30
Rajesh Prajapati (OpenERP) 1916eadb89 [IMP]vat to tax : changed the label Tax as its abbreviation
bzr revid: rpr@tinyerp.com-20120719055821-1d6ipvw6i8s0n7uk
2012-07-19 11:28:21 +05:30
Rajesh Prajapati (OpenERP) e068ed2663 [IMP]vat to tax : changed the label Vat as its abbreviation
bzr revid: rpr@tinyerp.com-20120719053803-r4p9dhh28h2bysmm
2012-07-19 11:08:03 +05:30
Raphael Collet 531444a6f6 [IMP] account: do not open a non-existing view after setting taxes
bzr revid: rco@openerp.com-20120718135102-34gvep3dbpqznozc
2012-07-18 15:51:02 +02:00
Rajesh Prajapati (OpenERP) 74a58c0f15 [IMP]vat to tax : I have changed the label as tax inplace of vat
bzr revid: rpr@tinyerp.com-20120718121821-esupnmy423ukxniz
2012-07-18 17:48:21 +05:30
Purnendu Singh (OpenERP) f186ff2145 [MERGE] Merge with main addons
bzr revid: psi@tinyerp.com-20120718055314-7a8w836mzjlueexu
2012-07-18 11:23:14 +05:30
Fabien Pinckaers f2a73d9286 merge
bzr revid: fp@openerp.com-20120716221706-esjx9mluww4zfio5
2012-07-17 00:17:06 +02:00
Rajesh Prajapati (OpenERP) 71122ae47a [IMP]tooltip : I have changed the tooltip of fields as suggested
bzr revid: rpr@tinyerp.com-20120713101751-zokuph2bcpcmlfc5
2012-07-13 15:47:51 +05:30
Frédéric van der Essen cd3a0c2b73 [MERGE] from trunk
bzr revid: fva@openerp.com-20120711162837-xirr40vvc81xk8ra
2012-07-11 18:28:37 +02:00
Quentin (OpenERP) 6cc0f8f888 [MERGE] add the possiblity to round taxes per line or globally. Courtesy of Alexis de Lattre, Akretion
bzr revid: qdp-launchpad@openerp.com-20120711090753-xflurvchm638c5cv
2012-07-11 11:07:53 +02:00
Hardik 3fadbdcfc0 [IMP]Account : Changes in Warning Message
bzr revid: hsa@tinyerp.com-20120711084821-4reozitt3vgo9u31
2012-07-11 14:18:21 +05:30
Alexis de Lattre fb7120d7b6 Add analytic account on taxes and invoice tax lines.
bzr revid: alexis@via.ecp.fr-20120710212115-r56jev507ka9eca5
2012-07-10 23:21:15 +02:00
Frédéric van der Essen f8d32d3304 [MERGE] point_of_sale
bzr revid: fva@openerp.com-20120710142447-s0z5ca89bofh0n2c
2012-07-10 16:24:47 +02:00
Alexis de Lattre e9e069a216 Add an option "Tax calculation rounding method" that can be set to "Round per line" (it's the default value and the behavior of the previous versions of OpenERP) or to "Round globally".
bzr revid: alexis@via.ecp.fr-20120707163605-byo0o11f2q9dsczl
2012-07-07 18:36:05 +02:00
Antony Lesuisse ce583333f9 [FIX] minor fixes before merge
bzr revid: al@openerp.com-20120626200909-rnriwjhsvr8u7i7w
2012-06-26 22:09:09 +02:00
Sbh (Openerp) ae45655ef3 [MERGE] changes for string
bzr revid: sbh@tinyerp.com-20120625132114-t1pkogn3r1od75lm
2012-06-25 18:51:14 +05:30
Foram Katharotiya (OpenERP) 06391b7936 [IMP] add logger instead of_loggerdoc or _log., Add .warning() instead of .debug() in account
bzr revid: fka@tinyerp.com-20120625090619-r25n9pqs89oh5180
2012-06-25 14:36:19 +05:30
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Sbh (Openerp) e02d8a68ef [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120621093607-eczt3bj4j215cfl2
2012-06-21 15:06:07 +05:30
Raphael Collet a0088a0835 [IMP] account: remove unused field in account configuration
bzr revid: rco@openerp.com-20120619145728-r4um4cdxx1gk11zx
2012-06-19 16:57:28 +02:00
Raphael Collet bd02df1493 [IMP] account: clean up wizard.multi.charts.accounts
bzr revid: rco@openerp.com-20120619143809-l61w89poos2r33db
2012-06-19 16:38:09 +02:00
Mayur Maheshwari (OpenERP) 344ddfbdd5 [FIX]base:fix the issue of KeyError when changes in line of Journal Entry
lp bug: https://launchpad.net/bugs/955910 fixed

bzr revid: mma@tinyerp.com-20120619062426-x5ykv2thycvpvs4l
2012-06-19 11:54:26 +05:30
Kuldeep Joshi (OpenERP) ceddfafdc7 [IMP]add logging and remove warning
bzr revid: kjo@tinyerp.com-20120613090600-3ib3r220zpn1yo5o
2012-06-13 14:36:00 +05:30
Kuldeep Joshi (OpenERP) 7b8f7cb44f [IMP]account: remove warning
bzr revid: kjo@tinyerp.com-20120612120907-0ife6ga0zcvfebsb
2012-06-12 17:39:07 +05:30
Amit Patel (OpenERP) 84b2bec521 [IMP]:set dict if context is None.
bzr revid: apa@tinyerp.com-20120605111946-c3wqtixpybqc9qks
2012-06-05 16:49:46 +05:30
Fabien Pinckaers 5c791531aa [IMP] improved typos
bzr revid: fp@tinyerp.com-20120522161055-6013qr1s4p773hoj
2012-05-22 18:10:55 +02:00
Frédéric van der Essen cf17814781 [MERGE] trunk
bzr revid: fva@openerp.com-20120521092023-qcis495ngwsudw43
2012-05-21 11:20:23 +02:00
Turkesh Patel (Open ERP) 4661fb71d2 [FIX] account: set ondelete='cascade' on payment_id for allow to delete payment term.
bzr revid: tpa@tinyerp.com-20120518063348-1lm9oyy0kw5pkwdy
2012-05-18 12:03:48 +05:30
Stephane Wirtel 589b298125 [IMP] point_of_sale
bzr revid: stw@openerp.com-20120511212912-htftara5senojo1w
2012-05-11 23:29:12 +02:00
Stephane Wirtel ec308a08e7 [IMP] account: Add new wizard for the cash register "Take Money Out", "Put Money In"
[FIX] point_of_sale: Fix some bugs

bzr revid: stw@openerp.com-20120504125158-p45qfzo8mif6x9xe
2012-05-04 14:51:58 +02:00
Saurang Suthar (OpenERP) a2a05cfc19 [IMP]:improved titles State by Status everywhere
bzr revid: ssu@tinyerp.com-20120504115748-2vd1dns7bxptg384
2012-05-04 17:27:48 +05:30
paulius 8a377a190d [FIX] improve rounding at invoice subtotal field--fixes=lp:977300
bzr revid: rmu@tinyerp.com-20120501061412-on9rz3lkbm7oqad3
2012-05-01 11:44:12 +05:30
Alexis de Lattre 0ce5a6bf59 Copy the "note" field from fiscal position template to fiscal position.
bzr revid: alexis@via.ecp.fr-20120423230330-6nmmbf8yae83jggq
2012-04-24 01:03:30 +02:00
Amit Bhavsar (Open ERP) 1e60a8da88 [FIX]account: Improve code
lp bug: https://launchpad.net/bugs/985459 fixed

bzr revid: amb@tinyerp.com-20120419105435-cy21chpu633xouhl
2012-04-19 16:24:35 +05:30
Quentin (OpenERP) ffd0c86ec2 [FIX] a lot of fixes in several modules, as the result of the code review of the merge of the objects res.partner and res.partner.address
bzr revid: qdp-launchpad@openerp.com-20120330090837-s87z2qzsvynhlbwr
2012-03-30 11:08:37 +02:00
Sbh (Openerp) 964b385d5c [fix] : small fix
bzr revid: sbh@tinyerp.com-20120329131017-4x4xzi41ttbq9ni3
2012-03-29 18:40:17 +05:30
Sbh (Openerp) 867459789a [IMP]account: remove address ref
bzr revid: sbh@tinyerp.com-20120329125723-ibv1bozf6a4pjjap
2012-03-29 18:27:23 +05:30
Sbh (Openerp) 287935fc7f [IMP]account: remove address_id
bzr revid: sbh@tinyerp.com-20120329125550-l0fo45vbwnvf5p76
2012-03-29 18:25:50 +05:30
Sbh (Openerp) a821b41caa [IMP]account: remvoe unused pool
bzr revid: sbh@tinyerp.com-20120329125104-pe1zcn50ldv5wb1t
2012-03-29 18:21:04 +05:30
Sbh (Openerp) fa76f3a063 [IMP]account: remove address_id form compute_all
bzr revid: sbh@tinyerp.com-20120329124913-uoc4lrcauzaltpqp
2012-03-29 18:19:13 +05:30
Sbh (Openerp) d9359aacfb [IMP]account: remove address_id form compute_all
bzr revid: sbh@tinyerp.com-20120329124138-isbvzt8z4drn7fwn
2012-03-29 18:11:38 +05:30
Amit (OpenERP) 908ac62ab6 [FIX] account : Fixes the translation problem
lp bug: https://launchpad.net/bugs/943980 fixed

bzr revid: amp@tinyerp.com-20120328054945-klkxmxsf3b12iuv8
2012-03-28 11:19:45 +05:30
marta(pexego) 0ef89eb059 [FIX] account : Improved the description size for spanish localization taxes
lp bug: https://launchpad.net/bugs/929688 fixed

bzr revid: amp@tinyerp.com-20120328041634-04rk39u8fp27r7ry
2012-03-28 09:46:34 +05:30
Sbh (Openerp) e17dee3a5e [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120323052530-l9fsd06fbma1l3gz
2012-03-23 10:55:30 +05:30
Olivier Dony 08f6c75477 [MERGE] Properly pass context when incrementing sequences, courtesy of Stefan Rijnhart (Therp)
lp bug: https://launchpad.net/bugs/947355 fixed

bzr revid: odo@openerp.com-20120322122419-xt6rlz330bkdo8ox
2012-03-22 13:24:19 +01:00
Bhumika (OpenERP) 79ff0e3424 [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120321065319-pj7o5oz8pdr0v2jm
2012-03-21 12:23:19 +05:30
Quentin (OpenERP) 99a12a9216 [FIX] account: build_ctx_period must always return a list of ids
bzr revid: qdp-launchpad@openerp.com-20120319095227-1d7k2zq4ats038em
2012-03-19 10:52:27 +01:00
Stefan Rijnhart 94896a9c0b [FIX] Pass context to ir.sequence.next_by*
lp bug: https://launchpad.net/bugs/974355 fixed

bzr revid: stefan@therp.nl-20120314125324-g1kbltrcygxlmcgt
2012-03-14 13:53:24 +01:00
Numerigraphe - Lionel Sausin 5e4446f483 [FIX] unmutable default in account/account.py
bzr revid: ls@numerigraphe.fr-20120305173236-wdnj66ti4bopedzp
2012-03-05 18:32:36 +01:00
Kuldeep Joshi (OpenERP) fd384fe645 [IMP] account : remove invoice address
bzr revid: kjo@tinyerp.com-20120305064845-aezglwmj86fi2ndc
2012-03-05 12:18:45 +05:30
1bf3b3b515 [FIX] use a local variable row instead of res
bzr revid: guewen.baconnier@camptocamp.com-20120301122124-0izdqntr76ruqtde
2012-03-01 13:21:24 +01:00
Thibault Delavallée 220a94b317 [FIX] Back to old formatting, before revno 6565
bzr revid: tde@openerp.com-20120215093817-v6shtzwmc24ewbgc
2012-02-15 10:38:17 +01:00
Thibault Delavallée 12dba1122a [IMP] Modified argument order in context_today call (context passed as last argument to comply to OpenERP coding guidelines)
bzr revid: tde@openerp.com-20120215092229-olnjl9e2ant2ka55
2012-02-15 10:22:29 +01:00
Thibault Delavallée ef4ec91715 [FIX] Fixed date_start and date_stop in period creation. Using the fields.date.context_today in revno 6565 was performed uysing current datetime instead of correct beginning and end of months timestamps.
bzr revid: tde@openerp.com-20120215091707-0wt01bms652pzz5e
2012-02-15 10:17:07 +01:00
Quentin (OpenERP) 8b4c62c624 [REF] account: small code refactoring
bzr revid: qdp-launchpad@openerp.com-20120214133053-0125ol25lwr5mk7d
2012-02-14 14:30:53 +01:00
Olivier Dony da84f36eb4 [FIX] all: update context_today calls after API change
See also server revision 4053
revision-id: odo@openerp.com-20120214122413-rznpdyqajrzswk4o

bzr revid: odo@openerp.com-20120214122520-f4lyaoolw1sik7zo
2012-02-14 13:25:20 +01:00
Olivier Dony 5fc1a9fc7b [FIX] all: use newly introduced fields.date.context_today
Following the introduction of fields.date.context_today,
correct the main cases where we need to use the user's
timezone instead of the default UTC one.
There are probably many minor cases where this may be
useful, but those cases should be easy to fix now
that there is a common way to fix them.

lp bug: https://launchpad.net/bugs/925361 fixed

bzr revid: odo@openerp.com-20120213180741-4hvd4p7wsep0fomf
2012-02-13 19:07:41 +01:00
Quentin (OpenERP) 614893d620 [MERGE] account: merged the dev branch with workaround of context['line_id'] in line_id field (operation not supported in web client)
bzr revid: qdp-launchpad@openerp.com-20120213131702-f20fl7ydpxvt9o7g
2012-02-13 14:17:02 +01:00
Raphael Collet 37da83d9a8 [FIX] account: method build_ctx_periods returns more periods than those asked when both period are the same
lp bug: https://launchpad.net/bugs/922957 fixed

bzr revid: rco@openerp.com-20120208094735-vh2lnba79da9kn92
2012-02-08 10:47:35 +01:00
Stephane Wirtel f0a31577dd [REV] account: Revert my previous patch about the uniqueness of description,company_id for the tax
lp bug: https://launchpad.net/bugs/928424 fixed

bzr revid: stw@openerp.com-20120208092406-a1nlp4bqwhd2cxqh
2012-02-08 10:24:06 +01:00
Olivier Dony 754c5a68f8 [FIX] account: improve translations and use of _()
bzr revid: odo@openerp.com-20120208000332-4j6jqital8f0558k
2012-02-08 01:03:32 +01:00
Stephane Wirtel 433b98f832 [FIX] account: Modify the sql constraints for the tax object, use the description instead of the name
bzr revid: stw@openerp.com-20120206135658-5i35qm0dyyf4i6kl
2012-02-06 14:56:58 +01:00
Rucha (Open ERP) 534f64d798 [IMP]: account: [FOR TESTING ONLY] try to fix problem of opening move form view from web client
bzr revid: rpa@tinyerp.com-20120201114441-bmmn15cwr76bd6p7
2012-02-01 17:14:41 +05:30
Quentin (OpenERP) 4eb5a5824c [FIX] account: fix of level field computation at the generation from templates time
bzr revid: qdp-launchpad@openerp.com-20120130154701-o0j01ngsedcw0dwv
2012-01-30 16:47:01 +01:00
Raphael Collet 099ef8af95 [MERGE] lp:919682 (account: improve error message in account moves validation)
bzr revid: rco@openerp.com-20120127160431-7jwuxsy9dhpxljpp
2012-01-27 17:04:31 +01:00
Raphael Collet 4e39112275 [FIX] account: fix error message and misleading variable names
bzr revid: rco@openerp.com-20120127155647-z83937bh3z8kbfjb
2012-01-27 16:56:47 +01:00
Quentin (OpenERP) 4840e5cf87 [IMP] account, taxes report: added an option to print the detail (accounts) or not
bzr revid: qdp-launchpad@openerp.com-20120203162619-obs2ygr45jtpl3g0
2012-02-03 17:26:19 +01:00
Raphael Collet e33ce2e84a [MERGE] lp:923884 (account: fix generation of journal codes to avoid infinite loop)
bzr revid: rco@openerp.com-20120203084622-b3vctd1djh8itkjd
2012-02-03 09:46:22 +01:00
Divyesh Makwana (Open ERP) bf7c5f68f0 [IMP] account : Improved the code.
bzr revid: mdi@tinyerp.com-20120203062323-7snclf0vtc73dsai
2012-02-03 11:53:23 +05:30
Divyesh Makwana (Open ERP) f0dbcdcfe7 [IMP] account : Improved the code.
bzr revid: mdi@tinyerp.com-20120203060547-opr31t6snhhxk47c
2012-02-03 11:35:47 +05:30
Raphael Collet 96e0a5dc16 [MERGE] lp:922621 (account: do not compute foreign_balance for accounts with no secondary currency)
bzr revid: rco@openerp.com-20120202100305-jgo79fgwrpyl41kw
2012-02-02 11:03:05 +01:00
Divyesh Makwana (Open ERP) 858758af47 [FIX] account : COA Creation wizard hangs up
lp bug: https://launchpad.net/bugs/923884 fixed

bzr revid: mdi@tinyerp.com-20120202085255-jpuv9x6i33nnjp8f
2012-02-02 14:22:55 +05:30
Divyesh Makwana (Open ERP) 9b3994db6b [FIX] account : foreign_balance should not be computed for account with no secondary currency
lp bug: https://launchpad.net/bugs/922621 fixed

bzr revid: mdi@tinyerp.com-20120202061635-1f6ax1ce6vu6zbbw
2012-02-02 11:46:35 +05:30
Quentin (OpenERP) 9156efc499 [FIX] account: bug fixed in the generation of COA form templates + fixed default values in that wizard in order to have at least one journal of type 'bank' (hardly needed for bank statement encoding for example)
bzr revid: qdp-launchpad@openerp.com-20120124124021-1i6x1qb3pbx6fcgw
2012-01-24 13:40:21 +01:00
Ferdinand 8ad6567fb7 [FIX] account : Error message for chart check must be user freindly
lp bug: https://launchpad.net/bugs/919682 fixed

bzr revid: mdi@tinyerp.com-20120123091429-pf4d65obqjtcn9ny
2012-01-23 14:44:29 +05:30
Quentin (OpenERP) 5888531e5c [FIX] account: fixed the generation of tax from sale and purchase rates in wizard
bzr revid: qdp-launchpad@openerp.com-20120106111149-ztmuqg58980a0tu3
2012-01-06 12:11:49 +01:00
Quentin (OpenERP) 12494f165e [FIX] account: generation of chart of tax from templates was creating duplicated roots
bzr revid: qdp-launchpad@openerp.com-20120104093005-o9u8f02ocx54ow69
2012-01-04 10:30:05 +01:00
fp 8aff5209ea [IMP] improved error message, constraints must allways propose a solution
bzr revid: fp@fp-laptop-20111231075720-4kak7o320td4wxqc
2011-12-31 08:57:20 +01:00
Fabien Pinckaers 6a1d590d85 [FIX] analytic journal on journal
bzr revid: fp@tinyerp.com-20111230163043-96vwqvzje444xs2g
2011-12-30 17:30:43 +01:00
Fabien Pinckaers 60b9004486 [IMP] purchase tax rate depends on sale for generic chart of account
bzr revid: fp@tinyerp.com-20111230161827-c18kz0rwa52q59kf
2011-12-30 17:18:27 +01:00
Fabien Pinckaers 0aa8747a48 [FIX] select rate when installing generic chart
bzr revid: fp@tinyerp.com-20111230151600-vwsj877ip2btv5s7
2011-12-30 16:16:00 +01:00
Fabien Pinckaers c5855b961c [FIX] select rate when installing generic chart
bzr revid: fp@tinyerp.com-20111230151435-86qu330g74d6ibj1
2011-12-30 16:14:35 +01:00
Antony Lesuisse 74adf124cd move account_financial_report to it's own file, create separate action for PL BS.
bzr revid: al@openerp.com-20111230114410-73kvxxvl6vauj6tu
2011-12-30 12:44:10 +01:00
Fabien Pinckaers c04a3aed07 [FIX] small fixes and imp
bzr revid: fp@tinyerp.com-20111230111938-c4k5h0f22oo15vt9
2011-12-30 12:19:38 +01:00
Quentin (OpenERP) ba3139d972 [MERGE] lp:909014
bzr revid: qdp-launchpad@openerp.com-20111229171453-p8pg8dxkrf49lkzw
2011-12-29 18:14:53 +01:00
Quentin (OpenERP) 7ba7c43af4 [MERGE] merged fix on account journal code selection when generating from the wizard + fix on onchange_date in account_voucher module
bzr revid: qdp-launchpad@openerp.com-20111228134243-rxodujxrjp89wkvx
2011-12-28 14:42:43 +01:00
Rucha (Open ERP) 5740ac50bd [MERGE]: Merge with latest trunk addons
bzr revid: rpa@tinyerp.com-20111228130748-kss1ptv0z8l0lz57
2011-12-28 18:37:48 +05:30
Divyesh Makwana (Open ERP) 0f1a9ba110 [IMP] account : Improved the code
bzr revid: mdi@tinyerp.com-20111228124631-iy0eg7dnful3a71q
2011-12-28 18:16:31 +05:30