Commit Graph

74726 Commits

Author SHA1 Message Date
Christophe Simonis a48e793355 [FIX] web: correct cookie parsing.
avoid reading wrong cookie by matching the whole cookie name

bzr revid: chs@openerp.com-20131107143212-50hrpvkaw3gxxlop
2013-11-07 15:32:12 +01:00
Denis Ledoux 8dd53f6652 [FIX]web_kanban_gauge, lib justgage.js: comptability problem with Firefox (25.0 tested) with elem.node.firstChild.attributes.dy.value = 0;
bzr revid: dle@openerp.com-20131107140202-inlbhj7zvfg7bqix
2013-11-07 15:02:02 +01:00
Dhruti Shastri (OpenERP) 36b4236e1c [stock] : Wrong Invoice generated due to product_uos_qty not updated (case ref:600277)
bzr revid: dhs@tinyerp.com-20131107113547-d6o11hiu7d8y8g4g
2013-11-07 17:05:47 +05:30
niv-openerp db75733848 [FIX] rare race condition in BufferedDataset
lp bug: https://launchpad.net/bugs/1248531 fixed

bzr revid: nicolas.vanhoren@openerp.com-20131107112017-7omd01ocvnbzx9m6
2013-11-07 12:20:17 +01:00
Olivier Dony f08f16cb30 [FIX] point_of_sale: `update` button in POS order form was calling a non-existing method
This dummy button is only meant to save the
order and refresh the view, which is easily
accomplished by sending an non-existing
workflow signal. Setting the button type
to the default `workflow` type (or simply
removing the wrong type) fixes the problem.

bzr revid: odo@openerp.com-20131107110256-zfok0mwkbesrkf81
2013-11-07 12:02:56 +01:00
Olivier Dony 05e067415d [FIX] stock: chained location type `Customers` was not working at all for pickings without partner
This can create inconsistencies in the warehouse inventory
in case delivery orders are not customer-specific, e.g.
when using the POS.
When there is no destination customer we can still use
the default Customers locations.

bzr revid: odo@openerp.com-20131107105302-hf8lublc1x3qc87h
2013-11-07 11:53:02 +01:00
Olivier Dony f378aaa0a7 [FIX] point_of_sale: POS delivery orders were incorrectly using the internal picking sequence
bzr revid: odo@openerp.com-20131107105121-qg06v8dcvlouebon
2013-11-07 11:51:21 +01:00
Olivier Dony 2a209aa75d [FIX] portal: mail access right test is not totally accurate
The access right test expect an exception
to be raised when accessing any of the
followers, but this is not 100% correct,
as the test user (Chell) should be able to
read her own record.
This worked by chance because the ORM
prefetching was triggering an access error
whenever any follower was accessed, but
this was a bug, now fixed in server at
rev-id odo@openerp.com-20131119153700-5sbo2cl13vvqsgz5
revno 5136

bzr revid: odo@openerp.com-20131119175658-1nv5c9iwfizkrasc
2013-11-19 18:56:58 +01:00
Launchpad Translations on behalf of openerp eaa917bef9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120054418-15be15rhz84vk0et
2013-11-20 05:44:18 +00:00
Martin Trigaux 2d863f53a2 [MERGE] [FIX] stock: add missing context in account move creation during valuation, courtesy of Lorenzo Battistini (Agile BG)
lp bug: https://launchpad.net/bugs/1184610 fixed

bzr revid: mat@openerp.com-20131119164255-qlvy8p40ztzblova
2013-11-19 17:42:55 +01:00
Martin Trigaux a8f47d3747 [MERGE] [FIX] mrp: correctly handle internal type for stock.picking on manufacturing order
lp bug: https://launchpad.net/bugs/1117229 fixed

bzr revid: mat@openerp.com-20131119162522-x4fw8hluvfzt27ha
2013-11-19 17:25:22 +01:00
Martin Trigaux a2a8dffdf7 [MERGE] [FIX] stock: display reception numbers on kanban view with sigular form in case of only one
lp bug: https://launchpad.net/bugs/1119202 fixed

bzr revid: mat@openerp.com-20131119161511-xu6fhzsit0poluff
2013-11-19 17:15:11 +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
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
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
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
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
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
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
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
Thibault Delavallée 0ff21fc5e8 [REV] view_form: statusbar widget: indentation issue + reverted some more changes
bzr revid: tde@openerp.com-20131104120324-2h2j6huhgwc134c9
2013-11-04 13:03:24 +01:00
Thibault Delavallée 4c460dfa4e [REV] Reverted most changes, to lessen the number of
changed in a stable branch.

bzr revid: tde@openerp.com-20131104115909-exhujer0lqqr4xk5
2013-11-04 12:59:09 +01:00
Thibault Delavallée 61c97c56de [FIX] crm_lead: cleaned and uniformized won/lost
stage conditions.

