Commit Graph

70472 Commits

Author SHA1 Message Date
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
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
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 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
Launchpad Translations on behalf of openerp d03569496d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131010052550-62ak1fdjn6kbivh0
2013-10-10 05:25:50 +00:00
Christophe Simonis e701169ac6 [FIX] note: copy default stages as SUPERUSER_ID to avoid access error. Only do it for employees
lp bug: https://launchpad.net/bugs/1156215 fixed

bzr revid: chs@openerp.com-20131009162920-lg56wwmtg8qm1kuf
2013-10-09 18:29:20 +02:00
Martin Trigaux 6bd70af1de [IMP] purchase: put back sql request to set exception message and avoid context hack
bzr revid: mat@openerp.com-20131009122714-rqhciu8ozy059pyn
2013-10-09 14:27:14 +02:00
Launchpad Translations on behalf of openerp 2779496635 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131009054822-v57c9imyteomp381
bzr revid: launchpad_translations_on_behalf_of_openerp-20131009054909-1nmq8z3sk3ao5j0m
2013-10-09 05:49:09 +00:00
Martin Trigaux 78c10afab2 [FIX] account: revert commit 9265, show every invoice line in the list view and do not force domain on it to remove 0 debit/credit lines
bzr revid: mat@openerp.com-20131008152812-j3cll4jrwic1864r
2013-10-08 17:28:12 +02:00
Martin Trigaux ca65b05467 [FIX] function fields: bound symbol methods of function field, type char, to the correct methods of the char field
bzr revid: mat@openerp.com-20131008112003-sjc193tteex1mirk
2013-10-08 13:20:03 +02:00
Denis Ledoux d32c663fbe [FIX]mail: mail_thread, trying to send a message in the chatter while the emails where all mal-formed raised an error.
bzr revid: dle@openerp.com-20131008111845-tx3bpp8snfl03cnk
2013-10-08 13:18:45 +02:00
Martin Trigaux a0059326fc [IMP] remove useless comment
bzr revid: mat@openerp.com-20131008111631-y47f0y4wyf8hsf2g
2013-10-08 13:16:31 +02:00
Martin Trigaux 9680b1cd39 [IMP] move comment to the right line
bzr revid: mat@openerp.com-20131008105412-pqxpo2q12odjyqp4
2013-10-08 12:54:12 +02:00
Martin Trigaux 241c054b35 [IMP] correctly bound _symbol_f and redifine self._symbol_set_char to keep the API
bzr revid: mat@openerp.com-20131008104737-eellli48re2pfmos
2013-10-08 12:47:37 +02:00
Martin Trigaux 3ae73d572d [FIX] function fields: bound symbol methods of function field (type char) to the correct methods of the char field
lp bug: https://launchpad.net/bugs/1208074 fixed

bzr revid: mat@openerp.com-20131008102135-r7lqvky0vd75yo1q
2013-10-08 12:21:35 +02:00
Launchpad Translations on behalf of openerp 447e547c13 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131008061831-bdjye3gukolsjmjn
2013-10-08 06:18:31 +00:00
Launchpad Translations on behalf of openerp 05994eb775 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131008061813-6iqrtiyhjo3otr9v
2013-10-08 06:18:13 +00:00
Denis Ledoux d0f6d9af35 [FIX]mail: update.py, using message_post instead of mail.message create, in order to notify users and the administrator
bzr revid: dle@openerp.com-20131007123925-k6zfffuq6hzcijc2
2013-10-07 14:39:25 +02:00
Martin Trigaux a7ddaa29c6 [FIX] sale: don't set mrp_properties by default for root user (adding sale order lines in a popup instead of editable mode)
bzr revid: mat@openerp.com-20131007123318-v40lxc3yafb0cwv3
2013-10-07 14:33:18 +02:00
Martin Trigaux ef933d2ea6 [MERGE] [FIX] purchase: block workflow when supplier check fails, even if already has set an error message
bzr revid: mat@openerp.com-20131007084230-313996890uu6rr27
2013-10-07 10:42:30 +02:00
Martin Trigaux 18528adaff [FIX] purchase: block workflow when supplier check fails, even if already has set an error message
lp bug: https://launchpad.net/bugs/1236191 fixed

