odoo/odoo.git
10 years ago[MERGE] hw_escpos: moving list of supported printers to a separate file
Frédéric van der Essen [Wed, 29 Jan 2014 16:35:03 +0000 (17:35 +0100)]
[MERGE] hw_escpos: moving list of supported printers to a separate file

bzr revid: fva@openerp.com-20140129163503-tvd69qd5u5nktjb9

10 years ago[IMP] hw_escpos: moved list of supported printers to a separate file
Frédéric van der Essen [Wed, 29 Jan 2014 16:32:59 +0000 (17:32 +0100)]
[IMP] hw_escpos: moved list of supported printers to a separate file

bzr revid: fva@openerp.com-20140129163259-xdarcaw4qcqprvt6

10 years ago[MERGE] from trunk
Frédéric van der Essen [Wed, 29 Jan 2014 16:18:02 +0000 (17:18 +0100)]
[MERGE] from trunk

bzr revid: fva@openerp.com-20140129161802-14patbv206pqj68j

10 years ago[REM] POS: Replaced auth="admin" by auth="none"
Fabien Meghazi [Wed, 29 Jan 2014 15:34:08 +0000 (16:34 +0100)]
[REM] POS: Replaced auth="admin" by auth="none"

bzr revid: fme@openerp.com-20140129153408-d8zkyty1rcvvzqx3

10 years ago[MERGE] forward port of branch saas-2 up to revid 5006 chs@openerp.com-20140129140159...
Christophe Simonis [Wed, 29 Jan 2014 14:10:02 +0000 (15:10 +0100)]
[MERGE] forward port of branch saas-2 up to revid 5006 chs@openerp.com-20140129140159-9vwkpr078shoonum

bzr revid: chs@openerp.com-20140129094847-4rsg0kjio0ed0rjk
bzr revid: chs@openerp.com-20140129141002-4p8fttm8ii0ogsse

