Commit Graph

74118 Commits

Author SHA1 Message Date
niv-openerp 9a8fe95a5c Get back a working version
bzr revid: nicolas.vanhoren@openerp.com-20130902095151-0etexao0jbdiymry
2013-09-02 11:51:51 +02:00
niv-openerp 4dc6ac8da4 wip
bzr revid: nicolas.vanhoren@openerp.com-20130902093104-pmeo49m2u5mud8bb
2013-09-02 11:31:04 +02:00
niv-openerp 58e064d078 Added sessions server-side
bzr revid: nicolas.vanhoren@openerp.com-20130830144824-xabc1du6qss9wjv2
2013-08-30 16:48:24 +02:00
Launchpad Translations on behalf of openerp 845e2c503f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130830051226-26up1fywxr056cz5
2013-08-30 05:12:26 +00:00
Antony Lesuisse 9b9abd31af [FIX] switch silently to local modules
bzr revid: al@openerp.com-20130829150748-9oew9qzqwmzfhau5
2013-08-29 17:07:48 +02:00
niv-openerp 982d598a8d [IMP] now remembers OpenERP sessions
bzr revid: nicolas.vanhoren@openerp.com-20130829085801-z2wxxif0nzpbf5x2
2013-08-29 10:58:01 +02:00
Launchpad Translations on behalf of openerp 895481c21d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130827044704-wom10yf9wm9nzeho
bzr revid: launchpad_translations_on_behalf_of_openerp-20130828050800-3u3eo84ahvpggvao
bzr revid: launchpad_translations_on_behalf_of_openerp-20130829045342-evt31nszsin4eqj5
2013-08-29 04:53:42 +00:00
Launchpad Translations on behalf of openerp ccbb4335ec Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130828050349-f8ozlg2e354f87ge
2013-08-28 05:03:49 +00:00
Sanjay Gohel (OpenERP) f740e0961d [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130827083334-hih0l1qsvab8pows
2013-08-27 14:03:34 +05:30
niv-openerp 00d3d9a4b6 [FIX] im: multiple bugs
bzr revid: nicolas.vanhoren@openerp.com-20130826135135-93tmyi6a1fpju8vy
2013-08-26 15:51:35 +02:00
niv-openerp 05a1a5ffe6 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130826131051-c7aatnvew9q52iw6
2013-08-26 15:10:51 +02:00
niv-openerp 5e8315730b Solved a few bugs
bzr revid: nicolas.vanhoren@openerp.com-20130826125254-smlkkh5m3n36cklw
2013-08-26 14:52:54 +02:00
niv-openerp 8ee25f9856 Refactored to avoid user duplication problem
bzr revid: nicolas.vanhoren@openerp.com-20130826123947-alcsov647beqge0c
2013-08-26 14:39:47 +02:00
niv-openerp 7bce27c528 Now uses im.user's images
bzr revid: nicolas.vanhoren@openerp.com-20130826085212-od9oxv6h4jtkd6nf
2013-08-26 10:52:12 +02:00
niv-openerp 8f33049f2f Changed user field to user_id and added unique constraint
bzr revid: nicolas.vanhoren@openerp.com-20130826084554-221ts80q8c5jvqv1
2013-08-26 10:45:54 +02:00
Launchpad Translations on behalf of openerp 7294b0ebfa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130824050400-vvklljkx8p2e77no
2013-08-24 05:04:00 +00:00
Christophe Simonis f751ce30b7 [FIX] project: correct migrate_to_alias call
bzr revid: chs@openerp.com-20130823161810-417zchlc06mbzcb8
2013-08-23 18:18:10 +02:00
Christophe Simonis 5343c48c5f [MERGE] forward port of branch saas-1 up to revid 8760 chs@openerp.com-20130823143114-83tdjhbsdes0kydr
bzr revid: chs@openerp.com-20130823154655-blm2wyfivmg8qi2z
2013-08-23 17:46:55 +02:00
Christophe Simonis b86eee378e [MERGE] forward port of branch saas-1 up to revid 3743 chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
bzr revid: chs@openerp.com-20130823145527-fz58kta3qpup4sb2
2013-08-23 16:55:27 +02:00
Christophe Simonis 993bff902e [MERGE] forward port of branch 7.0 up to revid 4067 chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
bzr revid: dle@openerp.com-20131112134311-h1vsux0ge17bsqkc
bzr revid: chs@openerp.com-20131114134731-n324awyon0spq624
bzr revid: chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
bzr revid: chs@openerp.com-20130906170157-e7m4pjskyi47q82o
bzr revid: dle@openerp.com-20130909170408-wxgoduzggap6o4ng
bzr revid: dle@openerp.com-20130919141212-ridtrvvfwvu6calr
bzr revid: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131023103308-18pj2gqq3imrcir7
bzr revid: chs@openerp.com-20131030180528-hqsztaujjjqev8ky
bzr revid: dle@openerp.com-20131106100128-mx8mnguvp321wick
bzr revid: chs@openerp.com-20131115104909-3u3mu40g9xnler88
2013-11-15 11:49:09 +01:00
Christophe Simonis 1e4b2695d5 [MERGE][FIX] web: fix race condition in BufferedDataset.
Backport of saas-2 commit 3867 nicolas.vanhoren@openerp.com-20131107112017-7omd01ocvnbzx9m6

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

bzr revid: chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
2013-11-14 15:26:39 +01:00
Thibault Delavallée ebe580f481 [FIX] portal: mail_message override: do not check access rules for SUPERUSER_ID
bzr revid: tde@openerp.com-20131114123346-dbnrkh6nadl774qe
2013-11-14 13:33:46 +01:00
Christophe Simonis 079bf31706 [FIX] account_payment: avoid using non-stored function field in domains.
Backport of following commits from trunk branch:
  8962 qdp-launchpad@openerp.com-20131030164925-c66d7jfx0x3546kt
  8974 qdp-launchpad@openerp.com-20131113100713-tvl30z5oqym22jqj

bzr revid: chs@openerp.com-20131114111802-a7rp2slqyigvconz
2013-11-14 12:18:02 +01:00
Christophe Simonis e5ca5a170c [FIX] web: list views: bubble up failed deferreds.
[FIX] web: list view group: always call post_render method

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

bzr revid: chs@openerp.com-20131114110847-nn382fc60s7u7wp1
2013-11-14 12:08:47 +01:00
Denis Ledoux e5f75b67c0 [FIX]portal_claim: change of record rule for portal group for object portal.claim, to change behaviour: portal users can now create claims in the portal, read their claims, but cant edit or delete them. They can post messages in the chatter if they want to add something
bzr revid: dle@openerp.com-20131114095907-ge8f97r6kxnv06fx
2013-11-14 10:59:07 +01:00
Denis Ledoux 8be0a5a8e1 [FIX]crm: several calls to _get_id for external id 'categ_phone2' which were not surrounded by try except ValueError
bzr revid: dle@openerp.com-20131114095721-v22dl5yc8bzhvevf
2013-11-14 10:57:21 +01:00
Launchpad Translations on behalf of openerp 99ffbd28ed Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114063103-0ehwa7pk99d5b4k4
2013-11-14 06:31:03 +00:00
Launchpad Translations on behalf of openerp 108ccbf108 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114062958-ies8xa3pft7n59ms
bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055135-r0xt2vr04710jh1t
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055120-r8z445ergt50erlx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062620-bvfofx1jl1wb1csh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064525-ioceogsmu0nmx2qj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053908-gbrp09ast5fhr6iw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062316-5uf2bvbzdhkq1b7k
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060841-bkjcuz4e9rtzn6f9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114063058-rrm2q5lxkyawuvpz
2013-11-14 06:30:58 +00:00
Martin Trigaux d26e3b8b33 [FIX] ir_fields: call selection function with context=None instead of not passing argument. Same behaviour as previsously but does not break when have default value for context (eg: _get_language for ir.translation)
bzr revid: mat@openerp.com-20131113094523-67547nkfkfntjelb
2013-11-13 10:45:23 +01:00
Martin Trigaux 8c3cdce539 [MERGE] view form: reduce the number of result in 'search more' view opening to 160 records (performances improvement, not filtering every possible record) (opw 593963)
bzr revid: mat@openerp.com-20131113082806-me6uy7cjj6holn56
2013-11-13 09:28:06 +01:00
Launchpad Translations on behalf of openerp 4231970c8a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060802-i0rwt8lkgeckatjo
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060848-04a2ehku5erssgvr
2013-11-13 06:08:48 +00:00
Christophe Simonis 6cfb4a0370 [FIX] web: do not enforce width of dropdown links
bzr revid: chs@openerp.com-20131112143746-svdfuqvzvvis6vpy
2013-11-12 15:37:46 +01:00
Christophe Simonis 61a8a22f60 [FIX] web: match base.sass against changes made in base.css in revid 4014 mat@openerp.com-20130821080933-fiq3zvccgzop02on
bzr revid: chs@openerp.com-20131112143635-ek6yhfifb6ycynku
2013-11-12 15:36:35 +01:00
Cecile Tonglet 83f6778446 [FIX] Import on model ir.translation was broken because of a missing context
bzr revid: cto@openerp.com-20131112132747-bajrgbwlp0m3z92s
2013-11-12 14:27:47 +01:00
Denis Ledoux 6792d85b44 [FIX]report: rml2pdf raise exception if cell is too long to be printed (instead of infinite loop). Workaround for reportlab issue #15: https://bitbucket.org/rptlab/reportlab/issue/15/infinite-pages-produced-when-splitting
bzr revid: dle@openerp.com-20131112130412-mbdonb9g7n63w84r
2013-11-12 14:04:12 +01:00
Launchpad Translations on behalf of openerp a283d59024 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055031-tut0ikyn2ukgc3yw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055025-9oq3zxk6003gvt9g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062531-oo7o57h2u1gxr3q5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064337-vgxh4bfudb3xik01
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053813-4tykju0tdgvvgk8m
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062220-8edq183y73j5cxns
2013-11-12 06:22:20 +00:00
Christophe Simonis f42ac76068 [FIX] web_test_demo: make test model a TransientModel. This avoid a warning about the lack of access rules
bzr revid: chs@openerp.com-20131108214255-cgx1r7x8sx1ak4ea
2013-11-08 22:42:55 +01:00
Launchpad Translations on behalf of openerp 3f73f59b15 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062624-4ihw3f2dghkrup1n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064532-3pcx6sl2w1ioizv9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053914-v4h4lfsutiem8fos
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062321-q35iebzktzu6lw8m
2013-11-12 06:23:21 +00: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
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
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