Commit Graph

39 Commits

Author SHA1 Message Date
Stéphane Bidoul e11490c3a1 [FIX] account: Analytic account domain in reconcile with writeoff wizard
The domain for the analytic account in the `reconcile with writeoff` wizard
should be based on the `type` field, which must be `view`,
not on the `parent_id` field, as it's done everywhere else
(e.g. in the supplier invoice form).

`[('parent_id', '!=', False)]`
and
`[('type', '!=', 'view')]`
is almost the same, but the second domain is more appropriate.

Closes #4562
2015-09-30 16:22:05 +02:00
Erwin van der Ploeg 2ec99aee18 [FIX] Account. Missing translation on write-off comment 2014-10-03 15:38:45 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Denis Ledoux 6ab1f8a4a4 [FIX] account: account reconciliation adding float rounding, to avoid having float precision problem
bzr revid: dle@openerp.com-20140128175042-a2e4ga47lqow86vj
2014-01-28 18:50:42 +01:00
Quentin (OpenERP) 429ef87172 [MERGE] accounts* modules: forward port of revision 9033 of addons v7 that was passing 'account_period_prefer_normal=True' in the context in each and every call to account_period.find(). The behaviour is modified in order to search only on normal periods by default
bzr revid: qdp-launchpad@openerp.com-20130418094147-q2ks4w47sn4fxdv2
bzr revid: qdp-launchpad@openerp.com-20130418103907-0qom5yfcq8osnovp
2013-04-18 12:39:07 +02:00
Quentin (OpenERP) c46929268d [FIX] account* modules: added 'account_period_prefer_normal':True in context when trying to find the period related to a date.
This patch will be forward ported in trunk by changing the behaviour of account_period.find() in order to fetch the normal periods by default (account_period_prefer_normal will be True by default) because there are no business case i could think of where you'd like to get the opening period (except in the closure but it's held in a different way there). On the other hand, it's pretty easy to forget to put that key in the context and introduce a new bug that will select the opening period instead of the wanted one

bzr revid: qdp-launchpad@openerp.com-20130418102433-t52uj23trkpr8vnb
2013-04-18 12:24:33 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Cecile Tonglet a3939acfa5 [FIX] replace from/import decimal_precision by from/import openerp.addons.decimal_precision
bzr revid: cto@openerp.com-20121217152303-8e3b1x30rlw9cb0d
2012-12-17 16:23:03 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Fabien Pinckaers 73d0fb8d1c [MERGE]
lp bug: https://launchpad.net/bugs/944017 fixed

bzr revid: fp@tinyerp.com-20120929091416-rjxhp7n6squ7qelo
2012-09-29 11:14:16 +02:00
Quentin (OpenERP) 8f134d5c85 [IMP/FIX] account, manual reconciliation process
*replaced function get_next_partner() by list_partners_to_reconcile(), which is optmized, more explicit and returns now the result of name_get() (for convenience)
	*removed useless stuff about 'stop_reconcile' in context (replaced by the function has_something_to_reconcile())
	*changed semantic of last_reconciliation_date field. It's now intented to be filled only when the given partner does not have anything remaining to reconcile)

bzr revid: qdp-launchpad@openerp.com-20120918124640-eerh0ait8vt7n7ta
2012-09-18 14:46:40 +02:00
niv-openerp cd12a0faf5 removed lot of stuff
bzr revid: nicolas.vanhoren@openerp.com-20120917151031-h3gofzqv23k6g0t7
2012-09-17 17:10:31 +02:00
RGA(OpenERP) 03dd0da485 Remove print
bzr revid: rgaopenerp-20120827064531-hxwor2pr6nn5f53r
2012-08-27 12:15:31 +05:30
RGA(OpenERP) b4a38f16ac [FIX] last_reconciliation_date should write on reconcilation and change according to get correct partner based on last reconciliation date
bzr revid: rgaopenerp-20120822125616-bxkrh4le71yg2dod
2012-08-22 18:26:16 +05:30
Amit (OpenERP) 014e243e7f [FIX] account : Add decimal precision for credit, debit and write-off field on account reconcile wizard
lp bug: https://launchpad.net/bugs/944017 fixed

bzr revid: amp@tinyerp.com-20120328102145-li145mzcmtphc2pw
2012-03-28 15:51:45 +05:30
Numerigraphe - Lionel Sausin f120f5aa5b [FIX] unmutable default in account
bzr revid: ls@numerigraphe.fr-20120305174111-zf5j02cm7veyvzs4
2012-03-05 18:41:11 +01:00
Bharat (OpenERP) 062f6446df [FIX] account : can't write off invoice with analytic account in reconcile entries wizard
lp bug: https://launchpad.net/bugs/885571 fixed