10 years ago[MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141...
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

10 years ago[FIX] _(): avoid useless warning where translating string without a cursor
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

10 years ago[IMP] reference fields: display a more user-friendly window title when open a chosen...
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

10 years ago[IMP] ir_fields: no need to sanitize the _str_to_html as it is already done in the...
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

10 years ago[MERGE] [FIX] ir_fields: allow convertion from string to html using sanitize function
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

10 years agoLaunchpad automatic translations update.
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

10 years agoLaunchpad automatic translations update.
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

10 years ago[MERGE] [FIX] account: action 'Journal Items' on a journal entries should restrict...
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

10 years ago[MERGE] [FIX] search: make sure search view is not destroyed when starting SearchView...
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

10 years ago[FIX] account: residual amount computation with refund invoices
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

10 years ago[FIX] mass_mailing: fixed variables used outside of their scope
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

10 years ago[FIX] css: remove height: 18px on .oe_facet_value property to avoid long filter name...
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

10 years ago[MERGE] [FIX] audittrail: various bugs (opw 603072)
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

10 years ago[FIX] getParent() js error when clicking to fast on menu items of dashboards
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

10 years ago[FIX] auditrail: in case of unlink retrieve first the record and then execute the...
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

10 years ago[FIX] qweb templates: t-raw to t-esc
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

10 years ago[FIX] audittrail: fixing various bugs
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

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9806 revid:dle@openerp.com...
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

10 years ago[FIX] purchase: hide receive invoice if invoice based on purchase order line.
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

10 years ago[FIX] some other t-raw to t-esc conversions
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

10 years ago[FIX] account_analytic_analysis: currency were wrong when preparing recurring invoices
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

10 years ago[FIX] mail: escape user and partner names before being rendered in mail widgets
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

10 years ago[FIX]stock: product Forecasted Quantity, incoming and outgoing help tooltip were...
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

10 years agoLaunchpad automatic translations update.
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

10 years agoLaunchpad automatic translations update.
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

10 years ago[MERGE] Merge with 7.0-fix-css-clearfix-jke - bug clearfix on oe_title and oe_form_group
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

10 years ago[TYPO] Fix bug css revert rev 4122 and add clear:both
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

10 years ago[MERGE] [FIX] read_group: aggregate values on all columns instead of only the one...
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

10 years ago[IMP] better assert message and cleaning
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

10 years ago[ADD] test read_group on a column of _inherits model and group on right field
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

10 years ago[FIX] orm: read_group aggregates values on all columns instead of only the one of...
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

10 years ago[FIX]Fixed the issue of html field import fails, because of no converter found for...
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

10 years agoLaunchpad automatic translations update.
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

10 years agoLaunchpad automatic translations update.
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

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9801 revid:mat@openerp.com...
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

10 years ago[FIX] stock: when creating manufacturing order from procurement workflow, do not...
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

10 years ago[IMP] attachement: remove unnecessary redraw added at rev 4128 and change message...
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

10 years agoLaunchpad automatic translations update.
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

10 years ago[FIX] mail: same_thread back to True by default, otherwise this is not anymore possib...
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

10 years ago[FIX] mail: for mass mailing, replies in document False by default
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

10 years ago[MERGE] [FIX] account_voucher: forward port of fixes from 6.1 (rev 6966)
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

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9798 revid:dle@openerp.com...
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

10 years ago[FIX] purchase: on po confirm, avoid to write location_id on the chained stock move...
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

10 years ago[FIX] attachement: display error message (removed inexistant template) and redraw...
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

10 years ago[FIX] account: set purchase analytic journal when creating purchase accounting journal
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

10 years ago[MERGE] point_of_sale: regression fix
Frédéric van der Essen [Wed, 29 Jan 2014 14:00:26 +0000 (15:00 +0100)]
[MERGE] point_of_sale: regression fix

bzr revid: fva@openerp.com-20140129133339-myxow8s1jyppg3zp
bzr revid: fva@openerp.com-20140129140026-87ehph86jx9ya263

10 years ago[FIX] point_of_sale: loading screen was not waiting until posbox connection
Frédéric van der Essen [Wed, 29 Jan 2014 13:57:10 +0000 (14:57 +0100)]
[FIX] point_of_sale: loading screen was not waiting until posbox connection

bzr revid: fva@openerp.com-20140129135710-vobqzjyq12d7io3v

10 years ago[FIX] hw_scanner: do not use real keyboards as scanners, start driver thread on get...
Frédéric van der Essen [Wed, 29 Jan 2014 13:24:08 +0000 (14:24 +0100)]
[FIX] hw_scanner: do not use real keyboards as scanners, start driver thread on get status

bzr revid: fva@openerp.com-20140129132408-fv56ihpz6cg3fi4n

10 years ago[MERGE] [FIX] res_partner: name_search search in one pass
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

10 years ago[MERGE] from trunk
Frédéric van der Essen [Wed, 29 Jan 2014 13:21:34 +0000 (14:21 +0100)]
[MERGE] from trunk

bzr revid: fva@openerp.com-20140129132134-vw0hwk1573ippjyz

10 years ago[IMP] make sure the records will be in right order (and trigger chirurgiens-dentistes...
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

10 years ago[FIX] better test, add missing parentheses in query, return empty list in case of...
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

10 years ago[ref] move up!
Martin Trigaux [Wed, 29 Jan 2014 11:41:02 +0000 (12:41 +0100)]
[ref] move up!

bzr revid: mat@openerp.com-20140129114102-tk4fotnb28mtaz9x

10 years ago[FIX] revert previous rev for better where and add test
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

10 years ago[IMP] remove useless variable, where_clause at least '' as created from a str.join()
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

10 years ago[FIX] res_partner: name_search search in one pass
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

10 years ago[FIX] forbid dropping templates databases
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

10 years ago[MERGE] forward port of branch saas-2 up to revid 3899 chs@openerp.com-20140129095637...
Christophe Simonis [Wed, 29 Jan 2014 10:10:04 +0000 (11:10 +0100)]
[MERGE] forward port of branch saas-2 up to revid 3899 chs@openerp.com-20140129095637-mbfz82r5pyz4dctc

bzr revid: chs@openerp.com-20140129101004-44ft0oaeo201guhd

10 years ago[MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_...
Christophe Simonis [Tue, 18 Mar 2014 11:27:43 +0000 (12:27 +0100)]
[MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0

bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1
bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk
bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda
bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 25 Mar 2014 07:21:22 +0000 (07:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140325072122-d9jgtji9dmmytg8d

10 years ago[FIX] sale: trigger signal manual invoice for make invoices wizard (not advance)
Denis Ledoux [Mon, 24 Mar 2014 10:34:27 +0000 (11:34 +0100)]
[FIX] sale: trigger signal manual invoice for make invoices wizard (not advance)

bzr revid: dle@openerp.com-20140324103427-yckncrnynvs5si8i

10 years ago[FIX] last version of wkhtmltopdf expects all file to have a doctype, inject one...
Simon Lejeune [Mon, 24 Mar 2014 10:17:31 +0000 (11:17 +0100)]
[FIX] last version of wkhtmltopdf expects all file to have a doctype, inject one if not present

bzr revid: sle@openerp.com-20140324101731-eqzqins3s8uak1yd

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 23 Mar 2014 06:44:12 +0000 (06:44 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140322070453-bbx8zxmppthwar0s
bzr revid: launchpad_translations_on_behalf_of_openerp-20140323064412-l97e4rap18b68ab0

10 years ago[FIX] survey: avoid duplicate partners on new users creation
Denis Ledoux [Fri, 21 Mar 2014 13:57:05 +0000 (14:57 +0100)]
[FIX] survey: avoid duplicate partners on new users creation

bzr revid: dle@openerp.com-20140321135705-lrnxu3gsnkt4r5cd

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 21 Mar 2014 06:51:50 +0000 (06:51 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140321065150-vovy9a0q2y6vkwm4

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 21 Mar 2014 06:51:15 +0000 (06:51 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061913-o2fp3m104dzeb2ky
bzr revid: launchpad_translations_on_behalf_of_openerp-20140321065115-srp2g1l3twjabmcq

10 years ago[FIX] Move default value in the _defaults of model and not in default_get.
Kersten Jeremy [Thu, 20 Mar 2014 18:02:40 +0000 (19:02 +0100)]
[FIX] Move default value in the _defaults of model and not in default_get.
Don't override the location_id if the super get_default don't retrun a value.

Else it is impossible to set a default value, because the ir_values is always overrided with stock_location_stock as location_id

bzr revid: jke@openerp.com-20140320180240-un42lptu3pjnsmxq

10 years ago[FIX] survey: report not stored on filesystem
Denis Ledoux [Thu, 20 Mar 2014 17:48:35 +0000 (18:48 +0100)]
[FIX] survey: report not stored on filesystem

bzr revid: dle@openerp.com-20140320174835-kdha7ivs64vsvizt

10 years ago[FIX] point_of_sale: add multi-companies rules on pos.config
Denis Ledoux [Thu, 20 Mar 2014 15:44:36 +0000 (16:44 +0100)]
[FIX] point_of_sale: add multi-companies rules on pos.config

bzr revid: dle@openerp.com-20140320154436-ygqhvvyhe6otv70p

10 years ago[FIX] stock: force form_view_ref to False in context of actions track_line and scrap_...
Denis Ledoux [Thu, 20 Mar 2014 11:07:41 +0000 (12:07 +0100)]
[FIX] stock: force form_view_ref to False in context of actions track_line and scrap_move to avoid context propagation of stock picking views

bzr revid: dle@openerp.com-20140320110741-pg8se5c02p87yi1y

10 years ago[FIX] subscription: missing required dependency on `base`
Olivier Dony [Thu, 20 Mar 2014 09:13:49 +0000 (10:13 +0100)]
[FIX] subscription: missing required dependency on `base`

bzr revid: odo@openerp.com-20140320091349-74zykqzf2ols3ja1

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 20 Mar 2014 06:19:44 +0000 (06:19 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140319063002-sd17jxb37ycogrrz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061944-bwpy0lt1bp5ee0y2

10 years ago[FIX] Fix the yml test with option --test-file.
Kersten Jeremy [Wed, 19 Mar 2014 10:48:47 +0000 (11:48 +0100)]
[FIX] Fix the yml test with option --test-file.

1 -
There was a confusing between kind and mode.
Due to the mode 'test', there are many part of code who was not executed.
The right value is kind='test', and arbitrary mode='init' (or 'update')

2 -
The yml test was always roolbacked, without check that command line had '--test-commit'.
It's has been fixed, now we check if param --test-commit is existing, else we roolback the transaction.

Rem for forward: function in trunk=saas-4 has been moved in : openerp/service/server.py - def load_test_file_yml

bzr revid: jke@openerp.com-20140319104847-6r2c70gapocn2wxq

10 years ago[FIX] purchase: for drop shipping po, the supplier of the picking was the customer...
Denis Ledoux [Tue, 18 Mar 2014 15:14:56 +0000 (16:14 +0100)]
[FIX] purchase: for drop shipping po, the supplier of the picking was the customer address, which is obviously wrong, it should be the supplier of the po

bzr revid: dle@openerp.com-20140318151456-qw896i1t55wgwhkm

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 18 Mar 2014 06:21:35 +0000 (06:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062135-gqvoka8hm41pe762

10 years ago[FIX] point_of_sale: prevent duplicated order posting
Denis Ledoux [Mon, 17 Mar 2014 16:41:31 +0000 (17:41 +0100)]
[FIX] point_of_sale: prevent duplicated order posting

bzr revid: dle@openerp.com-20140317164131-eewyqmzz5niebz2a

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 17 Mar 2014 05:09:59 +0000 (05:09 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140315072920-dmiymtbhrgu87wm0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140316060652-akf1fti2hc1a9vmm
bzr revid: launchpad_translations_on_behalf_of_openerp-20140317050959-2xx2aoylhn6a28fo

10 years ago[MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)
Martin Trigaux [Fri, 14 Mar 2014 16:09:38 +0000 (17:09 +0100)]
[MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)

bzr revid: mat@openerp.com-20140314160938-px91g81280qff635

10 years ago[FIX] pager: revert of revision 4159, the pager was disapearing when going in editabl...
Martin Trigaux [Fri, 14 Mar 2014 13:28:54 +0000 (14:28 +0100)]
[FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)

bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4

10 years ago[FIX] pad: improve pad bootstrap, prevent creating useless empty pads, avoid edition...
Olivier Dony [Fri, 14 Mar 2014 13:18:49 +0000 (14:18 +0100)]
[FIX] pad: improve pad bootstrap, prevent creating useless empty pads, avoid edition warning in read-only mode for new pads, translate messages

Added a small method to detect the proper server configuration,
and make it degrade gracefully if the method is not present.
This avoids having to force a pad URL generation in order to
test the config (possibly creating useless pads).
Add a user-friendly message when the pad has not yet been
initialized for a given record, in read-only mode.

bzr revid: odo@openerp.com-20140314131849-rnjvk1pqpiyvtc1c

10 years ago[FIX] share wizard: delete wizard lines in cascade
Christophe Simonis [Fri, 14 Mar 2014 11:59:36 +0000 (12:59 +0100)]
[FIX] share wizard: delete wizard lines in cascade

bzr revid: chs@openerp.com-20140314115936-8y6eg51tzmsdlb85

10 years ago[FIX] pager: do not try to toggle the visibility if the pager do not exists yet
Martin Trigaux [Fri, 14 Mar 2014 11:27:09 +0000 (12:27 +0100)]
[FIX] pager: do not try to toggle the visibility if the pager do not exists yet

bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e

10 years ago[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier
Olivier Dony [Fri, 14 Mar 2014 10:46:05 +0000 (11:46 +0100)]
[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier

bzr revid: odo@openerp.com-20140314104605-qi7eqj2g37dvxvc3

10 years ago[FIX] calendar: correct recurrency end date computation
Christophe Simonis [Fri, 14 Mar 2014 09:48:09 +0000 (10:48 +0100)]
[FIX] calendar: correct recurrency end date computation

bzr revid: chs@openerp.com-20140314094809-0wuus62tob8vtyi0

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 14 Mar 2014 06:58:36 +0000 (06:58 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065823-xdw7aa9ye4j200pp
bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065836-tn2fv9smot0omj8f

10 years ago[FIX] Change password wizard: reload webclient after changing your own password....
Kersten Jeremy [Thu, 13 Mar 2014 18:14:15 +0000 (19:14 +0100)]
[FIX] Change password wizard: reload webclient after changing your own password. Because your session is dead after the changing !

bzr revid: jke@openerp.com-20140313181415-3rwlxhpevev3tlsq

10 years ago[MERGE] [FIX] base_calendar: correct the set method for rrule (opw 605088)
Martin Trigaux [Thu, 13 Mar 2014 15:51:31 +0000 (16:51 +0100)]
[MERGE] [FIX] base_calendar: correct the set method for rrule (opw 605088)

- create hook method to fix the invalid call while keeping the signature of the old methdo
- remove undeclared variable
- force the 'byday' field (type selection) to be a string value instead of an integer

bzr revid: mat@openerp.com-20140313155131-e90stgoh8bz8tgvg

10 years ago[FIX] pager show the pagger earlier in the loading process to avoid to mix the list...
Martin Trigaux [Thu, 13 Mar 2014 15:42:28 +0000 (16:42 +0100)]
[FIX] pager show the pagger earlier in the loading process to avoid to mix the list and form pagers when fast switching (and slow network)

bzr revid: mat@openerp.com-20140313154228-70jytisdwlf3sfbo

10 years ago[IMP] add test
Martin Trigaux [Thu, 13 Mar 2014 15:37:57 +0000 (16:37 +0100)]
[IMP] add test

bzr revid: mat@openerp.com-20140313153757-nj9nn52u7kxpfg8i

10 years ago[FIX] pad: use server to get pad content
Christophe Simonis [Thu, 13 Mar 2014 15:35:35 +0000 (16:35 +0100)]
[FIX] pad: use server to get pad content

bzr revid: chs@openerp.com-20140313153535-ogyip9tfm2hkwn1f

10 years ago[FIX] if only one id, convert to list
Martin Trigaux [Thu, 13 Mar 2014 15:16:12 +0000 (16:16 +0100)]
[FIX] if only one id, convert to list

bzr revid: mat@openerp.com-20140313151612-saoc3a73x1cwvgbg

10 years ago[FIX] base_calendar: correct the invert call to the function field rrule.
Martin Trigaux [Thu, 13 Mar 2014 15:08:23 +0000 (16:08 +0100)]
[FIX] base_calendar: correct the invert call to the function field rrule.
Create new hook method with valid signature.
Keep the old one for compatibility reasons.
Force the value of 'byday' (type selection) to be a string instead of integer.

bzr revid: mat@openerp.com-20140313150823-vba9qulj549v37t9

10 years ago[FIX] stock: use fully qualified xmlid in *_view_ref context keys
Christophe Simonis [Thu, 13 Mar 2014 13:44:38 +0000 (14:44 +0100)]
[FIX] stock: use fully qualified xmlid in *_view_ref context keys

bzr revid: chs@openerp.com-20140313134438-jcwhrm3demu4i99q

10 years ago[FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pager...
Martin Trigaux [Thu, 13 Mar 2014 12:38:11 +0000 (13:38 +0100)]
[FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pagers when fast switching

bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu

10 years ago[FIX] Add missing context to some calls
Lionel Sausin [Thu, 13 Mar 2014 09:50:54 +0000 (10:50 +0100)]
[FIX] Add missing context to some calls

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

bzr revid: ls@numerigraphe.com-20140313095054-3506f3tan8eyqc61