Commit Graph

74445 Commits

Author SHA1 Message Date
Christophe Simonis 273face907 [MERGE] forward port of branch saas-1 up to revid 8791 chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: chs@openerp.com-20131009180337-cxgdt6zzd1z68ga9
2013-10-09 20:03:37 +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 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
Christophe Simonis f263e02bc0 [REM] web: /web/report: remove useless check on action data
bzr revid: chs@openerp.com-20131009131658-xjbr16zx3loy45x2
2013-10-09 15:16:58 +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
Christophe Simonis 5af16d6df8 [FIX] account_followup: account_followup_stat_by_partner view must not filter out blocked move lines
bzr revid: chs@openerp.com-20131008172319-1cobvh6i7kmlk1d0
2013-10-08 19:23:19 +02:00
Christophe Simonis a1d7575022 [FIX] account_followup: account_followup_stat_by_partner view have to use bigint id for databases with a lot of partners
bzr revid: chs@openerp.com-20131008170840-ws1hi84z540gzwy6
2013-10-08 19:08:40 +02:00
Christophe Simonis 5fa03ad26c [FIX] account_followup: report `datas` MUST include `ids`
bzr revid: chs@openerp.com-20131008170714-61vyjs9zg35cz1ls
2013-10-08 19:07:14 +02:00
Christophe Simonis 48188c984c [FIX] crm_partner_assign: correct partner view
bzr revid: chs@openerp.com-20131008154137-eipv9lktmookb7bl
2013-10-08 17:41:37 +02: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
Denis Ledoux ed0d68ec54 [FIX]account: account.invoice search view had field name=partner_id and filter name=partner_id in the same time, when the search field partner_id was set, the group_by partner_id was set too
bzr revid: dle@openerp.com-20131008134819-pcijbt0s1xz9s9ib
2013-10-08 15:48:19 +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
Christophe Simonis af68d40f6a [FIX] http request must pop "session_id" also from `form` and `files` arguments
bzr revid: chs@openerp.com-20131007122611-i92dl924plmo02z3
2013-10-07 14:26:11 +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
Thibault Delavallée bdd86a831f [IMP] ir_actions in email_template: template_id domain not only on view, directly on field
bzr revid: tde@openerp.com-20131003140458-ztnd9taih2rcq8ty
2013-10-03 16:04:58 +02:00
Olivier Dony 837196afbd [FIX] account: CoA installer: include parent charts when determining default taxes, otherwise they cannot be set during install
bzr revid: odo@openerp.com-20131003134820-ksc52izjwfpxn2ps
2013-10-03 15:48:20 +02:00
Thibault Delavallée fed1b1e91c [REF] ir_actions in email_template: strange implementation of displaying template values based on copying fields
replaced by a standard related fields + using an onchange on the template.

bzr revid: tde@openerp.com-20131003133357-hbs35e3h4mleg9v5
2013-10-03 15:33:57 +02:00
Olivier Dony 5cba82e2c9 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8788 dle@openerp.com-20131003094541-ro29hhkas03rdvw8
bzr revid: odo@openerp.com-20131003111222-upt1ytb92db50zay
2013-10-03 13:12:22 +02:00
Olivier Dony 25e2badecf [MERGE] auth_signup: invitation mail - fallback to user email when company has no email
This avoids a confusing error message. The email
sender does not matter much in this case anyway.

bzr revid: odo@openerp.com-20131003105149-6v1vpv53k0dol53e
2013-10-03 12:51:49 +02:00