Commit Graph
81391 Commits
Author SHA1 Message Date
Xavier Morel 5b59611dd3 [IMP] run-tests: add --slow-suite
* make --fast-suite, --sanity-checks and --slow-suite exclusive at
  argument parsing time
* split module directly in the argument parser

bzr revid: xmo@openerp.com-20131105135534-kzwph02kwxl77ivf
2013-11-05 14:55:34 +01:00
niv-openerp ee824f3c28 [FIX] problem with pads, the demo configuration doesn't work if the server is using https. I simply changed the url for the demo version.
lp bug: https://launchpad.net/bugs/1227545 fixed

bzr revid: nicolas.vanhoren@openerp.com-20131105133520-5egsr4cm0hi5r0dk
2013-11-05 14:35:20 +01:00
Christophe Simonis aabbb0b1c3 [MERGE] forward port of branch 7.0 up to revid 4055 chs@openerp.com-20131105121843-rqplhk83fczxww0t
bzr revid: chs@openerp.com-20131105125947-2q11suxxpxh18hyc
2013-11-05 13:59:47 +01:00
Olivier Dony 465c241338 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9567 rev-id: odo@openerp.com-20131105103011-vkix07lsb6q3y9fd
bzr revid: dle@openerp.com-20131031142609-jinks18n2ju7usm4
bzr revid: dle@openerp.com-20131031162241-goga1hsvwgyqigzd
bzr revid: odo@openerp.com-20131105122634-joau6mg9jqpvbauz
2013-11-05 13:26:34 +01:00
Christophe Simonis 3213ad4ddd [FIX] web: instance.web.DataSetSearch.get_domain() returns the domain.
lp bug: https://launchpad.net/bugs/1195631 fixed

