Commit Graph

1200 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
Thibault Delavallée fd5ad86c57 [FIX] account: fixed an error when using custom chart of accounts, could lead to no result in search in ir model data
bzr revid: tde@openerp.com-20130913082516-bv8lvmgmyay4o86s
2013-09-13 10:25:16 +02:00
Thibault Delavallée 6df4eaacd5 [MERGE] [FIX] charts of account: fixed currency not selected on COA, added some missing default values (US/MA/VE).
Currency is found by adding values in ir.values and retrieving it when installing the COA.

In trunk/8.0, a new currency_id field will be added allowing to retrieve directly the currency.

bzr revid: tde@openerp.com-20130912113247-esuwq1zppcq2gakk
2013-09-12 13:32:47 +02:00
Turkesh Patel (Open ERP) 2003332c63 [FIX] remove use of search_read method
bzr revid: tpa@tinyerp.com-20130910094112-1rb8aq23vwwpyw6v
2013-09-10 15:11:12 +05:30
Martin Trigaux 93e93e8d4e [IMP] account: don't write state as draft on lines that are already in draft state (performace improvement)
bzr revid: mat@openerp.com-20130909125751-we5n8e018bwqadvz
2013-09-09 14:57:51 +02:00
Turkesh Patel (Open ERP) 84872f59c8 [IMP] improved code
bzr revid: tpa@tinyerp.com-20130909065930-u9btuxnl7ot19fuo
2013-09-09 12:29:30 +05:30
Turkesh Patel (Open ERP) bf1649ff74 [ADD] remove currency_id logic and set currency_id based on ir.values
bzr revid: tpa@tinyerp.com-20130906090052-mr2hcurvsu573pm1
2013-09-06 14:30:52 +05:30
Turkesh Patel (Open ERP) 3bbe2330af [IMP] improved code to set default accounts in l10n_us,l10n_ma and added new currency_id field to set currency based on select coa, fixed installation time error of l10n_ve
bzr revid: tpa@tinyerp.com-20130903070707-7ib7qi5yubhr11u8
2013-09-03 12:37:07 +05:30
Denis Ledoux 641f19aedf [FIX]account: field partner_id, define store param to handle updates of partner changes in entries
bzr revid: dle@openerp.com-20130902124648-340vz90i1ng1zh01
2013-09-02 14:46:48 +02:00
Cecile Tonglet aef380c5c8 [FIX] account.account.type getter function of field report_type now handle ValueError raised by get_object_reference()
bzr revid: cto@openerp.com-20130827064025-ebw8skxpku1jad20
2013-08-27 08:40:25 +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
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 0f983a0146 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9183
rev-id launchpad_translations_on_behalf_of_openerp-20130531070107-7d2k818beg8965ll

bzr revid: odo@openerp.com-20130603121852-jdl6vlo9dmjk0rlc
2013-06-03 14:18:52 +02:00
Martin Trigaux 17a618eb89 [MERGE] [FIX] context is not propagated through account_period.name_search to account_period.search, courtesy of Guewen Baconnier (Camptocamp)
lp bug: https://launchpad.net/bugs/1177348 fixed

bzr revid: mat@openerp.com-20130528152327-zq382uvqn9h3ja83
2013-05-28 17:23:27 +02:00
Thibault Delavallée 71df1a41bc [FORWARD] Forward port of addons 7.0 until revision 9172
bzr revid: tde@openerp.com-20130528104500-ds3irrs2u0qpst37
2013-05-28 12:45:00 +02:00
Martin Trigaux a1bbb140b3 [IMP] account: use digits precision of account +3 for account.tax and templates
bzr revid: mat@openerp.com-20130527085957-xq6zwmc3lhn6yy83
2013-05-27 10:59:57 +02:00
Quentin (OpenERP) 7ca85ffbba [FIX] account: exclude company_id from build_ctx_periods()'s criteria to allow printing consolidated reports
bzr revid: qdp-launchpad@openerp.com-20130523122756-tpkc268q107hiqvy
2013-05-23 14:27:56 +02:00
Guewen Baconnier 1c4bdf3061 [FIX] context is not propagated through account_period.name_search to account_period.search
lp bug: https://launchpad.net/bugs/1177348 fixed