bzr revid: mat@openerp.com-20131007081014-8p0u7s0svx7gokg1
2013-10-07 10:10:14 +02:00
Launchpad Translations on behalf of openerp ea145f8c2a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131005061626-bil05wphgqg21ynn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131007055831-r9ymylmj0fj4ls98
2013-10-07 05:58:31 +00:00
Martin Trigaux 970a24cb6c [MERGE] [FIX] purchase: avoid being spammed with workflow exceptions when don't have the required suppliers info
bzr revid: mat@openerp.com-20131004161233-yivjybmoccmeng0g
2013-10-04 18:12:33 +02:00
Martin Trigaux cdd5b4f130 [FIX] purchase: use the correct variable, finally
bzr revid: mat@openerp.com-20131004155600-vqasj1w07uhnvdmy
2013-10-04 17:56:00 +02:00
Martin Trigaux 4c0c18b803 [FIX] purchase: avoid getting trigger loop (again), apply same fix on procurement to be consistent
bzr revid: mat@openerp.com-20131004153915-2urkq50bp8rnddnt
2013-10-04 17:39:15 +02:00
Martin Trigaux e827454d1d [FIX] purchase: avoid workflow trigger infinite loop
bzr revid: mat@openerp.com-20131004150710-mtecvsj9ad7qrisc
2013-10-04 17:07:10 +02:00
Martin Trigaux 376d390914 [IMP] purchase: don't send messages at all when exception, already logged in message field
bzr revid: mat@openerp.com-20131004144029-rp0j2z53zxt7ddh5
2013-10-04 16:40:29 +02:00
Martin Trigaux dbac14474f [FIX] purchase: reduce the number of mail messages sent to when procurement in exception
lp bug: https://launchpad.net/bugs/1233730 fixed

bzr revid: mat@openerp.com-20131004140602-8gic5ojgadso5801
2013-10-04 16:06:02 +02:00
Olivier Dony e35a7d36a4 [MERGE] l10n_it: fix taxes, add new 22% IVA introduced on 2013-10-01, courtesy of Leonardo Pistone (Agile BG)
bzr revid: odo@openerp.com-20131004140341-coq0oiytr5p6v3vw
2013-10-04 16:03:41 +02:00
Olivier Dony c536c5a432 [MERGE] account_voucher, product, stock: use selection widgets for magic context fields, to pass IDs in the context instead of strings
Many2one fields resolve to strings when used
as `self` within the @context or @filter_domain
attributes of a search field, because they
must be able to support partial matches,
e.g. search for "Sto" to match "Stock".
In many case the code was not prepared to accept
string for the magic context values, so the
magic fields now caused crashes.

The widget="selection" attribute was dropped
during the search view cleanup for 7.0,
without noticing this unfortunate side-effect,
at revision:
  addons 7.0 revno 7142 revid:qdp-launchpad@openerp.com-20120731150358-jqd3eoz06imzlx01

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

bzr revid: odo@openerp.com-20131004122257-5cx5sf3nm8qi5auc
2013-10-04 14:22:57 +02:00
Olivier Dony 0a387ec679 [MERGE] account: CoA installer: include parent charts when determining default taxes, otherwise they cannot be set during install
See comments on this MP for some background:
  https://code.launchpad.net/~pedro.baeza/openobject-addons/7.0-updated_l10n_es/+merge/161654

bzr revid: odo@openerp.com-20131004121245-xkqz024d3zzt1xki
2013-10-04 14:12:45 +02:00
Leonardo Pistone 24f42a6593 [add] l10n_it: add new 22% tax
lp bug: https://launchpad.net/bugs/1235170 fixed

bzr revid: leonardo.pistone@agilebg.com-20131004113956-05g2jyq506gu3ykw
2013-10-04 13:39:56 +02:00
Leonardo Pistone 49c3ded48e [fix] l10n_it: 2% tax has code 22a, 22b instead of 2a, 2b
lp bug: https://launchpad.net/bugs/1235158 fixed

bzr revid: leonardo.pistone@agilebg.com-20131004111111-ji9rekvpo71afl05
2013-10-04 13:11:11 +02:00
Olivier Dony bec80227d9 [FIX] account_voucher, product, stock: use selection widgets for magic context fields, to pass IDs in the context instead of strings
Many2one fields resolve to strings when used
as `self` within the @context or @filter_domain
attributes of a search field, because they
must be able to support partial matches,
e.g. search for "Sto" to match "Stock".
In many case the code was not prepared to accept
string for the magic context values, so the
magic fields now caused crashes.

The widget="selection" attribute was dropped
during the search view cleanup for 7.0,
without noticing this unfortunate side-effect,
at revision:
  addons 7.0 revno 7142 revid:qdp-launchpad@openerp.com-20120731150358-jqd3eoz06imzlx01

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

bzr revid: odo@openerp.com-20131004105218-edvb5ewduqar3x88
2013-10-04 12:52:18 +02:00
Launchpad Translations on behalf of openerp 6ad09a8b40 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131004054526-wrer2m4h9u0lpvmm
2013-10-04 05:45:26 +00:00
Olivier Dony e79169de07 [MERGE] l10n_br: addition of some IPI taxes, courtesy of Renato Lima (Akretion)
bzr revid: odo@openerp.com-20131003155613-g4zibfq32766j1wi
2013-10-03 17:56:13 +02:00
Olivier Dony 41cc21215f [MERGE] hr_timesheet_invoice: make YML tests more robust wrt extra demo data, courtesy of Moisés López (Vauxoo)
bzr revid: odo@openerp.com-20131003145428-wdhjxwmdzx7i1nue
2013-10-03 16:54:28 +02:00