Denis Ledoux
b95f5443db
[FIX]crm: leads/opps merge order, was not the same as before the state removal from the stages
...
bzr revid: dle@openerp.com-20131016144849-yueclv7xqmk806nz
2013-10-16 16:48:49 +02:00
Thibault Delavallée
fa9905e335
[FIX] hr_holidays: fixed tests about exception raised
...
when trying to validate too much holidays. The exception
is now a Warning, not an except_orm anymore.
bzr revid: tde@openerp.com-20131016120929-1pg7q4bjvpolfevj
2013-10-16 14:09:29 +02:00
Thibault Delavallée
08770d83c1
[FIX] crm: fixed stage_find method. This method receives a domain
...
for searching stages. However it adds a condition on the type of the stages
independently of the received domain.
It now creates a term for stage types only if not found in the domain
given in parameter.
bzr revid: tde@openerp.com-20131016105855-isq9frwp1fnquw4x
2013-10-16 12:58:55 +02:00
Thibault Delavallée
023777a86f
[IMP] base_action_rule: added 'on_create_or_write' kind that is triggered
...
on both creation or update. This kind is added especially for migrations
to help migrating old actions not necessarily tailored for 'on_create'
or 'on_write' kind that are new in saas-2.
bzr revid: tde@openerp.com-20131016091305-k9w3tuayl1kag8oc
2013-10-16 11:13:05 +02:00
Olivier Dony
43e88e54bf
[FIX] hr_holidays: typo - boolean values should be set with @eval!
...
bzr revid: odo@openerp.com-20131016112857-i29unpw5ee8yv3lx
2013-10-16 13:28:57 +02:00
Thibault Delavallée
983d5eb9fa
[FIX] tools: html_email_clean: fixed regex for
...
signature that was buggy when having dots.
Also fixed read more link addition.
Added test case that triggered the error.
bzr revid: tde@openerp.com-20131016103516-w44j6r5oaljpwvmx
2013-10-16 12:35:16 +02:00
Olivier Dony
54f740960e
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 4912 rev-id: odo@openerp.com-20131016110621-36vvlpn8dgsabyt1
...
bzr revid: odo@openerp.com-20131016111800-jjybreg62bwz61zn
2013-10-16 13:18:00 +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
Olivier Dony
3a16a8ac17
[FIX] crm_partner_assign: Assignation tab on leads should be available to all sales users
...
bzr revid: odo@openerp.com-20131016104735-w3aarztjbg6r0ngm
2013-10-16 12:47:35 +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
Olivier Dony
748ac8626c
[FIX] mail: typo during earlier fwd-port merge
...
bzr revid: odo@openerp.com-20131015181331-97k21d3xooox8z1j
2013-10-15 20:13:31 +02:00
Olivier Dony
58928c5c4c
[FIX] hr_holidays: force draft.@flow_start to False to correctly update existing databases + fix validation logic
...
The check_holidays() validation was not working correctly
because it was called both before and after inserting new
leave requests, with inconsistent results.
Using it as a fixed constraint is simpler.
bzr revid: odo@openerp.com-20131015165416-in0rfd7rrjmekv0g
2013-10-15 18:54:16 +02:00
Christophe Simonis
17c661328b
[FIX] base_import: use @route decorator to ensure user is logged into session
...
bzr revid: chs@openerp.com-20131015163444-v09924ah0wpe74be
2013-10-15 18:34:44 +02:00
Christophe Simonis
f3ac2643d9
[FIX] mail: /mail/download_attachment: content_disposition() does not take request as parameter anymore.
...
bzr revid: chs@openerp.com-20131015154357-4fnj8b6fy5sbvpa7
2013-10-15 17:43:57 +02:00
Christophe Simonis
b2c74f5f42
[FIX] mail: use @route decorator for routes
...
bzr revid: chs@openerp.com-20131015153631-18pdi1xzk84kg1y2
2013-10-15 17:36:31 +02: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
Denis Ledoux
f42b33100d
[FIX]project_issue: add onchange_partner_id which was inherited before with base_stage, but the inheritance has been removed
...
bzr revid: dle@openerp.com-20131015141355-xfu9gq0xyy19bmgl
2013-10-15 16:13:55 +02:00
Christophe Simonis
42ac45e290
[FIX] web_diagram: use new @route API to force auth of session
...
bzr revid: chs@openerp.com-20131015141254-xk1ot8uxkthbaub1
2013-10-15 16:12:54 +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
Christophe Simonis
687161f223
[FIX] web: re-add registry_cr() method on request to be compatible with saas-1 branch
...
bzr revid: chs@openerp.com-20131015090719-kw3ywyqix5ejcsak
2013-10-15 11:07:19 +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
Christophe Simonis
6322df1889
[FIX] crm: base_partner_merge: be tolerant to unknown model of field in ir.model.fields
...
bzr revid: chs@openerp.com-20131014141330-h4qk2iqhn5gywrim
2013-10-14 16:13:30 +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
Christophe Simonis
34d2fd4d02
[FIX] web: request dispatching wraps controller function call to retry request if psycopg raise OperationError and convert IntegrityError into except_orm with translated message.
...
bzr revid: chs@openerp.com-20131011113450-ktoaxul22p3nql75
2013-10-11 13:34:50 +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
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
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