bzr revid: tde@openerp.com-20131104115735-4bsv2l2n1c6q8jte
2013-11-04 12:57:35 +01:00
Christophe Simonis dda51decc8 [FIX] document: correct numbering of attachments with the same name
bzr revid: chs@openerp.com-20131104110512-an7qpur1zckpgu7z
2013-11-04 12:05:12 +01:00
Thibault Delavallée d1c5c84a85 [MERGE] Sync with saas-2
bzr revid: tde@openerp.com-20131104105827-gbpsn66twnon20rw
2013-11-04 11:58:27 +01:00
Thibault Delavallée 07e19391bb [MERGE] Sync with saas-2 branch
bzr revid: tde@openerp.com-20131104105814-pnynijso7eji0hwh
2013-11-04 11:58:14 +01:00
Thibault Delavallée 5f9167c03a [IMP] ir_actions: added model_id in the group_by filters
for server actions. This is considered as an usability fix, therefore
landing in saas-2 instead of trunk.

bzr revid: tde@openerp.com-20131104104334-gtitchim5aju5ths
2013-11-04 11:43:34 +01:00
Martin Trigaux 014fa28379 [FIX] l10n_multilang: remove force_write attribute in process_translations
When processing a translation, the module used to replace the original term by the translated value for accounts (only object with force_write=True). Now getting real multilang feature.
Generates the accounts with no language to get the untranslated value

bzr revid: mat@openerp.com-20131104095729-hwh2cocudxnhunyz
2013-11-04 10:57:29 +01:00
Thibault Delavallée 9537e55894 [FIX] hr_recruitment: avoid overriding email_from and email_cc in
message_update. This behavior makes sens only in message_new when
setting initial parameter of the applicant, not when somebody sends
an email on the record.
Removed priority change when there is  a 'priority' key in msg; but
this key is not likely to be present in a parsed email.
Removed updated values change due to a mapping of values present in
the email. This code was a copy-and-paste from crm and did not have
any meaning in hr_recruitment.

Also removed unnecessary code in project, project_issue, crm_helpdesk
and crm_claim for the same reasons as for hr_recruitment.

bzr revid: tde@openerp.com-20131104092731-ixasweoy1dbllbb3
2013-11-04 10:27:31 +01:00
Martin Trigaux 06c8267768 [FIX] stock: include enventual serial number in product reservation procedure
done using context for stability reason
wont be needed in new wms
opw 600078

bzr revid: mat@openerp.com-20131104081038-e7qyg5rkwmg48x6a
2013-11-04 09:10:38 +01:00
Launchpad Translations on behalf of openerp 1309092a0c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131101062728-i1jpi6te7pdo5e2b
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102062349-lu6ul1tda7q1xmf0
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103054349-cuyjpk6rrh1uxb65
bzr revid: launchpad_translations_on_behalf_of_openerp-20131104060253-e23y1yvc5pmnrg7v
2013-11-04 06:02:53 +00:00
Launchpad Translations on behalf of openerp 9d4c7f4db9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131101062724-823uztz81d48e7zk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102062340-1guhkeb34orj1d77
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103054341-mg7xr0dkzd2rp6rx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131104060249-fio493wxgjvvlthm
2013-11-04 06:02:49 +00:00
Launchpad Translations on behalf of openerp e3c98d3b5b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131031054724-b9dbttdcrl9eccwr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131101062658-f0i1x0ls32lokxmq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102062309-1hvmk0fdeahhzjzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103054310-9gbqxiwvi6a7rp1x
bzr revid: launchpad_translations_on_behalf_of_openerp-20131104060212-au7d8ww0ru2r10qf
2013-11-04 06:02:12 +00:00
Christophe Simonis 864af467e1 [FIX] module loading: do not warn about missing access rules for AbstractModels
bzr revid: chs@openerp.com-20131031193228-agj0qa9ceolpmvy6
2013-10-31 20:32:28 +01:00
Christophe Simonis c59474804b [FIX] sale/edi: do not import non-existing field date_planned
bzr revid: chs@openerp.com-20131031185633-qf5eus62nwf3xs0m
2013-10-31 19:56:33 +01:00
Christophe Simonis 39e6bc0bba [FIX] survey/report: correct style name
bzr revid: chs@openerp.com-20131031184844-xjc2ngm0sfqxu6v3
2013-10-31 19:48:44 +01:00
Christophe Simonis a8eebfe6b4 [FIX] account,account_followup,l10n_{ch,es,pt,us,ve}: correct or remove wrong fields in <record> creation
bzr revid: chs@openerp.com-20131031184321-2nqqpxowhg03wt4t
2013-10-31 19:43:21 +01:00
Christophe Simonis c1e6ff9445 [FIX] */report: font names are case sensitive
bzr revid: chs@openerp.com-20131031181018-pkbtgd3ix5ke4veg
2013-10-31 19:10:18 +01:00