Commit Graph

74118 Commits

Author SHA1 Message Date
Martin Trigaux a2e0acf7d4 [REV] revert partner.py to revision 9043 (error cf lp:1219381 comment #11)
bzr revid: mat@openerp.com-20131022091728-hebgvt1m26y9wjot
2013-10-22 11:17:28 +02:00
Martin Trigaux 0e28dc6b62 [MERGE] sync with 7.0
bzr revid: mat@openerp.com-20131022091319-dzpe0i8936alq22y
2013-10-22 11:13:19 +02:00
Launchpad Translations on behalf of openerp 1433c5fc0b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131022051531-skzykboyadt54zs1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131018061132-rzws6tazubx0zysd
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050513-83ofvmdau85nhc89
bzr revid: launchpad_translations_on_behalf_of_openerp-20131022051535-g7vpsdx91u9d7zbs
2013-10-22 05:15:35 +00:00
Martin Trigaux ffc27c288f [FIX] hr_timesheet: cost and revenues of parent analytic accounts aggregate from child analytic accounts
bzr revid: mat@openerp.com-20131021160326-62hpxyypgu70v6w2
2013-10-21 18:03:26 +02:00
Christophe Simonis 9a775cd3f5 [MERGE] forward port of branch 7.0 up to revid 9535 odo@openerp.com-20131021124748-x4jnibwyab4gam23
bzr revid: chs@openerp.com-20131021141431-5bdk9waai17julkb
2013-10-21 16:14:31 +02:00
Olivier Dony 6a3683f116 [FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error at module update
Due to the relationship between fiscal position
templates and tax templates, the removal of
obsolete tax templates may crash if the corresponding
fiscal positions are not deleted before.
In a recent l10n_fr patch [1] a number of
templates disappeared, which causes an error during
subsequent updates on databases where the obsolete
templates are still present.
      
As a workaround, we can force a deletion of
all fiscal position templates before loading
them. This is relatively safe because the templates
are not connected to live data, and will be
re-created during the update (except for the
obsolete ones which will be gone forever).

[1] addons 7.0 rev 9515 rev-id: odo@openerp.com-20131010114424-atzr3bl9e9diir2g

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

bzr revid: odo@openerp.com-20131021124748-x4jnibwyab4gam23
2013-10-21 14:47:48 +02:00
Martin Trigaux 6ba45e5cbf [FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3
bzr revid: mat@openerp.com-20131021095735-yz9pb5pphfdgl44j
2013-10-21 11:57:35 +02:00
Launchpad Translations on behalf of openerp 16fd47c3e1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019052801-ouw53m70o0eabxnv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050509-ar8koyz20p82rdjq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131021045723-bkmqoimoalwb3lzq
2013-10-21 04:57:23 +00:00
Olivier Dony b361ec0151 [FIX] base.import.module: this wizard is disabled and should be dropped entirely in trunk
Kept the model for backwards compatibility until then

bzr revid: odo@openerp.com-20131018145638-0evfafu4yqg2itia
2013-10-18 16:56:38 +02:00
Martin Trigaux 1a9297aaed [FIX] account: correct test on closing fiscal year to fail with error message and set the test to the previous year instead of next year (makes more sense)
bzr revid: mat@openerp.com-20131018140424-yyfc561nisym2gem
2013-10-18 16:04:24 +02:00
Martin Trigaux 7d3e01bea3 [FIX] account: go green test\!, also set the test to previous year
bzr revid: mat@openerp.com-20131018135925-x2n1yw96973srmk1
2013-10-18 15:59:25 +02:00
Martin Trigaux 6f2f0b17ed [TEST] test with failing test
bzr revid: mat@openerp.com-20131018134613-27lsl5vln5yu26pa
2013-10-18 15:46:13 +02:00
Martin Trigaux f6bb462172 [FIX] account: correct test with valid error message
bzr revid: mat@openerp.com-20131018134058-wpuyqnhb3xtshqs8
2013-10-18 15:40:58 +02:00
Martin Trigaux 10b09c13c7 [IMP] account: set test on closing account invoice on previous year instead of next one
bzr revid: mat@openerp.com-20131018124342-yccp0ftebmug4aco
2013-10-18 14:43:42 +02:00
Denis Ledoux 83ff86efe7 [FIX]account: test account_fiscalyear_close, the test was triggering the workflow with the 7.0 way, (due to the forward port of 7.0 bugfixes)
bzr revid: dle@openerp.com-20131018124037-v3501acvv4fh1077
2013-10-18 14:40:37 +02:00
Denis Ledoux 1a555475cc [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9529 rev-id: mat@openerp.com-20131018120428-2vdmdm2th8rz57zr
bzr revid: dle@openerp.com-20131018121236-zp221von16vekthp
2013-10-18 14:12:36 +02:00
Martin Trigaux e66a4b9e2d [FIX] mrp_repair: use action_done to validate a operation componenents when ending a repair
This allows to generate journal entries in case of real time stock evaluation (opw 599170)

bzr revid: mat@openerp.com-20131018120428-2vdmdm2th8rz57zr
2013-10-18 14:04:28 +02:00
Martin Trigaux 44bc4f3151 [FIX] mrp_repair: use action_done to validate a operation componenents when ending a repair
bzr revid: mat@openerp.com-20131018114400-f1iaoynu1vlq325o
2013-10-18 13:44:00 +02:00
Launchpad Translations on behalf of openerp afe290b844 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131018061129-4wcyxayj6darv5op
2013-10-18 06:11:29 +00:00
Martin Trigaux 20f63f6e36 [FIX] procurement: avoid getting loop of state change when a procurement is stuck in an exception and retried by the scheduler (opw 598606)
bzr revid: mat@openerp.com-20131017113736-inell5fxydr71xyk
2013-10-17 13:37:36 +02:00
Martin Trigaux b60da2a9a3 [IMP] procurement: track only once the change of state to exception and confirmed
bzr revid: mat@openerp.com-20131017113521-5u2k9glb3o7cnmmk
2013-10-17 13:35:21 +02:00
Martin Trigaux b98f935d27 revert change of workflow
bzr revid: mat@openerp.com-20131017104426-260y7v0113q8iue9
2013-10-17 12:44:26 +02:00
Martin Trigaux c4370b47f8 [IMP] procurement: redifine workflow to avoid going back to confrmed state
bzr revid: mat@openerp.com-20131017074635-qp1n3x8955bf3aqd
2013-10-17 09:46:35 +02:00
Launchpad Translations on behalf of openerp 5c3b065bc8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131017055926-8w96inwlj7rhey0e
2013-10-17 05:59:26 +00:00
niv-openerp 476a6f8353 [IMP] enabled sorting in o2m in list view
bzr revid: nicolas.vanhoren@openerp.com-20131016155200-ojmuj844yd5sx40b
2013-10-16 17:52:00 +02:00
Martin Trigaux b801e6eab9 [IMP] procurement: better workflow
bzr revid: mat@openerp.com-20131016150335-oikqm6twbukp666t
2013-10-16 17:03:35 +02:00
Martin Trigaux ba77a70259 [MERGE] sync with 7.0
bzr revid: mat@openerp.com-20131016142220-42psrgilc99gs3pp
2013-10-16 16:22:20 +02:00
Olivier Dony 77caeeeba5 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5101 rev-id: odo@openerp.com-20131016105812-844cd9xljvkjwtm3
bzr revid: odo@openerp.com-20131016110621-36vvlpn8dgsabyt1
2013-10-16 13:06:21 +02:00
Olivier Dony 06b2ce213c [FIX] document: overridden ORM methods need to respect API idiosyncrasies, otherwise check() calls may fail
bzr revid: odo@openerp.com-20131016105812-844cd9xljvkjwtm3
2013-10-16 12:58:12 +02:00
Thibault Delavallée aa34259629 [FIX] hr: fixed priorities of kanban views. Employees see the
kanban view defined for portal users because of priorities all equal to 16.
Now employees see the correct kanban view defined in HR, portal users see
the portal kanban view defined in portal_hr_employees.

bzr revid: tde@openerp.com-20131016092106-pqtjp7tyw27or3ow
2013-10-16 11:21:06 +02:00
Launchpad Translations on behalf of openerp ad7c84e43b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131016051402-s4et4c32h28r73sg
2013-10-16 05:14:02 +00:00
Martin Trigaux 435a038391 [FIX] account: include reconciled move lines generated at the opening of a new fiscal year (and indirectly take into account moves from previous fiscal years)
bzr revid: mat@openerp.com-20131015142948-db6x1py5auwzbn3e
2013-10-15 16:29:48 +02:00
Martin Trigaux 345f6739eb [REM] account: unused test (merged with account_fiscalyear_close.yml)
bzr revid: mat@openerp.com-20131015141453-dbznqlqfo4beglz9
2013-10-15 16:14:53 +02:00
Martin Trigaux afaa1159ad [ADD] account: test for added check
bzr revid: mat@openerp.com-20131015141408-rpdp110btoc0wll3
2013-10-15 16:14:08 +02:00
Christophe Matthieu 6b20e1baea [FIX] product: wrong product and supplierinfo demo data. Because product_id of product.supplierinfo is a product.template field and not a product.product field
bzr revid: chm@openerp.com-20131015132738-d1l7bb8vbndz5mu5
2013-10-15 15:27:38 +02:00
Martin Trigaux d36a90b39e [FIX] account: correctly compute debit/credit for partner including previous moves reported to new fiscal year
lp bug: https://launchpad.net/bugs/1219381 fixed

bzr revid: mat@openerp.com-20131015121015-jdwkzv9tjicg2m1u
2013-10-15 14:10:15 +02:00
Martin Trigaux 98d31e411f [FIX] stock: correctly handle case when we have no child location
bzr revid: mat@openerp.com-20131015112016-vj6yr6kfxfe8go2p
2013-10-15 13:20:16 +02:00
Xavier Morel 7040fb35dd [FIX] double-escaping of section labels in m2o completion
bzr revid: xmo@openerp.com-20131015085523-5s5f587486gaa9zj
2013-10-15 10:55:23 +02:00
Launchpad Translations on behalf of openerp 8874046c39 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131013053740-rinm5yfv4pp3toj2
bzr revid: launchpad_translations_on_behalf_of_openerp-20131015051750-ss2jdlo4w12420rv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131015051826-9alld47gks4izhjq
2013-10-15 05:18:26 +00:00
Xavier Morel 7d2938394f [FIX] null >= 0 is true...
bzr revid: xmo@openerp.com-20131014155709-9cg4bzof02bhtyts
2013-10-14 17:57:09 +02:00
Martin Trigaux bb47a9b3bc [FIX] pos: check constraint on session instead of uid (eg: runbot import demo data with uid=1 but other user_id
bzr revid: mat@openerp.com-20131014121959-fp4gs26xh8cdte1w
2013-10-14 14:19:59 +02:00
Launchpad Translations on behalf of openerp 566af6033f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011052941-f4x7ued38x0siu4u
bzr revid: launchpad_translations_on_behalf_of_openerp-20131013053842-x6nja74l8by5vd1q
bzr revid: launchpad_translations_on_behalf_of_openerp-20131014053313-j22u5qen55na9js8
2013-10-14 05:33:13 +00:00
Launchpad Translations on behalf of openerp 436a849b2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130920060157-qwah3z17ksnrmhzi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130922053500-ovnczb82b49pg6f7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130928055413-78fot6ftst9k7als
bzr revid: launchpad_translations_on_behalf_of_openerp-20131004054531-787wl7i8e8bqy44e
bzr revid: launchpad_translations_on_behalf_of_openerp-20131013053846-rei6ary4wt43kqeq
2013-10-13 05:38:46 +00:00
Olivier Dony 7cb7405ffd [IMP] orm: _store_get_values: rename variables to make this horror slightly more readable
We keep having to fight variable decay in that function, for some reason.

bzr revid: odo@openerp.com-20131011134501-7b5rflknjm1r9zfd
2013-10-11 15:45:01 +02:00
Olivier Dony 8ac110c4dd [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5098 rev-id: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
bzr revid: dle@openerp.com-20131009131902-a93nsbou4w8y0vlx
bzr revid: chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: dle@openerp.com-20130918160049-fo88fl7uyhfoofkv
bzr revid: dle@openerp.com-20130924130544-kmkyr0d73cusvdav
bzr revid: odo@openerp.com-20131011134433-nyfjipvlql4xu127
2013-10-11 15:44:33 +02:00
Olivier Dony 088cb0255d [FIX] registry: restore `elif` changed to `if` in previous commit, for better readability (no effect)
This should have no effect because when the first `if`
is entered a new registry is instantiated with
the default value for base_cache_signaling_sequence
set to 1, preventing entering the next `if` even
without `elif`.

bzr revid: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
2013-10-11 14:39:14 +02:00
Olivier Dony 78579d289b [FIX] registry: avoid discarding registry or cache when the registry is fresh
When the sequence value is 1 it means that either:
 - the registry was just instantiated, so there is no
   reason to reload it immediately, the real checks will
   start at next request
 - the db was just created with new sequences set to 1,
   so there has been no change to reload

In both cases there is no good reason to reload the
registry, and it is actually a performance killer,
especially for cron workers that keep iterating on
the list of databases.

bzr revid: odo@openerp.com-20131011100313-4bud8e9xq2afp9z7
2013-10-11 12:03:13 +02:00
Olivier Dony dafa12d92c [FIX] ir.model: FK constraints for custom m2o fields were never created, creating possible data integrity errors
bzr revid: odo@openerp.com-20131010170718-lwoxkqc1tx7i8vhg
2013-10-10 19:07:18 +02:00
Olivier Dony 62b6c2b74b [MERGE] l10n_fr: update tax templates for 2014 taxes, courtesy of Frederic Clementi (Camptocamp)
summary of VAT rates changes for the 01/01/2014:
Taux normal : 20% replace 19.6%
Taux intermédaire : 10% replace 7%
Taux spécial DOM-TOM : no change (8.5%)
Taux réduit : 5% replace 5.5%
Taux super réduit : no change (2.1%)

see also: http://www.service-public.fr/professionnels-entreprises/actualites/00891.html

bzr revid: odo@openerp.com-20131010114424-atzr3bl9e9diir2g
2013-10-10 13:44:24 +02:00
niv-openerp ffe8490aef Enabled sort in o2m
bzr revid: nicolas.vanhoren@openerp.com-20131010091125-0t1v8wmkrn8bnc5y
2013-10-10 11:11:25 +02:00