bzr revid: guewen.baconnier@camptocamp.com-20130507115306-lrnb0t3139lfxtie
2013-05-07 13:53:06 +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) 7e46260474 [FIX] account: modified the constraint on account.move.reconcile in order to allow the reconciliation to be made on different partners if it doesn't concern a payable or receivable account
bzr revid: qdp-launchpad@openerp.com-20130423125731-dblhpx7zz4q9x464
2013-04-23 14:57:31 +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 e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Thibault Delavallée 4da68cbc22 [FORWARD] Forward port of addons 7.0 until revision 9008
bzr revid: tde@openerp.com-20130411124446-73gzyw3eo925w3dv
2013-04-11 14:44:46 +02:00
Raphael Collet 894eeef8e0 [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073708-gaxl2332umtedmg6
2013-04-11 09:37:08 +02:00
Quentin (OpenERP) 3bb51ac696 [MERGE] forward port of bugfixes made in 7.0, up to revision 8969.
bzr revid: qdp-launchpad@openerp.com-20130404095257-oek77sijuxjyi0aj
2013-04-04 11:52:57 +02:00
Chris Biersbach d43b932270 [FIX] Forwardport of 6.1 fix by han: Do not copy the statement_id value when copying account moves
bzr revid: cbi@openerp.com-20130404090948-c7zw5yco1sply0b8
2013-04-04 11:09:48 +02:00
Raphael Collet 96ad608854 [IMP] general: use registry[X] instead registry.get(X) when X is dynamic
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
2013-03-29 15:37:20 +01:00
Vo Minh Thu 245f0fe9f8 [REF] account: removed openerp.pooler imports.
bzr revid: vmt@openerp.com-20130327134337-rpktoa5gj31iof5c
2013-03-27 14:43:37 +01:00
Quentin (OpenERP) cd164a8bc9 [MERGE] v7
bzr revid: qdp-launchpad@openerp.com-20130313110304-8fivajfr9779x58s
2013-03-13 12:03:04 +01:00
Quentin (OpenERP) 9446f1d291 [MERGE] v7.0
bzr revid: qdp-launchpad@openerp.com-20130306162854-q3d41kqf51vnske8
2013-03-06 17:28:54 +01:00
Quentin (OpenERP) 1bed52ec67 [FIX] account, duplicate of account.tax: better fix for problem fixed in revision 8807.
fixed the duplicate of tax (wasn't working because of a unique constraint on name field). The previous fix was working only for taxes that doesn't have any child. The reason is that copy() is never called for one2many fields, only copy_data() is called (and give the same results for other fields)

bzr revid: qdp-launchpad@openerp.com-20130307090408-cxb1qcfz4n9ksrg5
2013-03-07 10:04:08 +01:00
Quentin (OpenERP) cdabf79cf2 [REF] hr_expense, creation of accounting entries from hr.expense: a lot of code refactoring. Still a huge work to be done in order to factorize some code with other objects (like account.invoice, account.voucher, account.asset...)
bzr revid: qdp-launchpad@openerp.com-20130306140554-fhs6fhkyb779t6re
2013-03-06 15:05:54 +01:00
Quentin (OpenERP) 7f8d7e3518 [FIX] account: fixed the duplicate of tax (wasn't working because of a unique constraint on name field)
bzr revid: qdp-launchpad@openerp.com-20130306132543-4kqiwuvoo61h18qs
2013-03-06 14:25:43 +01:00
csn-openerp efbb25bae3 [FIX] account: missing ondelete cascade rule on m2o between 2 TransientModels
bzr revid: csn@openerp.com-20130129133427-ar1wiknf0ck15257
2013-01-29 14:34:27 +01:00
Quentin (OpenERP) 26f5b8b7bf [FIX] account: when generating the opening entries, do not copy the last partner on the centralisation lines (was set in default_get) but force it to False
bzr revid: qdp-launchpad@openerp.com-20130107135507-jfm7ptd64zlldrqr
2013-01-07 14:55:07 +01:00
Rifakat d4fe5a47f3 [FIX] account: put a restriction to re-open a period which belongs to
> the closed fiscal year,
it must not be possible to re-open a period and post journal items when its fiscal year is closed

bzr revid: rha@tinyerp.com-20130123103911-trxfkv0kemltvdv5
2013-01-23 16:09:11 +05:30
Randhir Mayatra (OpenERP) 0d8b961905 [IMP] improve the string in account
bzr revid: rma@tinyerp.com-20121219072915-bd84k8220m6dsgm1
2012-12-19 12:59:15 +05:30
Randhir Mayatra (OpenERP) bb43d29605 [IMP] improve the string in account
bzr revid: rma@tinyerp.com-20121219072537-8szdtp4nmz5xr2hh
2012-12-19 12:55:37 +05:30
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 b67f73c327 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121218025230-zig415ldtmazgbxt
2012-12-18 03:52:30 +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 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Fabien Pinckaers d9b7d8155e [IMP] multi-currency stuff
bzr revid: fp@tinyerp.com-20121215162309-yav3g8hu50bp9wvv
2012-12-15 17:23:09 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Antony Lesuisse 87c8767999 [FIX] required on boolean warning
bzr revid: al@openerp.com-20121209194352-j6sv17tzh3bz4e1u
2012-12-09 20:43:52 +01:00
Fabien Pinckaers 94d94a9d54 [IMP] implification of payment terms, it even works without balance line
bzr revid: fp@tinyerp.com-20121208135723-ori198g559b1sxsu
2012-12-08 14:57:23 +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
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