Commit Graph

508 Commits

Author SHA1 Message Date
Quentin (OpenERP) 81ac1302f6 [FIX] account: amount in secondary currency shouldn't be recomputed if 0 is given as value
bzr revid: qdp-launchpad@openerp.com-20140108160444-v2noeye7ftl32jgi
2014-01-08 17:04:44 +01:00
Martin Trigaux 56dc173361 [FIX] _auto_init: return a value to _auto_init calls. Backport of trunk revision 8679
bzr revid: mat@openerp.com-20140107145142-zm48pcjvqp42cfjg
2014-01-07 15:51:42 +01:00
Martin Trigaux 8be311d950 [FIX] account: performance improvement on analytic line creation
remove analytic lines (to avoid duplicates) only when create new one instead of each validation of the account move
don't create new analytic lines at move creation, will do it once the move is balanced (unbalanced move should not create analytic lines yet)

bzr revid: mat@openerp.com-20131206104659-vct8a5l9o4nmhwqs
2013-12-06 11:46:59 +01:00
Denis Ledoux 5a0e603589 [FIX]account: fix _balance func field on account.move.line to always return a result for the request ids
bzr revid: dle@openerp.com-20131120142131-s333lyva85cyn41o
2013-11-20 15:21:31 +01:00
Martin Trigaux f37b2a0db4 [IMP] account: performance improvement on the creation of new account.move (opw #597719)
bzr revid: mat@openerp.com-20130918143146-bnmoje96alatdyc1
2013-09-18 16:31:46 +02:00
Martin Trigaux 1bdd49c23a [FIX] account: pass context to move line reconciliation creation (opw #594546)
bzr revid: mat@openerp.com-20130812094859-gyg5d1jz69zikt7s
2013-08-12 11:48:59 +02:00
Martin Trigaux cf4b1f7950 [MERGE] [FIX] account: better check of context when writing account.move.line
bzr revid: mat@openerp.com-20130613113305-j7j6rgj1lzkzdf9q
2013-06-13 13:33:05 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
Quentin (OpenERP) 2ae76572ea [FIX] account: fixed bad constraint message
bzr revid: qdp-launchpad@openerp.com-20130425124453-gc42mimtn6dfec3u
2013-04-25 14:44:53 +02:00
Quentin (OpenERP) 46e95cb136 [FIX] account, account.move.line form view: the same method was defined twice, differently, and parameters were not correctly passed in onchanges
bzr revid: qdp-launchpad@openerp.com-20130418134032-t3y4dk4sp4eu2031
2013-04-18 15:40:32 +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
Chris Biersbach 002f6aa7c1 [FIX] account_move_line: takes into account the ir_rules when listing the partenrs to reconcile
bzr revid: cbi@openerp.com-20130326093413-j0e8hpb0eqig1too
2013-03-26 10:34:13 +01:00
Quentin (OpenERP) 0094cebad9 [FIX] account: manual reconciliation was not showing partners if the payment was encoded the same day than the last_reconciliation_date
bzr revid: qdp-launchpad@openerp.com-20130322143458-3tgw6pjmxetuomeq
2013-03-22 15:34:58 +01:00
Josse Colpaert 772b7d3035 [FIX] Use created date instead of account move line date for manual reconcil
bzr revid: jco@openerp.com-20130322113253-tkmb1bygozymsixl
2013-03-22 12:32:53 +01:00
Quentin (OpenERP) 2bfbe50079 [FIX] account: fixed the filter used in manual reconciliation process
bzr revid: qdp-launchpad@openerp.com-20130318144342-16w1dreej7yzr51n
2013-03-18 15:43:42 +01:00
Josse Colpaert 26e769eb88 [FIX] Change SQL query for manual reconciliation partners such that partners appear when needed
bzr revid: jco@openerp.com-20130318113043-fm2gc0yrln630vjf
2013-03-18 12:30:43 +01:00
Xavier ALT c805a9bdce [MERGE] OPW 582763: account: improve error message for already reconciled entries
forward-port of v6.0 revid: xal@openerp.com-20120306123612-uk96sxe4z8iub6z2

bzr revid: xal@openerp.com-20130226154928-peisqxf77c7uyxn8
2013-02-26 16:49:28 +01:00
Quentin (OpenERP) 04f75c1833 [FIX] account: when editing an account.move, don't crash at the creation of account.move.line because the date isn't given, if it already exists in the parent move
bzr revid: qdp-launchpad@openerp.com-20130111135426-f68wteyccd3nqani
2013-01-11 14:54:26 +01:00
Olivier Dony fc0c2942ba [MERGE] Another batch of bugfixes from 6.1
bzr revid: odo@openerp.com-20121218175547-7c1uxq4ypbi314gx
2012-12-18 18:55:47 +01:00
Olivier Dony 84d7987f33 [MERGE] Bugfixes from 6.1 until revision 6900
rev.6900 = xal@openerp.com-20120720134532-t07xr3lp8ouhn2dv

bzr revid: odo@openerp.com-20121218021123-9ligpn7bkr9zo4n7
2012-12-18 03:11:23 +01: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 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Fabien Pinckaers 5c98593604 [IMP] fields name
bzr revid: fp@tinyerp.com-20121208104558-2jr4j84go4gcemrb
2012-12-08 11:45:58 +01:00
Olivier Dony e7b30b164e [MERGE] Another batch of Bugfixes from 6.1
Up to 6.1 revision 6800 olt@tinyerp.com-20120516065727-ghvzjttnncj8ryj0

bzr revid: odo@openerp.com-20121207183024-adx8vnq9cytxi2lu
2012-12-07 19:30:24 +01:00
Olivier Dony 5db87bea9c [MERGE] Bugfixes from 6.1 until revision 6800
bzr revid: odo@openerp.com-20121206153856-9y9v8ok6yxo6l5f0
2012-12-06 16:38:56 +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
Josse Colpaert f67c93855a [IMP] Merge from trunk
bzr revid: jco@openerp.com-20121206110528-mpbuo0q3g4ntvdbz
2012-12-06 12:05:28 +01:00
Josse Colpaert cfd009394d [IMP] Search functions on amounts and dates in partner
bzr revid: jco@openerp.com-20121206110315-ddgp3qxwn3ezl06g
2012-12-06 12:03:15 +01:00
Paramjit Singh Sahota 875c27d45e [IMP] Rename string from 'Journal Entry' to 'Journal Entry Name','Reconcile' to 'Reconcile Name','amount_residual_currency' to 'Residual Amount Currency'.
bzr revid: psa@tinyerp.com-20121205104329-ff6pd8v6v2fpkgb8
2012-12-05 16:13:29 +05:30
nep-OpenERP aeddcb90db [IMP] account : Improved warning message for already reconciled entries
bzr revid: nep@tinyerp.com-20121205072543-26yhi9cywt8l9iva
2012-12-05 12:55:43 +05:30
Quentin (OpenERP) 966890c540 [MERGE] merged the branch with supplier payment term from alexis de Lattre (Akretion). Thanks for the nice proposal
bzr revid: qdp-launchpad@openerp.com-20121204103146-9mfmx56ulfxrlphj
2012-12-04 11:31:46 +01:00
Quentin (OpenERP) e786a1675b [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121130091824-e3xhak3k9z2anihv
2012-11-30 10:18:24 +01:00
Alexis de Lattre cad4abe56c Merge with addons/trunk revno 8168.
Adapt demo data to the rename of partner XML IDs in server/trunk.

bzr revid: alexis@via.ecp.fr-20121129222645-lm5ujxf4a1a83aoz
2012-11-29 23:26:45 +01:00
dle@openerp.com 514952bdd3 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121128164105-m3hgq38xw6ikewa5
2012-11-28 17:41:05 +01:00
Quentin (OpenERP) 928f7ecfe9 [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121127134541-t16ham0o3k4xx0f8
2012-11-27 14:45:41 +01:00
Denis Ledoux dle@openerp.com e046bb6650 [FIX]journal_id and period_id check wrong in _get_date
bzr revid: dle@openerp.com-20121127100418-iv8gkbh4r391qz6m
2012-11-27 11:04:18 +01:00
Quentin (OpenERP) a51dc81513 [REF] account, hr_timesheet_invoice: code refactoring
bzr revid: qdp-launchpad@openerp.com-20121126141137-18h8t0vusnhe4e0l
2012-11-26 15:11:37 +01:00
Quentin (OpenERP) 7db911f1c7 [REF] account: refactoring of default_get() of account.move.line
bzr revid: qdp-launchpad@openerp.com-20121123162758-qczz3bgbea2qzxjo
2012-11-23 17:27:58 +01:00
Josse Colpaert 205706f18d [IMP] Clean-up before multi-compny
bzr revid: jco@openerp.com-20121122153049-uuv02l05cqqed7br
2012-11-22 16:30:49 +01:00
Denis Ledoux dle@openerp.com 4e9f308bef [DEL]Remove commented useless fields_view_get
bzr revid: dle@openerp.com-20121122152612-i4k15g2k73pd7b1l
2012-11-22 16:26:12 +01:00
Denis Ledoux dle@openerp.com 44c948caf4 [FIX]Possibility to choose journal none and period none
bzr revid: dle@openerp.com-20121122150645-kxfuwdfy6qxvjvxu
2012-11-22 16:06:45 +01:00
Denis Ledoux dle@openerp.com 0a5e921dff [ADD]Possibility to select no journal and/or no period
bzr revid: dle@openerp.com-20121122142859-dornyupukdeaya5y
2012-11-22 15:28:59 +01:00
Quentin (OpenERP) 84050666ab [REF] some code/error message refactoring
[REM] account: removed _check_fiscal_year constraint on account.move.line (was made to ensure a journal item's date is included inbetween the date start and stop of the fiscalyear it belongs) over which we have a doubt
[FIX] account: fixed _check_currency_and_amount constraint on account.move.line (having 0 as amount_currency is a legal value since debit and credit can both be 0 (used in case of complex taxes))
[FIX] account_voucher: changed the behavior in order to restrict the update of the journal in a bank statement only when there is a voucher already created/generated for that, because previous check was too restrictive.

bzr revid: qdp-launchpad@openerp.com-20121122142819-wvqak470vn3ete27
2012-11-22 15:28:19 +01:00
Quentin (OpenERP) df1569f9f1 [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121122140800-1z8t57k0c2leaaqx
2012-11-22 15:08:00 +01:00
Denis Ledoux dle@openerp.com bf093ee617 [ADD]Reconcile function which return the full or partial reconcile depending on which is setted for the move line
bzr revid: dle@openerp.com-20121122092302-rji8z8bgbb3p8k14
2012-11-22 10:23:02 +01:00
Denis Ledoux dle@openerp.com d05caecd7e [MERGE][FIX][IMP]Latest trunk + lots of things. I should have pushed more often, but its too late now : (
bzr revid: dle@openerp.com-20121121172954-qpnw0arhb632b8ve
2012-11-21 18:29:54 +01:00
Denis Ledoux dle@openerp.com 20c09c3393 [IMP]Journals views in one, comment of fields_view_get of account.move.line
bzr revid: dle@openerp.com-20121121142643-g29shtxwf9slvvhi
2012-11-21 15:26:43 +01:00
Denis Ledoux dle@openerp.com 88dd10176c [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121113103828-9t205ofj1fdh7o6h
2012-11-13 11:38:28 +01:00
Fabien Pinckaers 72998137dd [MERGE] fix better error handling for move.line constraint on view accounts
bzr revid: fp@tinyerp.com-20121113075131-wl4i5t3nb280hv4m
2012-11-13 08:51:31 +01:00
Denis Ledoux dle@openerp.com d59abaf0f3 [MERGE]Latest Trunk
bzr revid: dle@openerp.com-20121112151539-lejffs2lmhs641a3
2012-11-12 16:15:39 +01:00