Commit Graph

512 Commits

Author SHA1 Message Date
Denis Ledoux 546a191f0a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9459 rev-id: fva@openerp.com-20130918153347-fy4nuvbm82ngfb8x
bzr revid: mat@openerp.com-20130826135110-f9q4p65ds2aholcw
bzr revid: dle@openerp.com-20130828141129-ecxl2vlpb8vw0o9f
bzr revid: dle@openerp.com-20130828162659-n8a0ku9o3h01qaov
bzr revid: dle@openerp.com-20130830094205-q3itwd7x0246d9n6
bzr revid: dle@openerp.com-20130830133604-mfnfbscn5wdk4vi4
bzr revid: dle@openerp.com-20130902131244-v9uh0s8rg4889i7j
bzr revid: mat@openerp.com-20130903134105-68ziuaccreu6rs61
bzr revid: chs@openerp.com-20130906171851-jtfsf4au1k30wwlr
bzr revid: dle@openerp.com-20130909103120-k5oefxgebhyslac3
bzr revid: dle@openerp.com-20130909170047-pbzw4ernvcpivbhh
bzr revid: chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: tde@openerp.com-20130912121059-k840pi4rwdzpez8g
bzr revid: dle@openerp.com-20130913085251-p906ci2divy82jur
bzr revid: tde@openerp.com-20130913092546-kzshg1a7sls566l8
bzr revid: mat@openerp.com-20130917122102-drf8fj9lrjj0fvju
bzr revid: mat@openerp.com-20130917161614-w8u2c1ayeb5kxm30
bzr revid: dle@openerp.com-20130918161305-7ep1642nxzyy3vhd
2013-09-18 18:13:05 +02: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
Olivier Dony 788eb29237 [MERGE] Forward-port of 7.0 bugfixes up to rev.9369 rev-id: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
bzr revid: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
2013-08-20 17:26:07 +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
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +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
Olivier Dony 9c08e12962 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085
revision-id: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

bzr revid: odo@openerp.com-20130429151410-54y94063gijyk16o
2013-04-29 17:14:10 +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) 33f27b362b [MERGE] forward port of addons v7 up to revision 9045
bzr revid: qdp-launchpad@openerp.com-20130422153449-c62emljfa4a49758
2013-04-22 17:34:49 +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) 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 9541529215 [FIX] _auto_init(): when _auto_init() is overridden it does not return the super() result, which might brake functional fields initialization.
bzr revid: vmt@openerp.com-20130417075546-e3crirzk1trl9yr1
2013-04-17 09:55:46 +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
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