Commit Graph
81203 Commits
Author SHA1 Message Date
Christophe Matthieu cdd7f70308 [FIX] website snippet: banner editor
bzr revid: chm@openerp.com-20131106133917-ira7oirkv8gfrlgq
2013-11-06 14:39:17 +01:00
Xavier Morel 4abde33785 [IMP] always print a recap of found test modules before running the tests
bzr revid: xmo@openerp.com-20131106130743-xpy9i34b5xceo8ee
2013-11-06 14:07:43 +01:00
Xavier Morel 841a5e7c2d [FIX] db handling being a pain in the ass
On runbot the base url dispatches into a unknown void of no db being
selected and the CMS thus 404s. For human beings there are additional
links to special subdomains setting the right db in the right place
(or maybe the right dbfilter, whatever) but that doesn't work right
for the crawler test suite.

Instead go through /web/ with a forced db selection, this *should* set
the db correctly in the user's session even if he's anonymous and thus
allows us to browse said db.

No idea if this fevered idea is actually going to work.

bzr revid: xmo@openerp.com-20131106115547-0ozlex09svkecrhb
2013-11-06 12:55:47 +01:00
Fabien Meghazi 2d81712e2c [FIX] Prevent dropdown closing when a contenteditable children is focused
bzr revid: fme@openerp.com-20131106115754-lyt6hd8pnrfv7vfi
2013-11-06 12:57:54 +01:00
Fabien Meghazi 937fa8ab99 [ADD] Added custom bootstrap version
Temporary using a custom branch of bootstrap until the feature
is merged upstream.

The pull request is pending :
https://github.com/twbs/bootstrap/pull/11373/files

bzr revid: fme@openerp.com-20131106114827-gdlb53k4l42h5vq4
2013-11-06 12:48:27 +01:00
Xavier Morel f02bb89702 [IMP] attempt to correctly set the db in session when browsing /web/
bzr revid: xmo@openerp.com-20131106113504-mgx4c9oi9pkk053a
2013-11-06 12:35:04 +01:00
Fabien Pinckaers f385e3af01 [IMP] Text for translate dialog
bzr revid: fp@tinyerp.com-20131106110819-yflp80pdqehwp9gy
2013-11-06 12:08:19 +01:00
Frédéric van der Essen 6582780d3b [IMP] point_of_sale: restructured the main widget to use a generic scrollable subwindow system
bzr revid: fva@openerp.com-20131106103255-3ym4kh9wom5t1vra
2013-11-06 11:32:55 +01:00
Mohammed Shekha (OpenERP) f3ff6b4bfb [FIX]Fixed the issue of active state does not get highlighted in sale order line, the issue raised due to double state field in the view.
bzr revid: msh@openerp.com-20131106072745-5ssemxhquw2343by
2013-11-06 12:57:45 +05:30
Denis Ledoux 32041be9a1 [FIX]crm_partner_assign: wizard forward to partner do not retry to geolocate again if the lead is already geolocated, because Google Geocode API has a query limit (2500/day, date of today), and for improving speed
bzr revid: dle@openerp.com-20131105170028-gc0az6ppitnp33yc
2013-11-05 18:00:28 +01:00
Xavier Morel b754d4999c [FIX] enable auth'd crawling of CMS
bzr revid: xmo@openerp.com-20131105161345-257bebtxce4wa217
2013-11-05 17:13:45 +01:00
Fabien Pinckaers 5a425dda78 [IMP] More explicit; where is the Edit button
[IMP] remove "Create a free website if logged", see usertesting
[IMP] Advanced view editor -> "HTML Editor"
[IMP] Footer: editable zone grouped in a <div> for efficient distribute branding