bzr revid: bde@tinyerp.com-20111103095612-liyro0uztuac10zo
2011-11-03 15:26:12 +05:30
Olivier Dony b6f47d867d [IMP] account: unique description for wizard model
bzr revid: odo@openerp.com-20110919133600-kffc955xf51d3pt1
2011-09-19 15:36:00 +02:00
Mustufa Rangwala 2d347b1734 [FIX] Account: [trunk] Account: Can not reconcile entries
lp bug: https://launchpad.net/bugs/737489 fixed

bzr revid: mra@mra-laptop-20110318125017-es4ti58sgxpbepga
2011-03-18 18:20:17 +05:30
uco (OpenERP) c3098f4f43 [FIX] account..l10n_ch: Pass return {'type': 'ir.actions.act_window_close'} instead of return {} in osv_memory/normal wizards.(lp:691544)
bzr revid: uco@tinyerp.com-20101228104445-h5q9jg8mq7dmdc51
2010-12-28 16:14:45 +05:30
pso 751166ef62 [IMP] account, hr modules: Put lambda in _defaults
bzr revid: pso@tinyerp.com-20101104124242-djqmwoq9jzenr8cn
2010-11-04 18:12:42 +05:30
pso 03dcaad9b3 [IMP] account: Removed unused vars
bzr revid: pso@tinyerp.com-20101018064923-zyo9f0u8pc4s1m9g
2010-10-18 12:19:23 +05:30
ARA (OpenERP) 8b2622b607 [REF] account wizard: code clean
bzr revid: ara@tinyerp.com-20101015133522-dmxhk5szekf7ybap
2010-10-15 19:05:22 +05:30
ARA (OpenERP) d10e1e83af [REF] cleaning code of account
bzr revid: ara@tinyerp.com-20101011060340-v55iqbqk378atwnq
2010-10-11 11:33:40 +05:30
qdp-launchpad@tinyerp.com 4f294bb583 [FIX] account, reconciliation manul process: multi fixes (division by 0, put a condition on stopping the process for a partner, corrected stats and process in order to not show partners with only debit (or credit) entries
bzr revid: qdp-launchpad@tinyerp.com-20100923114315-px7xcih1tv8ic1n1
2010-09-23 13:43:15 +02:00
qdp-launchpad@tinyerp.com 85d243fb44 [MERGE] merge with same branch
bzr revid: qdp-launchpad@tinyerp.com-20100913155446-gm9b07hb4fnd5yyo
2010-09-13 17:54:46 +02:00
qdp-launchpad@tinyerp.com 7ef8b69d33 [REF] account: removed deprecated code about account.move.line.reconcile.prompt
bzr revid: qdp-launchpad@tinyerp.com-20100913134445-30ahc34z15vdol06
2010-09-13 15:44:45 +02:00
Mustufa Rangwala cbd0b7effd [FIX] Account: manuall reconcilation=> used stop_reconcile in context when we recocile partner and go to next one
bzr revid: mra@mra-laptop-20100909055155-h96s41mqdtka3eja
2010-09-09 11:21:55 +05:30
pap (openerp) 21b34c1889 [REM] Account: removed unused code from account/wizard/account_reconcile.py
bzr revid: pap@tinyerp.co.in-20100908093938-lmsvthaebraf4pu1
2010-09-08 15:09:38 +05:30
uco (Open ERP) 31d249a9ab [MERGE]
bzr revid: uco@tinyerp.com-20100819125727-iuofahcl931exx1r
2010-08-19 18:27:27 +05:30
Mustufa Rangwala f1b6b52bfc [IMP] Account, Sale: not it will search only analytic accounts where parent is not false
bzr revid: mra@mra-laptop-20100819120501-q91dklumoptkkc21
2010-08-19 17:35:01 +05:30
RHA (Open ERP) d5ad0b8ff1 [CLEAN]: Removed commented codes, unnecessary spaces.
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-19 17:21:57 +05:30
Mustufa Rangwala 3be7801205 [MERGE] merge with trunk addons and remove conficts
bzr revid: mra@mra-laptop-20100618083859-5jbrk4u9l2vojxu6
2010-06-18 14:08:59 +05:30
vra bf8d2a73c0 [IMP][REF] Sql-injection changes, remove print statement, some space improvement.
bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-06-16 17:21:39 +05:30
Mustufa Rangwala 2deeca8f09 [FIX] account reconcile wizard
bzr revid: mra@mra-laptop-20100611111439-farzx5wuxh54l518
2010-06-11 16:44:39 +05:30
Jay (Open ERP) 54245a5b8d [REF]
bzr revid: jvo@tinyerp.com-20100519111346-z9dvw9dsp2xumtv3
2010-05-19 16:43:46 +05:30
Vir (Open ERP) f9d82dd54b [ADD,MOD] account : wizard account_reconcile converted to osv memory wizard
bzr revid: vir@tinyerp.com-20100428050251-n8ovgsu92caqt3yi
2010-04-28 10:32:51 +05:30