bzr revid: chs@openerp.com-20131105121843-rqplhk83fczxww0t
2013-11-05 13:18:43 +01:00
Olivier Dony 0f7099bb30 [FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause
Similarly to the recent fixes in Purchase Analysis,
the Sales Analysis view must not group on the quantity
field. It is one of the columns that must be aggregated,
not used to fold PO lines into the same
result row.
The line count was also incorrect because of this, and
had to be corrected to actually count() the underlying
SO lines.

In addition, the JOINs were done in the wrong order,
which could cause problems (e.g. if an empty SO ever
landed in the database, all the SO line columns
would be empty in the JOIN, and cause errors)

bzr revid: odo@openerp.com-20131105103011-vkix07lsb6q3y9fd
2013-11-05 11:30:11 +01:00
Fabien Meghazi 684c629556 [FIX] session destroy
Sorry all

bzr revid: fme@openerp.com-20131105102036-34g9mk2u694eqvhn
2013-11-05 11:20:36 +01:00
Olivier Dony 4cf2887153 [FIX] purchase: analysis view must not group by quantity, otherwise identical PO lines are counted only once
The product quantity is one of the columns that must be
aggregated, not used to fold PO lines into the same
result row.
This, combined with missing aggregation operators
was causing multiple identical PO lines from the
same PO to be merged together and only counted once
in some aggregations.

bzr revid: odo@openerp.com-20131105101930-f2qbcp12luom08je
2013-11-05 11:19:30 +01:00
niv-openerp fd863b8501 [FIX] potential bug with the /login url, it could not possibly work due to its authorization level.
Also modified a function that is supposed to redirect to the backend and was still using '/'.

bzr revid: nicolas.vanhoren@openerp.com-20131105101548-jdsnyh2j4ak0kdbk
2013-11-05 11:15:48 +01:00
Xavier Morel bf602c18b7 [FIX] cart template is not a page
bzr revid: xmo@openerp.com-20131105094953-fdmm1j3k4z1abg92
2013-11-05 10:49:53 +01:00
Fabien Meghazi 2b343d011b [MERGE] trunk
bzr revid: fme@openerp.com-20131105094557-afa3mn2zd78zdamo
2013-11-05 10:45:57 +01:00
Denis Ledoux b030c9b032 [FIX]crm_partner_assign: now write latitude and longitude to False if the Google geocode API does not return latitude/longitude(for instance, if the api limit is reached). The previous geolocation might be false, and we certainly do not want to forward the lead to the wrong partner
bzr revid: dle@openerp.com-20131104174051-wvmdiwb8oytcb2fb
2013-11-04 18:40:51 +01:00
Olivier Dony 6be89e5f82 [FIX] stock: no early currency rounding when computing average price
It is a common need to set a higher decimal precision
for `Product Price` (i.e. the product cost field) for
high volume / low value items. This may typically
require up to 4-6 decimals for e.g. EUR/USD-based
companies where the currency has 2 decimals.
In that case the product cost should be stored with
full precision without applying the currency rounding.
The appropriate currency rounding will be applied
anyway as soon as a transaction actually uses that
product cost (typically in a SO/PO)

bzr revid: odo@openerp.com-20131104173232-84g115x6ykxoc1rh
2013-11-04 18:32:32 +01:00
Fabien Meghazi 9a281f829b [ADD] redirect on login and logout controller
bzr revid: fme@openerp.com-20131104171530-96irkaom2vjsj9s5
2013-11-04 18:15:30 +01:00
Olivier Dony a6ca3b043f [FIX] stock: programming error in average price computation for multiple lines of the same product
While processing a picking we must keep track of
previously processed lines as they modify the
stock on hand but are not yet included in the
`qty_available` function.
Negative stock on hand is handled as if
the stock was zero as far as the average
price computation is concerned.

bzr revid: odo@openerp.com-20131104171245-z1lgsplyu4cdz9gc
2013-11-04 18:12:45 +01:00
Olivier Dony 5f56739c1b [FIX] stock: product cost field in partial picking wizard must respect decimal precision
Without the right precision the default rounding is
applied and causes a possible loss of precision when
the `Product Price` precision is increased.
This can in turn lead to incorrect average price
computations.

bzr revid: odo@openerp.com-20131104170118-ls5q0yridevw0jgt
2013-11-04 18:01:18 +01:00
Olivier Dony aac6fede99 [FIX] purchase: Purchase Analysis view was using incorrect JOIN order
The starting table for Purchase Analysis is purchase_order_line
not purchase_order. The previous code was using a wrong JOIN
combination starting from purchase_order, which resulted in
a crash if an empty PO was created.
In order to prevent this an extra  WHERE clause on product_id
being NOT NULL was added, but this was incorrect too as it
prevented PO lines with no product_id value from appearing
in the Purchase Analysis results, while being perfectly valid.

bzr revid: odo@openerp.com-20131104165826-kltuzlh4i8q89sk0
2013-11-04 17:58:26 +01:00
Launchpad Translations on behalf of openerp 15062bdffe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131105060056-7xuq20lqt1upcdc6
2013-11-05 06:00:56 +00:00
Martin Trigaux 02fd46e8d4 [FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.

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

bzr revid: mat@openerp.com-20131104163729-te0p9863g9ydt282
2013-11-04 17:37:29 +01:00
Xavier Morel dc82072a41 [FIX] the sitemap template is not actually a page
bzr revid: xmo@openerp.com-20131104163614-9h9vp2i2qkycbkof
2013-11-04 17:36:14 +01:00
ddm be8ec21441 [IMP] future reminders
bzr revid: ddm@openerp.com-20131105152747-5l8fko6qjz17w9qs
2013-11-05 16:27:47 +01:00
Fabien Meghazi 841fca62f8 [IMP] t-ignore on menu carret
bzr revid: fme@openerp.com-20131105152615-tl9s6b5lqihedhs2
2013-11-05 16:26:15 +01:00
Fabien Meghazi 6ba57343da [WIP] Trying to use t-fields for menus
Not working quite well
Working it out

bzr revid: fme@openerp.com-20131105151651-8jn1po2fhyojum2c
2013-11-05 16:16:51 +01:00
Christophe Matthieu 475c77874b [FIX] website_sale: add filter
bzr revid: chm@openerp.com-20131105151417-zas9dcz5jn0za8st
2013-11-05 16:14:17 +01:00
Christophe Matthieu f318f99825 [IMP] website_sale: attributes/filter, fix access right, add default value for filter (for custom user ecommerce with category,label...)
bzr revid: chm@openerp.com-20131105150928-ps01ziqnfgd9hu46
2013-11-05 16:09:28 +01:00
Christophe Matthieu 7f5a60f13c [FIX] website_sale: update total when the user change a product quantity
bzr revid: chm@openerp.com-20131105132747-figm8j11d6ul1v0k
2013-11-05 14:27:47 +01:00
Fabien Meghazi 15d4a0c1e2 [FIX] better to expose bootstrap noconflict globally
bzr revid: fme@openerp.com-20131105100707-r5p42zckucaaqdxc
2013-11-05 11:07:07 +01:00
Nicolas Wisniewski 81dffcfded [MERGE]
bzr revid: nwi@openerp.com-20131105095731-whejtyjxttervt8e
2013-11-05 10:57:31 +01:00
Nicolas Wisniewski 18dba6d41c [ADD] Add icons for some snippets
bzr revid: nwi@openerp.com-20131105095639-6a69h7jr9herzm95
2013-11-05 10:56:39 +01:00
ddm f31cb828b4 [IMP] blog comments controller cleanup
bzr revid: ddm@openerp.com-20131105095622-am499p9xidkhgf6y
2013-11-05 10:56:22 +01:00
Christophe Matthieu a31847a432 [FIX] website_sale: add access rules for product.pricelist
bzr revid: chm@openerp.com-20131105092801-1vohr6w15cxqj4wp
2013-11-05 10:28:01 +01:00
Fabien Meghazi cbed4f5661 [FIX] Hide edit structure on other languages than master
bzr revid: fme@openerp.com-20131105091547-b5k014x090m91qed
2013-11-05 10:15:47 +01:00
Fabien Meghazi 3f7252e444 [ADD] Structure topmenu button
bzr revid: fme@openerp.com-20131105091117-hgzbnrxju3ftzmyx
2013-11-05 10:11:17 +01:00
Fabien Pinckaers 843e16e57e [IMP] Small layout improvements
bzr revid: fp@tinyerp.com-20131105080743-jy5ee76500dhh923
2013-11-05 09:07:43 +01:00
Fabien Meghazi 8cc6f4d3dd [FIX] Homepage link
bzr revid: fme@openerp.com-20131104174850-uiz4v8034zmph1pt
2013-11-04 18:48:50 +01:00
Fabien Meghazi 92e01169a0 [IMP] Edit menu button
bzr revid: fme@openerp.com-20131104174720-4qhpu2t8v02227wa
2013-11-04 18:47:20 +01:00
ddm 678daaf169 [FIX] CMS: comments should work in website_blog
bzr revid: ddm@openerp.com-20131104172356-55n900jnzwjdi41b
2013-11-04 18:23:56 +01:00
Christophe Matthieu 49384720c0 [FIX] website contact us: add google_map_img on res.company insead of use partner_id field
bzr revid: chm@openerp.com-20131104165954-o77oi2miksvvt81r
2013-11-04 17:59:54 +01:00
Martin Trigaux 861fcbcd50 [IMP] use assertEqual instead of assertTrue for better logging
bzr revid: mat@openerp.com-20131104161720-2ofur11haask32ni
2013-11-04 17:17:20 +01:00
Fabien Meghazi 8eb74b717e [IMP?] Moved languages to footer.
Don't know how to make it beautiful. Tried @beautiful="true" but won't work

bzr revid: fme@openerp.com-20131104161140-9qjdmt0sd8kn0ahi
2013-11-04 17:11:40 +01:00
Christophe Matthieu bfc8f61984 [FIX] website: can choose an other controller to publish data. Website sale: add a contraint for address and organizer for publish an event. Auto publish address and organizer in front end. Clean website_hr_recruitment publisher
bzr revid: chm@openerp.com-20131104155230-j36l2e1fez0vnkwi
2013-11-04 16:52:30 +01:00
ddm a295fd4ada [FIX] CMS: disable public comments (website_blog)
bzr revid: ddm@openerp.com-20131104154341-eqvtdlofnmzeqvos
2013-11-04 16:43:41 +01:00
Martin Trigaux 7e83c23844 [ADD] base: tests for translations and duplication
bzr revid: mat@openerp.com-20131104153946-vhpnbn8t1oxfaep1
2013-11-04 16:39:46 +01:00
Fabien Meghazi d162da7f5e [IMP] Sign in button
bzr revid: fme@openerp.com-20131104152311-bytxwd8uolxz2qxn
2013-11-04 16:23:11 +01:00
Martin Trigaux 4d9e140b8c [IMP] comments
bzr revid: mat@openerp.com-20131104144427-oyca1g1ti583sq3c
2013-11-04 15:44:27 +01:00
Martin Trigaux 91cf53228b [FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.

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

bzr revid: mat@openerp.com-20131104143408-o71lyws8uba679hd
2013-11-04 15:34:08 +01:00
Christophe Simonis 00b6485c3b [FIX] web_kanban: correct design of vertical title on IE
bzr revid: chs@openerp.com-20131104142310-4ef0byprm3gw4s8d
2013-11-04 15:23:10 +01:00
ddm 03cfe09fb6 [IMP] Testing new route syntax
bzr revid: ddm@openerp.com-20131104134911-43s6zzwulzkb1p86
2013-11-04 14:49:11 +01:00
Quentin (OpenERP) 8a52fe77f8 [IMP] base, currency: second attempt to include this patch (previously added in revision 4982 then reverted in revision 4984 because of a bug in the server that was making an infinite loop -which has been fixed in previous revision-). Updated the type of name field of res.currency.rate in <datetime> instead of <date> for those who need to update the rate of currencies several times per day
bzr revid: qdp-launchpad@openerp.com-20131104134618-oujlfwmnpc1xbvml
2013-11-04 14:46:18 +01:00
Quentin (OpenERP) bdda7b70d3 [FIX] expression.py: when searching on a datetime field with an argument formated as a date, conversion should happen _also_ for the '=' operator. This omission was causing an infinite loop beacuse we were pushing the exact same leaf on the stack without any modification
bzr revid: qdp-launchpad@openerp.com-20131104134314-2mv5wkt13ih9c1yg
2013-11-04 14:43:14 +01:00