bzr revid: fp@tinyerp.com-20131106083833-cz4xc2ast5d9ao19
2013-11-06 09:38:33 +01:00
ddm 5f41d10ab5 [FIX] product links when browsing categories
bzr revid: ddm@openerp.com-20131105162558-4e1yua2hipvf5cly
2013-11-05 17:25:58 +01:00
Christophe Matthieu 67c437df77 [FIX] website_sale: access right for product.attribute.product; white list for filter link
bzr revid: chm@openerp.com-20131105161737-b1o41v17p7wsjl6v
2013-11-05 17:17:37 +01:00
Christophe Matthieu 0503a5cf5e [FIX] website_hr: img method for hr.employee to display picture for public user
bzr revid: chm@openerp.com-20131105160617-wqdz3xg7bb1que8k
2013-11-05 17:06:17 +01:00
ddm b34bb11b2d [FIX] avoid building urls manually if possible
bzr revid: ddm@openerp.com-20131105155627-ahyo9av7wh1aa7jl
2013-11-05 16:56:27 +01:00
Christophe Matthieu fb5ae3cabf [FIX] website_sale: mycart when the user haven't sale order
bzr revid: chm@openerp.com-20131105155410-pel99sbzka27zl4o
2013-11-05 16:54:10 +01:00
Christophe Matthieu bd3993ce06 [IMP] website_blog: replace duplicate link by a javascript for not to be followed by the robot
bzr revid: chm@openerp.com-20131105154722-l3v5chlf1osn4pdd
2013-11-05 16:47:22 +01:00
Xavier Morel 1308726046 [FIX] use config's xmlrpc_port during auth
bzr revid: xmo@openerp.com-20131105154414-wdfmu70m5gf2sjea
2013-11-05 16:44:14 +01:00
Xavier Morel a9193cf2ec [FIX] use db_name from tools.config to know where to auth
auth's currently disabled so it doesn't matter much really

bzr revid: xmo@openerp.com-20131105154131-35lqg2l6tdccgvp7
2013-11-05 16:41:31 +01:00
niv-openerp 419c5e0c67 [FIX] Incorrect reference to / in /web/session/logout controller
bzr revid: nicolas.vanhoren@openerp.com-20131105152138-2628ehdke7rdc1ov
2013-11-05 16:21:38 +01:00
Frédéric van der Essen fcbe2e3a97 [IMP] point_of_sale: renamed point-of-sale class + new subwindow layouting system
bzr revid: fva@openerp.com-20131105151548-vpsg2npnp0bx7pwd
2013-11-05 16:15:48 +01:00
Xavier Morel 5ce1bfdddf [FIX] more templates which aren't actually pages
bzr revid: xmo@openerp.com-20131105151404-olp8wvdqx9yxuxj9
2013-11-05 16:14:04 +01:00
Frédéric van der Essen b0c8e312d8 [IMP] point_of_sale: use placeholder + remove obsolete css rules
bzr revid: fva@openerp.com-20131105145844-69o6j8ynkn90fz23
2013-11-05 15:58:44 +01:00
Xavier Morel 496431b4f0 [ADD] CMS crawling case, with a bunch of hardcoded values to fix
bzr revid: xmo@openerp.com-20131105145047-4ccrchj79lohry5q
2013-11-05 15:50:47 +01:00
Frédéric van der Essen 29b0755b84 [IMP] point_of_sale: remove global calls to jquery
bzr revid: fva@openerp.com-20131105143128-hl73k961kgzyomw9
2013-11-05 15:31:28 +01:00
Fabien Meghazi cdbdbafcbc [MERGE] trunk
bzr revid: fme@openerp.com-20131105142835-utzo2geo1zmyslf0
2013-11-05 15:28:35 +01:00
Frédéric van der Essen d4e8041601 [IMP] point_of_sale: removed all ids from templates and css
bzr revid: fva@openerp.com-20131105141903-3n8iq4geiwhq4nav
2013-11-05 15:19:03 +01:00
Xavier Morel 6906d24e17 [FIX] stray tabs in openerpcommand
bzr revid: xmo@openerp.com-20131105140421-jtg9xa0lcxuix45z
2013-11-05 15:04:21 +01:00
Xavier Morel 3a51d98210 [FIX] correctly handle listification of args.addons
bzr revid: xmo@openerp.com-20131105140109-nzohz5z83mknhtgl
2013-11-05 15:01:09 +01:00
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