Denis Ledoux [Mon, 10 Feb 2014 14:17:04 +0000 (15:17 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9824 revid:dle@openerp.com-
20140210134603-ck0jr56xhl8xgzg2
bzr revid: dle@openerp.com-
20140210141704-sjzjwhe7fh5gszxr
Olivier Dony [Mon, 10 Feb 2014 14:09:33 +0000 (15:09 +0100)]
[IMP] ir.actions.server: add `datetime` and `dateutil` in default eval context + make context extensible
bzr revid: odo@openerp.com-
20140210140933-7g70205v4mxk9qhz
Denis Ledoux [Mon, 10 Feb 2014 13:46:03 +0000 (14:46 +0100)]
[FIX] sale, sale_stock: send by email button visible when sent, progress or manual
+ remove 'invoiced' from statusbar_visible, as there is no such state
+ proper inherit in sale_stock form view
bzr revid: dle@openerp.com-
20140210134603-ck0jr56xhl8xgzg2
Thibault Delavallée [Mon, 10 Feb 2014 11:58:27 +0000 (12:58 +0100)]
[IMP] mail: subscription: if no-one to (un)subscribe, already return. This is not
necessary for computation, but saves some browse / access right checking.
bzr revid: tde@openerp.com-
20140210115827-2y451i0edgve59mi
Denis Ledoux [Mon, 10 Feb 2014 09:23:01 +0000 (10:23 +0100)]
[FIX] mail: do no pop reply_to if same thread or post in the document is false
Otherwiwse if same thread is checked and post not, the reply_to is forced to the user email to avoid the email to be regarded as private without having a parent mail (has the parent is not posted in the thread), which is not what is expected
bzr revid: dle@openerp.com-
20140210092301-1bdyvdwgekwgo9rh
Martin Trigaux [Mon, 10 Feb 2014 08:31:30 +0000 (09:31 +0100)]
[FIX] mail: priority -10 on message_follower_ids to make sure executed before other function field that may use the followers (eg: note.note for access rights)
bzr revid: mat@openerp.com-
20140210083130-ag95lqwlpkv7ceqc
Launchpad Translations on behalf of openerp [Mon, 10 Feb 2014 05:53:24 +0000 (05:53 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140209065003-9soyulgvssk8n5ci
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140208071621-b018rnkhyxmmm5jk
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140209065224-kih7tx56elds0zok
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140210055324-raxopm5ej680oc73
Thibault Delavallée [Fri, 7 Feb 2014 08:49:46 +0000 (09:49 +0100)]
[FIX] mail: mail_followers.js: fixed the fix about is_follower, use the right variable
bzr revid: tde@openerp.com-
20140207084946-mkh0ht44x5byhrdj
Olivier Dony [Thu, 6 Feb 2014 17:32:51 +0000 (18:32 +0100)]
[FIX] mail.thread: avoid tracking multiple temporary changes during copy
bzr revid: odo@openerp.com-
20140206173251-1njroiu08fzgdbyp
Olivier Dony [Thu, 6 Feb 2014 17:27:02 +0000 (18:27 +0100)]
[FIX] project.copy(): avoid preparing useless children data to copy, as they are discared in analytic.copy. Duplicating children is handled by duplicate_template().
bzr revid: odo@openerp.com-
20140206172702-vxdhemegc4yoqzsv
Olivier Dony [Thu, 6 Feb 2014 17:10:28 +0000 (18:10 +0100)]
[FIX] project.task: simplify delegated tasks remapping after task copy + avoid write() call if not necessary
This avoids recomputing function fields if not
necessary.
bzr revid: odo@openerp.com-
20140206171028-p7hpc0x9jpfnb7jv
Launchpad Translations on behalf of openerp [Fri, 7 Feb 2014 07:14:00 +0000 (07:14 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140207071400-b3u1081zn9icp7xw
Denis Ledoux [Thu, 6 Feb 2014 17:08:29 +0000 (18:08 +0100)]
[FIX] mail: re-apply security fix correctly from 9812 revid:mat@openerp.com-
20140206121438-epghqo042ync24v5 of 7.0 branch
bzr revid: dle@openerp.com-
20140206170829-918bxb88qh415w9e
Olivier Dony [Thu, 6 Feb 2014 17:04:01 +0000 (18:04 +0100)]
[FIX] orm.copy_data: avoid reading useless and possibly expensive data when copying records
Rather than reading the data and discarding it,
it is much faster to not read it in the first place.
bzr revid: odo@openerp.com-
20140206170401-brd6368pe1fmbkkc
Denis Ledoux [Thu, 6 Feb 2014 16:56:30 +0000 (17:56 +0100)]
[FIX]mail: fix indentation problem from previous forward port
bzr revid: dle@openerp.com-
20140206165630-13w44y6iewdrsl02
Olivier Dony [Thu, 6 Feb 2014 16:45:59 +0000 (17:45 +0100)]
[FIX] base: avoid keeping password wizards in the database longer than necessary
This patch deletes the wizard lines rather than
the wizard record itself, to avoid errors in case
the client reloads the wizard data before actually
closing it.
lp bug: https://launchpad.net/bugs/1271165 fixed
bzr revid: odo@openerp.com-
20140206164559-j0j9o30im0u2hl2g
Denis Ledoux [Thu, 6 Feb 2014 16:45:22 +0000 (17:45 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9814 revid:dle@openerp.com-
20140206163444-ckcmurcwk2vhi5vp
bzr revid: dle@openerp.com-
20140206164522-fi05cb4mpg22rkv2
Denis Ledoux [Thu, 6 Feb 2014 16:34:44 +0000 (17:34 +0100)]
[FIX] point_of_sale: validate and closing pos sessoin handle multi company
When the user who validated and closed the pos session was not the same user who created the session, and if this user was not in the same company, it wasnt possible to validate and close the pos session.
This explanation if also valid if the user who created the pos session changed of company in his preferences between the creation and the validation.
bzr revid: dle@openerp.com-
20140206163444-ckcmurcwk2vhi5vp
Martin Trigaux [Thu, 6 Feb 2014 16:00:59 +0000 (17:00 +0100)]
[ADD] stock: update pot file to latest version of translations
bzr revid: mat@openerp.com-
20140206160059-7fkwb6havgazmttg
Martin Trigaux [Thu, 6 Feb 2014 12:14:38 +0000 (13:14 +0100)]
[MERGE] [FIX] mail: mail: backport of saas-2 revision 9065 and 9081 and security improvements.
Add followers before super call in mail_thread creation.
This allows to have a value for the _set_followers call and be able to have record rules based on followers at creation.
Set the priority of message_follower_ids fields to -10 (default is 0) to be sure it will be executed before other function fields using these followers (eg: _set_stage_per_user from note.note does a browse which would trigger record rules to read the note)
Context hack to avoid checking read access at creation of the record (check create rules instead)
lp bug: https://launchpad.net/bugs/1259913 fixed
bzr revid: mat@openerp.com-
20140206121438-epghqo042ync24v5
Martin Trigaux [Thu, 6 Feb 2014 12:01:09 +0000 (13:01 +0100)]
[IMP] mail: in case of creation, still check creation access rights for subscription
bzr revid: mat@openerp.com-
20140206120109-6h2vz1ulu33t1509
Thibault Delavallée [Thu, 6 Feb 2014 11:21:45 +0000 (12:21 +0100)]
[FIX] mail: followers widget: is_follower was not computed if the current user
was not in the first 10 displayed followers of the document. Compute is_follower
based on all followers, not just the first 10.
bzr revid: tde@openerp.com-
20140206112145-ibir7cj6wxe1ksgt
Martin Trigaux [Thu, 6 Feb 2014 11:03:27 +0000 (12:03 +0100)]
[IMP] mail: check at least access_rights in case of creation
bzr revid: mat@openerp.com-
20140206110327-zar4yl03r1lympx6
Christophe Simonis [Thu, 6 Feb 2014 11:02:20 +0000 (12:02 +0100)]
[MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-
20140206105141-7e8bv8ordqqsswh7
bzr revid: dle@openerp.com-
20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-
20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-
20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-
20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-
20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-
20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-
20140206110220-myn57cryam1y4k9v
Christophe Simonis [Thu, 6 Feb 2014 10:51:41 +0000 (11:51 +0100)]
[FIX] _(): avoid useless warning where translating string without a cursor
bzr revid: chs@openerp.com-
20140206105141-7e8bv8ordqqsswh7
Martin Trigaux [Thu, 6 Feb 2014 10:47:14 +0000 (11:47 +0100)]
[FIX] mail: backport of saas-2 revision 9065 and 9081.
Make sure the user is subscribed before the super() call in mail_thread. This allows to have follower based record rules working (eg: note.note)
bzr revid: mat@openerp.com-
20140206104714-anpehaik4wajnfrw
Martin Trigaux [Thu, 6 Feb 2014 10:24:09 +0000 (11:24 +0100)]
[IMP] reference fields: display a more user-friendly window title when open a chosen many2one record in reference field
bzr revid: mat@openerp.com-
20140206102409-4lbx7ofsgz8speni
Martin Trigaux [Thu, 6 Feb 2014 09:46:28 +0000 (10:46 +0100)]
[IMP] ir_fields: no need to sanitize the _str_to_html as it is already done in the _symbol_set of html fields. This avoids doing twice the sanitization.
bzr revid: mat@openerp.com-
20140206094628-umx2rfb9rcim7v82
Martin Trigaux [Thu, 6 Feb 2014 08:47:08 +0000 (09:47 +0100)]
[MERGE] [FIX] ir_fields: allow convertion from string to html using sanitize function
This is required to be able to import csv file containing html fields
lp bug: https://launchpad.net/bugs/1093800 fixed
bzr revid: mat@openerp.com-
20140206084708-j63kpkr9apd3j01j
Launchpad Translations on behalf of openerp [Thu, 6 Feb 2014 06:25:18 +0000 (06:25 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140206062518-3g0oj0z7mlartzal
Launchpad Translations on behalf of openerp [Thu, 6 Feb 2014 06:25:10 +0000 (06:25 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140206062321-j6cpns6xz3f81net
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140206062510-x502ahdwzezvea54
Martin Trigaux [Wed, 5 Feb 2014 13:20:57 +0000 (14:20 +0100)]
[MERGE] [FIX] account: action 'Journal Items' on a journal entries should restrict by account.move and not journal (src_model) (opw 585153)
bzr revid: mat@openerp.com-
20140205132057-jxxmmyhfk6c15w9o
Martin Trigaux [Wed, 5 Feb 2014 10:21:07 +0000 (11:21 +0100)]
[MERGE] [FIX] search: make sure search view is not destroyed when starting SearchView widget
This avoids getting the error 'Cannot call method 'getParent' of undefined'
lp bug: https://launchpad.net/bugs/1178289 fixed
bzr revid: mat@openerp.com-
20140205102107-5ggbbkyr172855uu
Denis Ledoux [Wed, 5 Feb 2014 10:03:24 +0000 (11:03 +0100)]
[FIX] account: residual amount computation with refund invoices
On invoice residual amount computing, we ignore reconcile entries line if their invoice are not of the same type of the current invoice
The above revision(s) will be removed
bzr revid: dle@openerp.com-
20140205100324-5tyquozmylcp40p1
Thibault Delavallée [Tue, 4 Feb 2014 16:59:49 +0000 (17:59 +0100)]
[FIX] mass_mailing: fixed variables used outside of their scope
bzr revid: tde@openerp.com-
20140204165949-9xax1pul22ktsf41
Martin Trigaux [Tue, 4 Feb 2014 15:50:46 +0000 (16:50 +0100)]
[FIX] css: remove height: 18px on .oe_facet_value property to avoid long filter name to exceed the size of the box (on 2 lines)
bzr revid: mat@openerp.com-
20140204155046-ifqts8mpaqhgvjnj
Martin Trigaux [Tue, 4 Feb 2014 15:11:36 +0000 (16:11 +0100)]
[MERGE] [FIX] audittrail: various bugs (opw 603072)
- tracking unlink does not fail anymore
- do not track virtual fields on res.users model (would for .column call)
- make sure read calls with one id works (launchpad bug lp:1214149)
- select the correct model when tracking x2m fields values
bzr revid: mat@openerp.com-
20140204151136-51cm1tbgvcsnlsoe
Cecile Tonglet [Tue, 4 Feb 2014 15:05:44 +0000 (16:05 +0100)]
[FIX] getParent() js error when clicking to fast on menu items of dashboards
bzr revid: cto@openerp.com-
20140204150544-nkuhxree6qijihq2
Martin Trigaux [Tue, 4 Feb 2014 14:28:25 +0000 (15:28 +0100)]
[FIX] auditrail: in case of unlink retrieve first the record and then execute the unlink (the other way around is causes problems for name_get...)
bzr revid: mat@openerp.com-
20140204142825-jtln4kyfmfhgq4sd
Martin Trigaux [Tue, 4 Feb 2014 14:19:13 +0000 (15:19 +0100)]
[FIX] qweb templates: t-raw to t-esc
t-raw usage is discourage if not to displayed html content (after escaping) as it may contain unsafe data
bzr revid: mat@openerp.com-
20140204141913-e5hcaml53woumlgs
Martin Trigaux [Tue, 4 Feb 2014 14:14:49 +0000 (15:14 +0100)]
[FIX] audittrail: fixing various bugs
iter only on fields on __all_columns, this avoids getting inexistant fields such as 'in_group_42' for res.users
make sure read method calls works when passing only one id (lp:1214149)
when itering on change values, if different model (eg: if field is o2m) make sure make name_get on the model of the field and not on the parent model
lp bug: https://launchpad.net/bugs/1214149 fixed
bzr revid: mat@openerp.com-
20140204141449-2f922k5awixh1kzt
Denis Ledoux [Tue, 4 Feb 2014 12:48:02 +0000 (13:48 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9806 revid:dle@openerp.com-
20140204124249-qjjhulqojvcm08k4
bzr revid: dle@openerp.com-
20140204124802-0yl2z6nr0zflhi9u
Denis Ledoux [Tue, 4 Feb 2014 12:42:49 +0000 (13:42 +0100)]
[FIX] purchase: hide receive invoice if invoice based on purchase order line.
It has to be done manually.
opw-603620
bzr revid: dle@openerp.com-
20140204124249-qjjhulqojvcm08k4
Martin Trigaux [Tue, 4 Feb 2014 12:42:42 +0000 (13:42 +0100)]
[FIX] some other t-raw to t-esc conversions
bzr revid: mat@openerp.com-
20140204124242-emrd7hwlk6d4umkj
Denis Ledoux [Tue, 4 Feb 2014 11:52:26 +0000 (12:52 +0100)]
[FIX] account_analytic_analysis: currency were wrong when preparing recurring invoices
The id of the sale pricelist of the customer was set as currency_id, instead of using the id of the currency of the pricelist. (Obviously)
Furthermore, the currency of the contract pricelist takes the lead.
Then, if none of these two are set, we choose the currency of the company, finally.
bzr revid: dle@openerp.com-
20140204115226-rowmbr5223fcu08k
Martin Trigaux [Tue, 4 Feb 2014 11:33:58 +0000 (12:33 +0100)]
[FIX] mail: escape user and partner names before being rendered in mail widgets
lp bug: https://launchpad.net/bugs/1276078 fixed
bzr revid: mat@openerp.com-
20140204113358-2cb39l7ge2f5pcg5
Denis Ledoux [Tue, 4 Feb 2014 10:08:35 +0000 (11:08 +0100)]
[FIX]stock: product Forecasted Quantity, incoming and outgoing help tooltip were half removed
bzr revid: dle@openerp.com-
20140204100835-z0mlvoot21yoz0z3
Launchpad Translations on behalf of openerp [Tue, 4 Feb 2014 06:48:42 +0000 (06:48 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140204064842-0dbci9bv8whxs8ax
Launchpad Translations on behalf of openerp [Tue, 4 Feb 2014 06:48:35 +0000 (06:48 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140201065304-8md3g4d14l1b51ii
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140202060105-bnt8nw1mcbg2c3m3
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140203055609-uxdqgnistwilvo2v
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140204064835-qdcrcxldc5zsutio
jke-openerp [Mon, 3 Feb 2014 18:06:37 +0000 (19:06 +0100)]
[MERGE] Merge with 7.0-fix-css-clearfix-jke - bug clearfix on oe_title and oe_form_group
bzr revid: jke@openerp.com-
20140203180637-er9c45xm0d9sk7ub
jke-openerp [Mon, 3 Feb 2014 17:39:26 +0000 (18:39 +0100)]
[TYPO] Fix bug css revert rev 4122 and add clear:both
revert because was breaking the rendering of forms using oe_title as clearfix hack
adding clear on .oe_form_group to fix the journal form on firefox (block was unaligned, some fields out of the screen)
bzr revid: jke@openerp.com-
20140203173926-ohabh1vahcwqijug
Martin Trigaux [Mon, 3 Feb 2014 14:02:47 +0000 (15:02 +0100)]
[MERGE] [FIX] read_group: aggregate values on all columns instead of only the one of the current model
Without this you could not have a sum value on a column belonging to the parent model (eg: 'unit_amount' when grouping on hr.analytic.timesheet)
bzr revid: mat@openerp.com-
20140203140247-n090tx2yf8mujkcz
Martin Trigaux [Mon, 3 Feb 2014 13:40:51 +0000 (14:40 +0100)]
[IMP] better assert message and cleaning
bzr revid: mat@openerp.com-
20140203134051-lgwo4v0rdntgxyor
Martin Trigaux [Mon, 3 Feb 2014 13:33:31 +0000 (14:33 +0100)]
[ADD] test read_group on a column of _inherits model and group on right field
bzr revid: mat@openerp.com-
20140203133331-mujvv812zd971ci2
Martin Trigaux [Mon, 3 Feb 2014 12:33:11 +0000 (13:33 +0100)]
[FIX] orm: read_group aggregates values on all columns instead of only the one of the parent model
bzr revid: mat@openerp.com-
20140203123311-38rwp7tfyc08flid
Mohammed Shekha (OpenERP) [Mon, 3 Feb 2014 12:05:25 +0000 (17:35 +0530)]
[FIX]Fixed the issue of html field import fails, because of no converter found for str to html.
bzr revid: msh@openerp.com-
20140203120525-ui117od6lpksm1bq
Launchpad Translations on behalf of openerp [Mon, 3 Feb 2014 05:56:16 +0000 (05:56 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140203055616-29ji7mugvwf3jpmn
Launchpad Translations on behalf of openerp [Mon, 3 Feb 2014 05:55:25 +0000 (05:55 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140201065247-b0hmat9ikp0cj2sx
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140202055930-0e8qd9refwne4999
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140203055525-2z3nfmfb0t7lpqpf
Denis Ledoux [Fri, 31 Jan 2014 16:26:37 +0000 (17:26 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9801 revid:mat@openerp.com-
20140131160304-22mokur2uuo1cw4r
bzr revid: dle@openerp.com-
20140131162637-046v995ozpy22qjj
Martin Trigaux [Fri, 31 Jan 2014 16:03:04 +0000 (17:03 +0100)]
[FIX] stock: when creating manufacturing order from procurement workflow, do not write location on state (already set previously). (opw 603600)
This avoids having an access rights error when trying to write on a move in done state (eg: in case of force availibility)
bzr revid: mat@openerp.com-
20140131160304-22mokur2uuo1cw4r
Martin Trigaux [Fri, 31 Jan 2014 10:28:36 +0000 (11:28 +0100)]
[IMP] attachement: remove unnecessary redraw added at rev 4128 and change message to be the same than in mail
bzr revid: mat@openerp.com-
20140131102836-e89xo4nrwk32uij8
Launchpad Translations on behalf of openerp [Fri, 31 Jan 2014 06:24:21 +0000 (06:24 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140131062421-oq9ywafamdrwjbtj
Denis Ledoux [Thu, 30 Jan 2014 14:44:42 +0000 (15:44 +0100)]
[FIX] mail: same_thread back to True by default, otherwise this is not anymore possible to send email in non mass mailing. Same thread should be changed to False in trunk release
bzr revid: dle@openerp.com-
20140130144442-qmbci74sdznod4k3
Denis Ledoux [Thu, 30 Jan 2014 10:20:01 +0000 (11:20 +0100)]
[FIX] mail: for mass mailing, replies in document False by default
Post a copy in the document is False by default, and it does not make sense to replies in the document if the copy is not itself in the document.
Therefore, if post a copy in the document is false by default, replies in the document should be false too.
Moreover, reply_to is required in the form view if mass mailing mode and post a copy is false OR replies in the document is false
But, to avoid updating the view, in the send_mail python function, if no reply to is set and post a copy or replies is false, we set the from email as the reply_to email
bzr revid: dle@openerp.com-
20140130102001-v4t8ig1sj3cpfy3b
Martin Trigaux [Wed, 29 Jan 2014 17:20:09 +0000 (18:20 +0100)]
[MERGE] [FIX] account_voucher: forward port of fixes from 6.1 (rev 6966)
When importing invoices to a bank statement the bank statement lines are created with statement date instead of today
Set the date on the created voucher in the same wizard to the statement date instead of invoice date (problematic if different period)
When creating the account moves (at bank statement confirmation), make sur the date and period of the vouncher are synchronised
bzr revid: mat@openerp.com-
20140129172009-vbp5n1nco51kaly8
Denis Ledoux [Wed, 29 Jan 2014 17:10:22 +0000 (18:10 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9798 revid:dle@openerp.com-
20140129163238-1s1t9oc814z4z7f3
bzr revid: dle@openerp.com-
20140129171022-wf6244k90lpncmah
Denis Ledoux [Wed, 29 Jan 2014 16:32:38 +0000 (17:32 +0100)]
[FIX] purchase: on po confirm, avoid to write location_id on the chained stock move if the move is done
On purchase order confirmation, if the order_line comes from a procurement order created by a sale order,
it tried to write on the location_id, whatever the move state was, even done.
Or, sometimes, the stock move associated to the procurement order (from the so) was already done, for example because we forced the availability of the stock move.
It makes sense to not write the location_id if the move is already done, because the location_id is already good.
bzr revid: dle@openerp.com-
20140129163238-1s1t9oc814z4z7f3
Martin Trigaux [Wed, 29 Jan 2014 14:14:38 +0000 (15:14 +0100)]
[FIX] attachement: display error message (removed inexistant template) and redraw the window (to avoid getting stucked)
bzr revid: mat@openerp.com-
20140129141438-3883hhzdiwyoo19t
Denis Ledoux [Wed, 29 Jan 2014 14:06:25 +0000 (15:06 +0100)]
[FIX] account: set purchase analytic journal when creating purchase accounting journal
bzr revid: dle@openerp.com-
20140129140625-ywxraf0ix040a0b5
Martin Trigaux [Wed, 29 Jan 2014 13:22:40 +0000 (14:22 +0100)]
[MERGE] [FIX] res_partner: name_search search in one pass
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
bzr revid: mat@openerp.com-
20140129132240-eamnzs37k0i65gpe
Martin Trigaux [Wed, 29 Jan 2014 12:48:06 +0000 (13:48 +0100)]
[IMP] make sure the records will be in right order (and trigger chirurgiens-dentistes.fr for the second name_search)
bzr revid: mat@openerp.com-
20140129124806-dq56o7r1yt38nb08
Martin Trigaux [Wed, 29 Jan 2014 12:34:04 +0000 (13:34 +0100)]
[FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
bzr revid: mat@openerp.com-
20140129123404-8hs786n64briqyta
Martin Trigaux [Wed, 29 Jan 2014 11:41:02 +0000 (12:41 +0100)]
[ref] move up!
bzr revid: mat@openerp.com-
20140129114102-tk4fotnb28mtaz9x
Martin Trigaux [Wed, 29 Jan 2014 11:39:38 +0000 (12:39 +0100)]
[FIX] revert previous rev for better where and add test
bzr revid: mat@openerp.com-
20140129113938-517gqfi1kzcf64fz
Martin Trigaux [Wed, 29 Jan 2014 11:19:59 +0000 (12:19 +0100)]
[IMP] remove useless variable, where_clause at least '' as created from a str.join()
bzr revid: mat@openerp.com-
20140129111959-7y9su01ooneu0mco
Martin Trigaux [Wed, 29 Jan 2014 10:55:48 +0000 (11:55 +0100)]
[FIX] res_partner: name_search search in one pass
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
lp bug: https://launchpad.net/bugs/1203727 fixed
bzr revid: mat@openerp.com-
20140129105548-dd6zmy9uc2cuowpq
Christophe Simonis [Wed, 29 Jan 2014 10:35:38 +0000 (11:35 +0100)]
[FIX] forbid dropping templates databases
bzr revid: chs@openerp.com-
20140129103538-qbm054m29y5r4hu4
Launchpad Translations on behalf of openerp [Wed, 29 Jan 2014 06:03:26 +0000 (06:03 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140128070310-721zmkmw0ocyz6im
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140129060326-647er2mw0mfn2j5s
Denis Ledoux [Tue, 28 Jan 2014 20:36:21 +0000 (21:36 +0100)]
[FIX] im: no need to see im.user to send him a message
bzr revid: dle@openerp.com-
20140128203621-gjjxaf9tw33li52h
Denis Ledoux [Tue, 28 Jan 2014 19:57:18 +0000 (20:57 +0100)]
[FIX] im: wrong access rule (user_ids in an array of ids, not an array of tuple (id, name)) + useless arg passed to ensure_users
bzr revid: dle@openerp.com-
20140128195718-47861aq02r3mqdf8
Denis Ledoux [Tue, 28 Jan 2014 19:02:35 +0000 (20:02 +0100)]
[FIX] im: history in order
bzr revid: dle@openerp.com-
20140128190235-rauds4lp3h8jqhqr
Denis Ledoux [Tue, 28 Jan 2014 17:50:42 +0000 (18:50 +0100)]
[FIX] account: account reconciliation adding float rounding, to avoid having float precision problem
bzr revid: dle@openerp.com-
20140128175042-a2e4ga47lqow86vj
Denis Ledoux [Tue, 28 Jan 2014 16:26:49 +0000 (17:26 +0100)]
[FIX][ADD] im, im_livechat: fix security rules and add history when opening a conversation
bzr revid: dle@openerp.com-
20140128162649-aptjndl85ocmem8a
Denis Ledoux [Tue, 28 Jan 2014 10:09:49 +0000 (11:09 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9796 revid:launchpad_translations_on_behalf_of_openerp-
20140128070310-721zmkmw0ocyz6im
bzr revid: dle@openerp.com-
20140128100949-mfa2geyx6rklwtcg
Launchpad Translations on behalf of openerp [Tue, 28 Jan 2014 07:03:17 +0000 (07:03 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140126051546-xdjoni3k2eium078
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140128070317-kjn3wh5y1v9z2ijd
Martin Trigaux [Mon, 27 Jan 2014 16:00:19 +0000 (17:00 +0100)]
[MERGE] [FIX] expression: do not look at translation in parse when searching with empty string or false
This fixes traceback when applying filter 'is not set' on a translatable field
bzr revid: mat@openerp.com-
20140127160019-mf0l0ded14g741df
Martin Trigaux [Mon, 27 Jan 2014 14:49:13 +0000 (15:49 +0100)]
[FIX] expression: do not look at translation in parse when searching with empty string or false
This fixes traceback when applying filter 'is not set' on a translatable field
lp bug: https://launchpad.net/bugs/1208565 fixed
bzr revid: mat@openerp.com-
20140127144913-qjh9hrnkfdn18sdb
Martin Trigaux [Mon, 27 Jan 2014 14:28:36 +0000 (15:28 +0100)]
[MERGE] [FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results without DN for searchResultReference
bzr revid: mat@openerp.com-
20140127142836-pvta002gk1ckfzkh
Martin Trigaux [Mon, 27 Jan 2014 14:00:09 +0000 (15:00 +0100)]
[FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results without DN for searchResultReference, courtesy of Patrick Monnerat
lp bug: https://launchpad.net/bugs/983123 fixed
bzr revid: mat@openerp.com-
20140127140009-o50fhhs5z0vjklwc
Denis Ledoux [Mon, 27 Jan 2014 11:04:11 +0000 (12:04 +0100)]
[FIX] mail: cannot duplicate users when mail is installed (allmost all the time, thus)
bzr revid: dle@openerp.com-
20140127110411-ff0vrva5j2vdt1sc
Launchpad Translations on behalf of openerp [Mon, 27 Jan 2014 05:46:06 +0000 (05:46 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140122061252-9jm03vlbr13ofqo9
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140123055652-0p71divui34v1c1q
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140124062440-hx0z2e4sd6nz7exc
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140126051449-rlunde7qysqsh1b1
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140125064003-v340hiykcngjg9ue
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140126051541-9fnyw12nex5poeth
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140127054606-1jb6usf6pj7gy1xl
Denis Ledoux [Sat, 25 Jan 2014 10:28:40 +0000 (11:28 +0100)]
[FIX] mail: traceback when mass mailing with several partners and removing default template (or any template without reply_to)
bzr revid: dle@openerp.com-
20140125102840-7z2w2na7pmy2kda0
Antony Lesuisse [Sat, 25 Jan 2014 00:04:44 +0000 (01:04 +0100)]
[FIX] contract search view typo
bzr revid: al@openerp.com-
20140125000444-14nkccg6vyu5nmv5
Christophe Simonis [Fri, 24 Jan 2014 13:24:50 +0000 (14:24 +0100)]
[FIX] plugin: correct condition to match partners from emails.
correct copy/paste bug introduced in revid 9785 mat@openerp.com-
20140122134728-558gkuhjpi2bc277
bzr revid: chs@openerp.com-
20140124132450-cmx4acj6yei49aw7
Anael Closson [Fri, 24 Jan 2014 12:54:44 +0000 (13:54 +0100)]
[FIX] conditions inverted in involves not forgotten a
bzr revid: acl@openerp.com-
20140124125444-rhigcae80phfixh8
Denis Ledoux [Fri, 24 Jan 2014 12:10:27 +0000 (13:10 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9789 revid:dle@openerp.com-
20140124120102-we2yxio553ws2yz4
bzr revid: dle@openerp.com-
20140120174449-tui0a24zgn9bien2
bzr revid: dle@openerp.com-
20140121125538-ke7i6kaz486hwgl8
bzr revid: dle@openerp.com-
20140122134115-0ogjemlqe327xoac
bzr revid: dle@openerp.com-
20140123103655-mf2zslfbgue97ed2
bzr revid: dle@openerp.com-
20140124121027-uk9zy4dx9tqlsblr
Denis Ledoux [Fri, 24 Jan 2014 12:01:02 +0000 (13:01 +0100)]
[REVERT] 9401 dle@openerp.com-
20130830125155-1vedifnupu2xvth7
This had as side-effect to not allow splitting BOMs
(a manufacturing order for 1 unit of a BOM producing 10 units consumed the lines like it was 10 units, not 1)
This fix was to avoid having a fraction of a unit (for instance, 0.5 unit).
But, finally, it is preferable to allow splitting units:
1. Most users do not use several uoms, and in this case, the unit is the default uom (hidden).
2. At the moment, it is allowed to ask a manufacturing order splitting up the unit uom
(It is allowed to ask the production of 0.5 USB Adapter, for instance)
Thus, we should allow the splitting up of the unit uom in the lines too.
bzr revid: dle@openerp.com-
20140124120102-we2yxio553ws2yz4
Launchpad Translations on behalf of openerp [Fri, 24 Jan 2014 06:25:06 +0000 (06:25 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140124062506-2xq1lhj82n923dbl
Christophe Simonis [Thu, 23 Jan 2014 17:08:36 +0000 (18:08 +0100)]
[FIX] test: correct Mock of search_read
[IMP] search_read: build order index using dict comprehension
bzr revid: chs@openerp.com-
20140123170836-4qu0ei6zucaprwxs
Frédéric van der Essen [Thu, 23 Jan 2014 16:15:23 +0000 (17:15 +0100)]
[FIX] read: fix performance issue due to O(n)^2 sorting
bzr revid: fva@openerp.com-
20140123161523-xvc8so45uwj3uivs