Commit Graph

4662 Commits

Author SHA1 Message Date
Quentin (OpenERP) d621d26516 [FIX] orm, _generate_order_by(): allow to order by LOG_ACCESS_COLUMNS even if the column is not defined again in self._columns. Raising an error instead of silently skipping the order_by
bzr revid: qdp-launchpad@openerp.com-20130419145417-2tix8ynmx51qiqkf
2013-04-19 16:54:17 +02:00
Launchpad Translations on behalf of openerp 6a600ff311 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130420064840-ctlb3ywgmfytczfj
2013-04-20 06:48:40 +00:00
Olivier Dony 360b549677 [MERGE] res.partner: many important fixes for contact/company management and address management, see bug 1160365
- Fix autosync of accounting/invoicing-related fields on contacts, just as if they were actually modeled as fields.related to the parent commercial entity. This starts with the addition of the new functional field `commercial_partner_id`, to locate the commercial entity for any partner. The commercial entity is defined as the first ancestor (starting at the partner itself) that is either marked `is_company` or has no parent.

- Corrected autosync of address fields (bug 1160425). Also included in the same patch, because those two mechanisms are closely related and share some parts of the implementation. "use_parent_address" now defaults to False, and auto-sync only happens downstream, except for a special case when creating a new company and a new contact at the same time

- `is_company` does not reset the parent_id field anymore, to allow for multi-level structures. The `parent_id` field now also stays visible if it has a non-empty value

- the `email`, `phone`, `fax`, `mobile`, `lang`, etc. that were sometimes synced when changing parent company are now properly left alone

- res.partner.address_get() now defaults to the partner being looked up rather than company when no match is found at all and no "default" exists. This avoids losing the contact info on invoices when a new contact+company pair is created.

- the embedded contact creation mini-form was updated to include the address fields and the `type` field

- res.partner.name_get now return "Company, Contact" rather than "Contact (Company)" to make it clearer that the company is selected as well.

- Added warning message when changing the Company of a Contact that already has a company, so it is clear that it should only be done if the Company was incorrect - in other cases a new contact must be created under the new company.

- Fixed search domains using "child_of" to also include deactived records, so that using this operator in the search view of business documents returns the expected results.

- fixed propagation of "is_supplier" flag when creation a parent company for a contact created on the fly on a Purchase Order, and when adding contacts to an existing Supplier Company

lp bug: https://launchpad.net/bugs/1160365 fixed
lp bug: https://launchpad.net/bugs/1122363 fixed
lp bug: https://launchpad.net/bugs/1160425 fixed

bzr revid: odo@openerp.com-20130420032529-pvv6vuelp84bt26j
2013-04-20 05:25:29 +02:00
Olivier Dony 16b38a053a [FIX] res.partner: fix invisible attrs on Contacts tab, empty o2m field results in `[]`, not `False`
bzr revid: odo@openerp.com-20130420004713-0cblmquf4t6i2n0r
2013-04-20 02:47:13 +02:00
Olivier Dony 18ee18244f [FIX] test_expression: assertion was too sensitive to exact parameters
Now that res.partner.child_ids has an extra domain
attribute the exact number of parameters of queries
using `child_ids` in the WHERE clause is different.

bzr revid: odo@openerp.com-20130419173159-ef1onm3823hsi77n
2013-04-19 19:31:59 +02:00
Olivier Dony 9b9c3fa59c [FIX] res.partner.name_get: partners marked as "is_company" should appear as standalone
This is more consistent with the way we expect reporting
to work, and will also ensure that these companies
appear right above their contacts in search order
(which will match name_get)

bzr revid: odo@openerp.com-20130419164728-25312wtyzt9h6egw
2013-04-19 18:47:28 +02:00
Olivier Dony 83feb1c46f [REVERT] res.partner: undo change of ordering in name_search result, to be addressed via a stored display_name field (temporarily added by account_report_company module in 7.0)
bzr revid: odo@openerp.com-20130419164447-wrmfghxi44au3273
2013-04-19 18:44:47 +02:00
Olivier Dony cfb53f1aad [FIX] res.partner: search using 'child_of' should include inactive children
This is necessary for 2 reasons:
- when searching on Business documents the search domain will be
  [('partner_id', 'child_of', 'ACME')] in order to match all
  descendants, and it must match inactive children as well
- in other cases like for resolving IDs to update via store
  triggers, it is necessary that 'child_of' returns inactive
  children too.

The implementation is tricky because the ORM automatically 
transform 'child_of' domains into recursive searches with
[('parent_id', 'in', ids)], which is the same query that the
reverse one2many 'child_ids' will also use to find contacts.
The overridden search() therefore matches this domain pattern
only when there is one criterion (to avoid side-effects in
other cases) and a dummy extra 'domain' was added to the
definition of the 'child_ids' o2m so it won't match.
The net result is that child_ids will not return inactive
children while child_of will return all descendants when
it is the only criterion. This is the expected behavior
whenever child_of is used on res.partner, because
it's safer to always show business documents.
The only side-effects will be for custom/manual search
calls with a single criterion of the form ('parent_id','in', x)
and those can be fixed by adding an extra domain
component ('active','=',True), just like child_ids does.

bzr revid: odo@openerp.com-20130419135756-2kbhwr23lygqdoob
2013-04-19 15:57:56 +02:00
Launchpad Translations on behalf of openerp 230b23e6cb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061733-j4th561m2dju73zo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061748-4sz8agg8laqbyu4p
2013-04-19 06:17:48 +00:00
Olivier Dony 3c5559045c [FIX] res.partner: add onchange warning when changing an existing contact's company
bzr revid: odo@openerp.com-20130418153829-rmkd6xo1cajgfer5
2013-04-18 17:38:29 +02:00
Olivier Dony dfbe68e69d [IMP] res.partner: rename commercial_id to commercial_partner_id + make function field inheritable
The name `commercial_partner_id` better reflects its
purpose and the fact that it is a FK to a partner.


An extra indirection through a lambda function was
also added to the definition of the function field
to make it possible to override it in other modules
(otherwise the function is passed by copy directly
and cannot be inherited later)

bzr revid: odo@openerp.com-20130418144533-owupfwn6h83q432x
2013-04-18 16:45:33 +02:00
Antony Lesuisse 4f87484805 [FIX] ir.cron add a safeguard mecanism against version mistach when polling
bzr revid: al@openerp.com-20130418010410-0zz1zkexnjzjp3si
2013-04-18 03:04:10 +02:00
Olivier Dony 06cd0a1c7f [FIX] res.partner: avoid hiding `parent_id` and `child_ids` fields if they are set, irregardless of the rest of the `is_company` flag
This prevents hiding real data and also allows creating more
complex/flexible structures by setting the values of these
fields before or after setting is_company, to reach the
desired result.

bzr revid: odo@openerp.com-20130416093403-9m484d30qqq5ab8l
2013-04-16 11:34:03 +02:00
Olivier Dony d734bf58cc [FIX] res.partner: name_get: return "Company, Contact" rather than "Contact (Company)" to make it clearer that the company is selected as well
bzr revid: odo@openerp.com-20130416093121-t5soophs2aui8rzq
2013-04-16 11:31:21 +02:00
Olivier Dony 2c6d69e0f1 [FIX] res.partner: propagate `is_supplier` property when creating parent or child partner for a supplier
This is not necessary for the `is_customer` flag, as it is
always True by default (customers are created more frequently).
Passing the field value via an invisible field in the mini
contact form is necessary because context `default_*` values are
automatically discarded by the ORM when creating o2m
or m2m records (as they are supposed to apply to a different model).

bzr revid: odo@openerp.com-20130416091027-y7iwvpjhowg53lry
2013-04-16 11:10:27 +02:00
Stephane Wirtel 294e675f8b [MERGE] After the installation, reload the Apps interface if the modules are not
on the local repo of the addons.

bzr revid: stw@openerp.com-20130416080120-2xbxilnaw2j3i0lu
2013-04-16 10:01:20 +02:00
Launchpad Translations on behalf of openerp 46e5767367 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130416052714-8akmv4r170byjx0k
2013-04-16 05:27:14 +00:00
Olivier Dony f985391ba0 [MERGE] Sync with 7.0
bzr revid: odo@openerp.com-20130415181836-cmq936wu0w7alwky
2013-04-15 20:18:36 +02:00
Olivier Dony 8efd16f25a [FIX] res.partner, orm._check_recursion: prevent recursive partner structures + fix false positives in check_recursion()
- res.partner must prevent creating loops in partner
hierarchies, and this can be done easily with an
extra _constraint using the ORM's builtin _check_recursion

- _check_recursion's implementation incorrectly
assumed that the provided 'ids' were unrelated
(not part of a common hierarchy).

- add tests for _check_recursion via extra
tests on res.partner structure
(explains why both patches are in the same
commit)

bzr revid: odo@openerp.com-20130415171732-aj3j2e2mycvzf4kp
2013-04-15 19:17:32 +02:00
Stephane Wirtel cff29fa888 [MERGE] Upstream
bzr revid: stw@openerp.com-20130415154400-fq7ydj6q1y07n02w
2013-04-15 17:44:00 +02:00
Christophe Simonis ef062c086b [FIX] typo in method name in apps.js
bzr revid: chs@openerp.com-20130415144708-ezj5xeuo3yylb5em
2013-04-15 16:47:08 +02:00
Xavier Morel 5fd1e56566 [FIX] incorrect view in super() call
super() finds the MRO parent of the provided class to resume the
execution chain from there, so the class being defined should be
provided.

Here view called super(osv.osv, self).create so if osv.osv (Model) had
a create() defined (which luckily it does not) it would've been
skipped.

bzr revid: xmo@openerp.com-20130415105744-cfx47t01oc7loyes
2013-04-15 12:57:44 +02:00
Launchpad Translations on behalf of openerp c13ceba6b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060536-q07q8ed9v8ldi2kv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414055031-dgknuaf8a4dhgt16
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413063110-rtd3r7hxe54yb8eq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414054933-k6o13mitp3dl62xq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130415060648-klbxmc1afr5jq4vb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060533-fq4nwi1i6h39y7pl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413063146-745583mwivnzgjqj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414055028-v2dnk713g9ydbvpo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130415060722-gvarcrrppfcq777a
2013-04-15 06:07:22 +00:00
Quentin (OpenERP) 3f1d969e51 [FIX] module, technical reference guide report: don't print fields having the same name than another on another object that have been modified in that module. + small refactoring
bzr revid: qdp-launchpad@openerp.com-20130412133214-s92o4gcfwfu7yfbp
2013-04-12 15:32:14 +02:00
Quentin (OpenERP) 7f4d6299cc [FIX] res_bank: good naming of the keyword parameters of fields_get()
bzr revid: qdp-launchpad@openerp.com-20130412133008-d5l6yxm8v7in9i9x
2013-04-12 15:30:08 +02:00
Quentin (OpenERP) f354be38a3 [FIX] module, technical reference guide report: print only the that have been added, not all the fields of the modified objects
bzr revid: qdp-launchpad@openerp.com-20130412125754-qfu30oxc7yrsrrzv
2013-04-12 14:57:54 +02:00
Launchpad Translations on behalf of openerp 63167859c1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130410055405-w3d7pmwo87vl44eu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130411144320-1vmytr6rwujytg83
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060508-w8b9st5nhhzb0hh0
2013-04-12 06:05:08 +00:00
Olivier Dony c5e4faa7dc [FIX] res.partner: make the computed display_address use all address fields, including extra/custom ones
lp bug: https://launchpad.net/bugs/1122363 fixed

bzr revid: odo@openerp.com-20130411191110-5q7vd77m0e78dg8u
2013-04-11 21:11:10 +02:00
Olivier Dony e78ed60a5a [FIX] res.partner: make _address_fields method conform to its documented return type (detected by Nhomar Hernandez)
This will make overriddes more straightforward.

bzr revid: odo@openerp.com-20130411190050-8vhx9laialsyrm3r
2013-04-11 21:00:50 +02:00
Christophe Simonis b01528e3f0 [FIX] res_config: add missing import lost during previous commit
bzr revid: chs@openerp.com-20130411183634-pmg5cn82f8s174y1
2013-04-11 20:36:34 +02:00
Christophe Simonis 841cf5aaad merge upstream
bzr revid: chs@openerp.com-20130411154519-xvepmjrm4ibqddx7
2013-04-11 17:45:19 +02:00
Jigar Amin 356115167d [FIX] User Partner Company has to same as User Compnay not as usder company
bzr revid: jam@tinyerp.com-20130411094336-03i3475ydat8d5jj
2013-04-11 15:13:36 +05:30
Olivier Dony 59fe76f24c [FIX] res.partner form: switch default `use_parent_address` to False in kanban contact too, replace by defaults for address fields
We should never turn the `use_parent_address` option on
unless the user explicitly wants to use it. It makes
further editing more convoluted (need to go to the
company address) and is really an advanced feature.

It was only set by via context defaults when adding
contacts to a company ; we can replace that with a
set of defaults that will copy the company address
fields to the contact. Users can still switch to
automatic synchronization if they really want it,
or simply further edit the address of the contact.

Also fixed the layout of the mini-form view, now
using a simpler vertical layout with address at
bottom, since the main info of a contact needs
to be entered first.

bzr revid: odo@openerp.com-20130410170101-t9covdj6nmyn44jf
2013-04-10 19:01:01 +02:00
Olivier Dony 5a222c8f90 [FIX] res.partner form view: remove now useless oe_inline class so `company` field can take 100% width of parent div
bzr revid: odo@openerp.com-20130410154242-kkgrthb5cb11d49d
2013-04-10 17:42:42 +02:00
Olivier Dony 8468af8606 [FIX] res.partner.name_search: make sure companies always come before contacts when both match
bzr revid: odo@openerp.com-20130410152309-u4dn8bxssvcwdc8c
2013-04-10 17:23:09 +02:00
Olivier Dony 9bec1595bd [FIX] res.partner address sync: `type` field should not be synced wih other address fields
It is valid to use the parent address but still set a different
type of address - the name, email, phone, etc. could be different.

bzr revid: odo@openerp.com-20130410123229-9l60sbcks3tpmy7x
2013-04-10 14:32:29 +02:00
Olivier Dony 9dbe29b2b5 [FIX] res.partner.address_get: default to partner being looked up rather than company when no match is found at all (and no "default" exists)
Using the commercial entity is not a very good default choice
in many cases. If a new contact is created on-the-fly for a
new document (e.g. sales order), his/her company may be an
empty shell and/or a large corporation that should not be
directly used for e.g. billing/invoicing purposed.
Once a contact/company is set to "invoicing" or "delivery"
we use it, but in other cases we stick to the provided
partner/contact as a saner default.
This should not change anything for cases where advanced
contact management is used and proper address types are
set.

bzr revid: odo@openerp.com-20130410121536-vm93o6vxhi3b8feu
2013-04-10 14:15:36 +02:00
Fabien Meghazi 74997ff408 [IMP] res.partner form view, autofocus Contact notebook/page on visibility change
bzr revid: fme@openerp.com-20130409122954-mkene266qvcfe6nr
2013-04-09 14:29:54 +02:00
Launchpad Translations on behalf of openerp 6fe10fc8e5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130409055857-v475gufg9pm5zbqy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130409055920-gtfw1ljrgaej1u0u
bzr revid: launchpad_translations_on_behalf_of_openerp-20130406063645-b7q6s71zvtm9orxm
bzr revid: launchpad_translations_on_behalf_of_openerp-20130407060119-7ojh5lykuwm3ydbn
bzr revid: launchpad_translations_on_behalf_of_openerp-20130409055924-46ylmw1wqri80wgs
2013-04-09 05:59:24 +00:00
Quentin (OpenERP) 70fbc25d93 [IMP] base, res_partner and contacts management: improve usability and user experience.
1) whennever a contact is created from a parent record: allow to set a dedicated address
2) move the use_parent_address field near the address

bzr revid: qdp-launchpad@openerp.com-20130408155934-bk2apzq1gcktqr6m
2013-04-08 17:59:34 +02:00
Quentin (OpenERP) 631759a2a9 [FIX] report, trml2pdf: allow to use <pageNumber/> tag under a flowable area (<place>...<place/>).
bzr revid: qdp-launchpad@openerp.com-20130408132510-7pq0ityec9sl702f
2013-04-08 15:25:10 +02:00
Launchpad Translations on behalf of openerp 161841af7e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130406063615-7i83z5nw8t61j74f
bzr revid: launchpad_translations_on_behalf_of_openerp-20130407060018-f3clm2r44u1qf71g
bzr revid: launchpad_translations_on_behalf_of_openerp-20130408062007-qrme94qjqgan9ie9
2013-04-08 06:20:07 +00:00
Olivier Dony 2bf1034cd2 [FIX] res.partner: autosync of commercial fields and address fields + correct views accordingly + basic tests
* Commercial fields (bug 1160365)

Fix autosync of accounting/invoicing-related fields on contacts,
just as if they were actually modeled as fields.related to the
parent commercial entity.
This starts with the addition of the new functional field
`commercial_id`, to locate the commercial entity for any partner.
The commercial entity is defined as the first ancestor (starting
at the partner itself) that is either marked `is_company` or has
no parent. [This is Part A of the solution on bug 1160365].

Then, whenever a partner is created or modified:
- if it is a commercial entity, the commercial fields are synced
downstream to all its descendants, stopping at company boundaries.
- if is is not a commercial entity, the commercial fields are
synced from its parent commercial entity.
The list of fields to sync is determined by calling the new
res.partner method `_commercial_fields()` which can be easily
extended by any module that adds commercial fields on res.partner.
A utility method `open_commercial_entity()` was added to
res.partner to make it easy to include a button for editing the
parent commercial entity, to be displayed instead of now-hidden
commercial fields.
[This is part B of the solution on bug 1160365]

The res.partner.address_get() method (used to find child partners
of certain types, e.g. "invoice") was udpated to take the new
"commercial entity" notion into account: it will now look for
matches in children but also parents and siblings that are part
of the same "commercial entity". The default partner `type` is
now "contact" to reflect the new model ; "default" is
inappropriate because it is a wildcard and would stop the type
lookup early.
[This composes parts C and D of the solution on bug 1160365]

Note: This fix comes with a matching addons fix to implement
module-specific extensions of part B, as well as part E of the
solution.


* Address fields (bug 1160425)

Corrected autosync of address fields is also included in the
same branch, because those two mechanisms are closely related
and share some parts of the implementation.

The `use_parent_address` field now defaults to False (except
in the mini-kanban view of contacts on a partner form), and
the autosync of address fields has been modified to only work
downstream and never update a parent company if a child contact
is modified. Instead, the address fields are now displayed
readonly on contacts that use the parent address, with a button
to edit the parent address (new method open_parent(), similar
to open_commercial_entity() but opening the direct parent).

To make the initial creation of a contact + company pair,
a special case was added: when a new contact is created for
a company that has no other contact and no address, the
address of the contact is assumed to be that of the company
so it is moved to the company, then the `use_parent_address`
flag is enabled on the contact, and the `is_company` flag on
the company. This covers a use case where contact and
company are created on-the-fly when creating a new document.

Many logical flaws in the autosync of address fields have been
corrected and are now covered by unit tests.


* Misc related fixes

- checking `is_company` does not reset the parent_id field
anymore, to allow for multi-level structures. The field is
still hidden automatically because having an empty "Company"
field on the form view of a company is quite suprising), but
this UI behavior is easily customized;
- the `email`, `phone`, `fax`, `mobile`, `lang`, etc. that
were sometimes synced when changing parent company are now
properly left alone;
- the `use_parent_address` field is now always visible next
to the parent_id field when a parent is set

lp bug: https://launchpad.net/bugs/1160425 fixed
lp bug: https://launchpad.net/bugs/1160365 fixed

bzr revid: odo@openerp.com-20130408013742-tm8w0w0nmunanokk
2013-04-08 03:37:42 +02:00
al@openerp.com c532e3da9e [FIX] workers limit cron memory usage
bzr revid: al@openerp.com-20130405001112-gknqvx0iyjmu1ona
2013-04-05 02:11:12 +02:00
Launchpad Translations on behalf of openerp 5a4be3d44c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130403150224-6o2tq7pqtgax4o8w
bzr revid: launchpad_translations_on_behalf_of_openerp-20130404145635-l4x86488xak0gwr1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130404145655-30mhci39kbd5n7dq
2013-04-04 14:56:55 +00:00
Thibault Delavallée 347b2a7604 [MERGE] [FIX] tools: mail: html2plaintext better manages carriage returns.
lp bug: https://launchpad.net/bugs/1159782 fixed

bzr revid: tde@openerp.com-20130403083237-a406615qs8pe1jon
2013-04-03 10:32:37 +02:00
Antony Lesuisse 051885fd88 [MERGE] workers cron each job should be considered as one request
bzr revid: al@openerp.com-20130403013833-4599683ji5tztevd
2013-04-03 03:38:33 +02:00
Launchpad Translations on behalf of openerp 252bcc802f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060824-pc5f2pj14gj0ak27
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055726-frtzw3gc9ut4wx4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053127-tolr13p1b3bhjny1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054749-t3x0zc7qk3n4man2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060920-k0cnlpk0rxcli841
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055741-loojniiz6du9upat
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053211-yvt1h32v41rs6jje
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054814-fwg742kzhsupr6kc
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329051100-3ul1k4qwwm2f49gt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060923-wch1f8ndmb15nu6x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055759-aj1nc93t9420lov0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053215-kqqgqefzp95fa1tk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054817-k33rri349nc2ioiz
2013-04-02 05:48:17 +00:00
Christophe Matthieu 600f03b294 [FIX] html2plaintext: bug 1159782
bzr revid: chm@openerp.com-20130329154130-56wjtfrj41eatxl6
2013-03-29 16:41:30 +01:00
Xavier ALT 43cc95ce2b [FIX] partner: fix update for company address
* when writing an empty value to ADDRESS_FIELDS, that value
    should also be propagated by update_address()

  * when creating a contact from a company form view, even with
    'use_company_address', company's contact address remains empty. We
    now force adding missing address fields uppon creation when default
    'use_company_address' is True.

bzr revid: xal@openerp.com-20130329112317-6lat4jx5x2yh18t6
2013-03-29 12:23:17 +01:00
Launchpad Translations on behalf of openerp 42e713aab2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130328052132-4jmsvd1psrn33q8l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329050732-0qno0says8riolps
2013-03-29 05:07:32 +00:00
Vo Minh Thu 79bd8db0fd [FIX] WorkerCron: give a chance to process_limit() between each database.
bzr revid: vmt@openerp.com-20130328115905-ddib9g4bbu0kx2wn
2013-03-28 12:59:05 +01:00
Quentin (OpenERP) 72efeaa44f [FIX] base, ir.ui.view: added a default value for 'type' field as it's a required functional field without fnct_inv (thus not possible to enter a value). This is needed in order to let people create their views manually via the menuitem
bzr revid: qdp-launchpad@openerp.com-20130327160258-jev32y4t99vj6b5s
2013-03-27 17:02:58 +01:00
Chris Biersbach 15bd42f5e5 [FIX] Removes the limit of 64 characters from additional text fields added via the interface
lp bug: https://launchpad.net/bugs/1053511 fixed

bzr revid: cbi@openerp.com-20130327132335-tro1p1n5at042jfb
2013-03-27 14:23:35 +01:00
Launchpad Translations on behalf of openerp 646eaf3d73 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130325052335-jfts1e9p0gvmvc7s
2013-03-25 05:23:35 +00:00
Chris Biersbach 6eefd15744 [FIX] Forwardport of issue when starting crons from 6.1 revision 4334
bzr revid: cbi@openerp.com-20130322140331-2trqiyuck816wj4f
2013-03-22 15:03:31 +01:00
Ravish (Open ERP) 5d4b0d3a62 [IMP]applied arrow to the specified form
bzr revid: rmu@tinyerp.com-20130322101430-hwkp4m97vst5ii8n
2013-03-22 15:44:30 +05:30
Olivier Dony 41598ef041 [FIX] orm.expression: `=?` domain operator broken after 7.0 refactoring ; + added tests
lp bug: https://launchpad.net/bugs/1095635 fixed

bzr revid: odo@openerp.com-20130321173737-a0j330ro4i223fkb
2013-03-21 18:37:37 +01:00
Christophe Simonis 7fe9e8e73e [FIX] apps: add timestamp to check image to avoid cache problems
bzr revid: chs@openerp.com-20130321162636-p5w97ublixf00o5s
2013-03-21 17:26:36 +01:00
Launchpad Translations on behalf of openerp 4083df915f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050259-e16287z7tx5x2hr1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050350-7j423tm3q7n124on
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050354-6gc2gobnj24c9gso
2013-03-21 05:03:54 +00:00
Vo Minh Thu 83786b4178 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319150057-fq6nkp4qhgy9x9mq
2013-03-19 16:00:57 +01:00
Olivier Dony ffd258e3f0 [FIX] web_services: incorrect error message in logfile after failed DB dump, courtesy of Brendan Clune (Logic Supply)
lp bug: https://launchpad.net/bugs/1124440 fixed

bzr revid: odo@openerp.com-20130318144156-q7yw9qy83tngdg6x
2013-03-18 15:41:56 +01:00
Olivier Dony 8d6e91219f [FIX] web_services: set PGPASSWORD in environment only when db_password is set in the config
This prevents an error when trying to set an
environment variable to `False`, and is the
second part of the regression introduced in
revision 4424. See previous partial fix
at revision 4893

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

bzr revid: odo@openerp.com-20130318141532-m2xsahh5u5pi5bth
2013-03-18 15:15:32 +01:00
Launchpad Translations on behalf of openerp dcc9a3aeab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317052921-m3gthz6l7fx1jwu7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317053035-kqb70nwvcg1iqldu
2013-03-17 05:30:35 +00:00
Quentin (OpenERP) 43afe718fd [MERGE] tools: regex to find the good partner name
bzr revid: qdp-launchpad@openerp.com-20130314170010-ggybuy16m96kulem
2013-03-14 18:00:10 +01:00
Quentin (OpenERP) 64502253b8 [FIX] base, res_currency: raise an error if a currency doesn't have any rate associated to the given period (if any)
bzr revid: qdp-launchpad@openerp.com-20130314153800-wl48wkp5f3zz0pb6
2013-03-14 16:38:00 +01:00
Christophe Simonis 7c4279cbc9 [FIX] apps: hide breadcrum of the remote action
bzr revid: chs@openerp.com-20130314145017-k2502iwwovj379m0
2013-03-14 15:50:17 +01:00
Chris Biersbach 6b80f5bdff [FIX] orm: moves the access_rule check to the end of the create method to avoid getting errors when trying to create and m2m values are passed, which can cause the rules to fail
bzr revid: cbi@openerp.com-20130314092017-agwzvwwbxev531kk
2013-03-14 10:20:17 +01:00
Cedric Snauwaert b5129816dc [FIX]res_currency: change value from 0 to 1 when no rate is associated to a given period of time
in order to prevent division by zero error

bzr revid: csn@openerp.com-20130313154342-g1d1jj3g061evf56
2013-03-13 16:43:42 +01:00
Olivier Dony ab76b7a67f [FIX] web_services: fix db dump/restore when authentication requires a password on non-win32 systems
The various pg_* utilities require the password
via a special environment variable or a special
`pgpass` file in the user home, even on Unix,
namely when the PostgreSQL connection is done
via TCP and not via a unix socket.

Setting the environment variable is relatively
safe if it is removed from the environment
immediately after the operation, and saves user
the trouble of managing the pgpass file themselves.

This had been fixed at revision 3992 but was
incorrectly removed for non win32 platforms
at revision 4424 (rev-id stw@openerp.com-20120912114651-8hcliparft1ep9tc)

lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed

bzr revid: odo@openerp.com-20130313152020-suo2pyrabae0ecg4
2013-03-13 16:20:20 +01:00
Thibault Delavallée 910f7097ba [IMP] res_partner: use tools.email_split instead of custom regex when parsing partner_name to find an email.
bzr revid: tde@openerp.com-20130313105640-r53xueaz36zw3fjd
2013-03-13 11:56:40 +01:00
Launchpad Translations on behalf of openerp 6972079a10 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130312051826-beyul5zabtyks7sn
2013-03-12 05:18:26 +00:00
Vo Minh Thu bfc911e737 [FIX] report: fallback on default font when a specified font does not exist.
bzr revid: vmt@openerp.com-20130311155147-pl3pi072wr819z0z
2013-03-11 16:51:47 +01:00
Launchpad Translations on behalf of openerp c5319f47f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053740-hrhdafa05mp0s6cd
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051349-azaf8kb3hdi6ux85
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054204-8yc0hga0v6pkk36x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053843-8x3181swnc2x0rim
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051523-z6034cfpv1qbztzx
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054303-38ti3nq1h5jfbasa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053849-8eqsc9sjxknzfha8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051527-tajzx0x6p7mzpg43
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054307-qgl6ao1a06b9an3a
2013-03-11 05:43:07 +00:00
Cedric Snauwaert f05aff8ac9 [FIX]tools/mail: fix regex when sanitizing html containing mail address
bzr revid: csn@openerp.com-20130308104850-02nfuaxdr91bo0nx
2013-03-08 11:48:50 +01:00
Olivier Dony 87a26bde3b [FIX] base: invalid address in demo data causes failure in Google Maps lookup
Apprently on 2013-03-08 Google Maps stopped
returning a location in Belgium for this invalid
street name.

We consider Google Maps as a commodity so it
is ok to have the crm_partner_assign tests
fail in case our lookup mechanism does
not work anymore.

bzr revid: odo@openerp.com-20130308094115-frjp99xi296oosxl
2013-03-08 10:41:15 +01:00
Launchpad Translations on behalf of openerp cc87ba5db7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308052354-6aerviht20qnfh26
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060553-lujyj3qxhqljssu0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060749-69tgopwkctb0v5ei
2013-03-08 06:07:49 +00:00
Olivier Dony 527ef066dd [REVERT] tools.translate: undo rev 4874 refactoring and renaming `trans_parse_view`, was meant for trunk
rev 4874 = rev-id xmo@openerp.com-20130306095720-3277aw0rq9pzpsw4

bzr revid: odo@openerp.com-20130307164558-alvl7hcov2uhqxbw
2013-03-07 17:45:58 +01:00
Christophe Simonis ab2dd715de [FIX] module loading: allow addons path entries to have substring of others.
i.e. having ./addons/ and ./addons2/ is now possible

bzr revid: chm@openerp.com-20130307131104-ju2n7zm7yvced68h
2013-03-07 14:11:04 +01:00
Vo Minh Thu 4a77c6a0c5 [FIX] timezone: under windows os.environ["TZ"] was not affecting the server,
now it does (probably because we make sure to first set the environment
*then* import the time module. Works fine under Windows XP.

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

bzr revid: vmt@openerp.com-20130307121637-47fac72clykizlnj
2013-03-07 13:16:37 +01:00
Olivier Dony 9bb7ff3413 [I18N] base: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307120259-oiywqqlxwfpn2uc6
2013-03-07 13:02:59 +01:00
Launchpad Translations on behalf of openerp c65d36bb65 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054408-wu5arb2r3o3o5gmz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054431-sed0lo6klnisoyo7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054434-qdlzkcum9yy9mkaw
2013-03-07 05:44:34 +00:00
Quentin (OpenERP) d97916a063 [IMP] expression.py: added a clue to debug fuzzy tracebacks related to domain badly written
bzr revid: qdp-launchpad@openerp.com-20130306152328-qdlil19diks4mvkt
2013-03-06 16:23:28 +01:00
Vo Minh Thu cdfdaa455d [FIX] babel: the babel localedata was put back to its right place in the previous commit, so the zip-related hack can disappear.
bzr revid: vmt@openerp.com-20130306143317-oo4n6x78v68rqn9i
2013-03-06 15:33:17 +01:00
Xavier Morel 7e7a8b44a9 [IMP] deduplicate trans_parse_view code, rename for clarity
also correctly handle all translatable attributes in a <attribute name=...> extension tag

bzr revid: xmo@openerp.com-20130306095720-3277aw0rq9pzpsw4
2013-03-06 10:57:20 +01:00
Launchpad Translations on behalf of openerp 9623afd500 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062137-pxtoftblp1hmspp5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062207-lac3gq4ck6k3mexw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062221-a6s313kt0qg6rnkj
2013-03-06 06:22:21 +00:00
Chris Biersbach 61eb94fb58 [MERGE] OPW 585261: translations: corrects extraction of translation for placeholders
bzr revid: cbi@openerp.com-20130305091225-kkpeb6i8yohce5if
2013-03-05 10:12:25 +01:00
Launchpad Translations on behalf of openerp 420f82ec0e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130305053802-13krr4lhrwrebwak
bzr revid: launchpad_translations_on_behalf_of_openerp-20130305053905-y30zk4dbbcc3qj4b
2013-03-05 05:39:05 +00:00
Quentin (OpenERP) 8d47ec5256 [MERGE] base, res.users: added onchange_state() on res.users. Was crashing because the _inherits is not a real python inheritance
bzr revid: qdp-launchpad@openerp.com-20130304184144-iae1pdrrcfy6pveo
2013-03-04 19:41:44 +01:00
Xavier Morel 018416630d [FIX] strip server action code before passing it to eval
Python 2.7's compile handles trailing whitespaces correctly, Python
2.6 does not and blows up.

bzr revid: xmo@openerp.com-20130304164423-83vm9teu7b3c52y3
2013-03-04 17:44:23 +01:00
Cedric Snauwaert 009ea40995 [FIX]res_users : add missing on_change function for res_user simplified view
bzr revid: csn@openerp.com-20130304105817-v3y9d9vupzhuiu2u
2013-03-04 11:58:17 +01:00
Launchpad Translations on behalf of openerp 55e79b4d36 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052300-qobkezoqvnyoi1fl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055909-ixg5id5sibsci8s9
2013-03-04 05:59:09 +00:00
Olivier Dony e373ac5aeb [MERGE] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling as possible:
- in web, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301182510-1fqo9o8di0jw95b5
2013-03-01 19:25:10 +01:00
Olivier Dony 9770caedf3 [FIX] registry: another pass of cleanup for registry signaling
Some important points to consider:
 - signaling should be done after any schema alteration (including module [un]installation),
   service registration (e.g. reports)
 - the changes need to be committed to the database *before* signaling, otherwise an
   obvious race condition occurs during reload by other workers
 - any call to restart_pool() must be considered a possible candidate for
   signaling, and the 2 above conditions must be checked

The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.

Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.

bzr revid: odo@openerp.com-20130301143203-e2csf5pkllwhmwqs
2013-03-01 15:32:03 +01:00
Olivier Dony db81edc287 [FIX] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling where we can:
- in web client, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301120744-jfitcmze2jldecod
2013-03-01 13:07:44 +01:00
Christophe Simonis d48f07fef1 [FIX] base: allow admin to freeze the value of "web.base.url" config parameter.
This config parameter is automatically updated when the admin log-in.
As this value is mean to be used in emails and links given to users, we sometime don't want
it to be updated inconditionnaly. In some cases, the admin may use alternative, private or
even local uri to connect to the server, which may not be suitable for users

bzr revid: chs@openerp.com-20130301095551-fzrlwblnawxqj9di
2013-03-01 10:55:51 +01:00
Launchpad Translations on behalf of openerp ece4451176 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301053921-r8m4764fosovd9h6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301054021-crdgcw5mb7m77u0t
2013-03-01 05:40:21 +00:00
Olivier Dony b762551211 [FIX] ir.model: properly signal registry change for multi-process mode after altering model/db schema
bzr revid: odo@openerp.com-20130228113736-8novcpf3ibw7386s
2013-02-28 12:37:36 +01:00
Launchpad Translations on behalf of openerp 42702e15f9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130228053030-bwaxkazmgqlucg5f
2013-02-28 05:30:30 +00:00
Antony Lesuisse c353392294 [FIX] ir_attachment filestore read on windows
lp bug: https://launchpad.net/bugs/1131272 fixed

bzr revid: al@openerp.com-20130227221943-izxnxulg0picimez
2013-02-27 23:19:43 +01:00
Launchpad Translations on behalf of openerp 4a34c70ca8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053405-w5a9rp5orqi89z9h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053445-52kd76xxoxx5x7tt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053448-joq378fpfc2p1rwv
2013-02-26 05:34:48 +00:00
Xavier ALT 3328f42df1 [MERGE] BUG 1094212: base: correct search on res.partner in multicompany (courtesy of Niels Huylebroeck)
bzr revid: xal@openerp.com-20130225142828-d5akvwsa738dxyj9
2013-02-25 15:28:28 +01:00
Niels Huylebroeck bc4e3d00ed [FIX] base: allow searching in multicompany environment on res_partner.
bzr revid: nh@agaplan.eu-20130225135753-ryf6y5e0nhxt8zux
2013-02-25 14:57:53 +01:00
Launchpad Translations on behalf of openerp 35bc384f50 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130223060740-3n0izgt30e6k6j3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130223060813-35hs9o06qkcrlqme
bzr revid: launchpad_translations_on_behalf_of_openerp-20130224051257-hb610rps76ncuh5l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130224051302-eltcq481gxdfn2gm
2013-02-24 05:13:02 +00:00
Antony Lesuisse 237d3d8500 [FIX] res.partner search, customer or supplier, related companies only for companies
bzr revid: al@openerp.com-20130223003935-eoinzil3ag3wmffq
2013-02-23 01:39:35 +01:00
Ravi Gohil (OpenERP) e0284cfe90 [FIX] Passed context in write(...)(Courtesy: Humberto Arocha(hbto)). (Maintenance Case: 586824)
lp bug: https://launchpad.net/bugs/1088086 fixed

bzr revid: rgo@tinyerp.com-20130222062754-nbsp6a491xzm63kw
2013-02-22 11:57:54 +05:30
Launchpad Translations on behalf of openerp 860e69a225 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130221054413-yc3vd5sn513hp7ax
bzr revid: launchpad_translations_on_behalf_of_openerp-20130222054355-yvcy04xtawb8l2rq
2013-02-22 05:43:55 +00:00
Antony Lesuisse d19777aa1d [FIX] tools image thumbnailing jpg into png
bzr revid: al@openerp.com-20130220222612-g0j6d2a7az0u53hi
2013-02-20 23:26:12 +01:00
Quentin (OpenERP) f69ede5bfc [IMP] ir_filers: added an order in the construction of the list of available models
bzr revid: qdp-launchpad@openerp.com-20130220103459-1wnu06p3fbaaoz83
2013-02-20 11:34:59 +01:00
Launchpad Translations on behalf of openerp def78f7006 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130220052837-nxddsbcb302p48ly
2013-02-20 05:28:37 +00:00
Olivier Dony bd02d21f2d [MERGE] osv: automatically retry transactions that failed due to a transient concurrent transaction conflict
lp bug: https://launchpad.net/bugs/992525 fixed

bzr revid: odo@openerp.com-20130219173813-ldrx8l1hlegi2e3y
2013-02-19 18:38:13 +01:00
Olivier Dony 0240416a13 [REVERT] sql_db: undo eager removal of connections from pool; could skip half the connections and is not strictly required
Credit to Florent Xicluna for spotting it!

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

bzr revid: odo@openerp.com-20130219102610-ll69qaf3zxem1pxf
2013-02-19 11:26:10 +01:00
Dhruti Shastri c0e0110f42 [translation] : placeholders are missed out for Translation (Case:585261)
bzr revid: dhs@tinyerp.com-20130219095601-ncsy6tnfns1xz4ls
2013-02-19 15:26:01 +05:30
Dhruti Shastri 01eb26c35a [translation] : placeholders are missed out for Translation (Case:585261)
bzr revid: dhs@tinyerp.com-20130219084856-ab44isuegq7w31wo
2013-02-19 14:18:56 +05:30
Launchpad Translations on behalf of openerp 90cf45533b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130219053232-wk89wnuigphewpcw
2013-02-19 05:32:32 +00:00
Antony Lesuisse 1a5b4160ef [FIX] logging level of pooler loading, number of modules is info, the actual list of modules is debug
bzr revid: al@openerp.com-20130218121441-i8tidklmhafudp4k
2013-02-18 13:14:41 +01:00
Launchpad Translations on behalf of openerp 5dbc1b787e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130215052434-vl34xg5zfo9c7wny
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216054019-5mij5aoepxhf3zoy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216053913-zj2b2x6ll2ok19in
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217052310-9912kfq4cxc7k7fv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130218052538-tly4emi0bggrlp8h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216054015-2uthx4z6mfqwrbrt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217052400-07m6wixrfaq58l2k
bzr revid: launchpad_translations_on_behalf_of_openerp-20130218052624-0mh8rmv7upyxmpg9
2013-02-18 05:26:24 +00:00
Olivier Dony dd8ccbd8d6 [MERGE] sql_db: improve performance of previous patch for auto-detecting dead connections
Avoid calling reset() on connections that are used +
only do it on the connection that is being returned,
which is much more efficient.

bzr revid: odo@openerp.com-20130216020218-cuk9n86mr6rvz9h0
2013-02-16 03:02:18 +01:00
Olivier Dony bbb4f105dc [FIX] sql_db: immediately remove the connections from the pool when detected to be dead
lp bug: https://launchpad.net/bugs/905257 fixed

bzr revid: odo@openerp.com-20130216011831-5ehi02j5nj6shh8n
2013-02-16 02:18:31 +01:00
Quentin (OpenERP) a502af78b0 [MERGE] lp:1098542. Reports starting too high
bzr revid: qdp-launchpad@openerp.com-20130215164822-19g22w3koiniwffv
2013-02-15 17:48:22 +01:00
Josse Colpaert 4b019a31bc [FIX] Lowering the start of the contents of the reports under the company header by default in order to avoid overlap
lp bug: https://launchpad.net/bugs/1098542 fixed

bzr revid: jco@openerp.com-20130215163214-np7bttkwa50zkqw3
2013-02-15 17:32:14 +01:00
Olivier Dony 547372ef94 [FIX] sql_db: only perform the connection reset when actually planning to borrow that connection, not before, for obvious performance reasons
bzr revid: odo@openerp.com-20130215161025-mjgmlju3zgs50zk7
2013-02-15 17:10:25 +01:00
Olivier Dony 979c28d0c9 [FIX] sql_db: typo in previous patch for autodetection of closed connections
My bad, I did and undid this patch several times
in different manners and ended up commiting the
wrong one.

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

bzr revid: odo@openerp.com-20130215151237-3ks21kfhjb2fvl2z
2013-02-15 16:12:37 +01:00
Olivier Dony b005d052d0 [MERGE] sql_db: autodetect dead connections and discard them
lp bug: https://launchpad.net/bugs/905257 fixed

bzr revid: odo@openerp.com-20130215125313-448n5b0dluei8qm3
2013-02-15 13:53:13 +01:00
Olivier Dony e464e1231d [FIX] sql_db: closing a closed connection is not allowed in psycopg2 2.4.4 and earlier
Having the connections automatically reaped by
psycopg2 is not guaranteed to happen all the
time, so we still need to take extra steps
to forece-close them

bzr revid: odo@openerp.com-20130215113751-12kwmfynyt43qs57
2013-02-15 12:37:51 +01:00
Launchpad Translations on behalf of openerp f9659eb884 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130215052329-m0wj2gx9s832tmul
2013-02-15 05:23:29 +00:00
Christophe Simonis 94715ccbec [FIX] sql_db: free dead database connections
lp bug: https://launchpad.net/bugs/905257 fixed

bzr revid: chs@openerp.com-20130214135227-x6lzy3gj0s75ssmw
2013-02-14 14:52:27 +01:00
Launchpad Translations on behalf of openerp 522bf1508a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130213052103-dyim9whx08wn9mg4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130214053603-ct5y2ol2671v2jiy
2013-02-14 05:36:03 +00:00
Cecile Tonglet 2346b0d88c [FIX] osv: Bad error message
bzr revid: cto@openerp.com-20130213133345-ovhlrfd2g5sb2tts
2013-02-13 14:33:45 +01:00
Cecile Tonglet 8d491afca5 [FIX] osv: Automatically retry the typical transaction serialization errors
lp bug: https://launchpad.net/bugs/992525 fixed

bzr revid: cto@openerp.com-20130213125255-ct0bf90pky2n6w3c
2013-02-13 13:52:55 +01:00
Vo Minh Thu e746cb1654 [FIX] registry: fix a bug where RegistryManager.new() could return an out-of-date registry.
bzr revid: vmt@openerp.com-20130212085311-o53wv7yful39kktd
2013-02-12 09:53:11 +01:00
Launchpad Translations on behalf of openerp 2d6180c35c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130212052908-dwsboz0vkkuywax3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130212053011-zbbx3343j90b0m18
2013-02-12 05:30:11 +00:00
Xavier Morel 4a9d82621e [IMP] don't log from import when converting psycopg exceptions to output messages
add conversion for unique constraints, test behavior on unique constraint failure

bzr revid: xmo@openerp.com-20130211143647-l16ssw9z73stbgyc
2013-02-11 15:36:47 +01:00
Xavier ALT 4db48cc102 [MERGE] BUG 1082003: orm: _rec_name should be checked on _all_columns not _columns
bzr revid: xal@openerp.com-20130211092411-3eeo2ann5jnttliq
2013-02-11 10:24:11 +01:00
Launchpad Translations on behalf of openerp b8b09df454 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130210052327-7e1n1tzylg1288th
bzr revid: launchpad_translations_on_behalf_of_openerp-20130211053447-ptlkuaf14fy7vmdq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130209052939-jxwnthiw4qgjic5w
bzr revid: launchpad_translations_on_behalf_of_openerp-20130210052433-emt7s1kxk78bpbe3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130211053534-5pgh95oxsd26bdqv
2013-02-11 05:35:34 +00:00
Antony Lesuisse d0392a2db0 [FIX] workers no suicide on broken pipe
bzr revid: al@openerp.com-20130209172932-5w8zt239tw0sirne
2013-02-09 18:29:32 +01:00
csn-openerp 34a41139f0 [FIX]report_sxw : fix strip_name function that cut a name to a given length in a report. It no longer crash when no name is given to the function.
bzr revid: csn@openerp.com-20130208135704-4jvc9odchlulefx6
2013-02-08 14:57:04 +01:00
Launchpad Translations on behalf of openerp 669316dd1a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130207054042-qpy3b4buygxepdf8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052255-nqv9i1j5bc2ql84i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052430-ohwjhy6y3lnxqayt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052435-47h7svyqwx223e5k
2013-02-08 05:24:35 +00:00
Vo Minh Thu 941f6ebc10 [FIX] logging: sys.stdout has not a fileno() method when running behind mod_wsgi.
bzr revid: vmt@openerp.com-20130206103459-2mmgagrh59c23804
2013-02-06 11:34:59 +01:00
Launchpad Translations on behalf of openerp d5fb59d7a8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130202055918-qfhslsxk64bdrtqi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130203052852-hl2gj3x9nt5uu8dk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130204054219-liregnd1owzht4aw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130205052251-ms7bd04q13mc9dje
bzr revid: launchpad_translations_on_behalf_of_openerp-20130206054540-le2elaop0806z7jz
2013-02-06 05:45:40 +00:00
Antony Lesuisse e197b56778 [FIX] ir_filter fix views
bzr revid: al@openerp.com-20130201164400-4esm2ayd3tlm0fv5
2013-02-01 17:44:00 +01:00
Launchpad Translations on behalf of openerp 45077e64db Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130201054853-1vii2se3uthiyvlt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130201054957-7dma2q0grk2328gf
2013-02-01 05:49:57 +00:00
Olivier Dony 3cb01bd596 [FIX] ir.attachment: fix drunken commit 4814
bzr revid: odo@openerp.com-20130131145348-00yngxmjfy2eforj
2013-01-31 15:53:48 +01:00
Olivier Dony e3862b17ef [MERGE] res.partner.bank: the state field must be present in all form/tree views
res.partner.bank overrides fields_get() and sometimes adds
extra `states` attributes on the fields. This requires the
presence of the special `state` field in all views.

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

bzr revid: odo@openerp.com-20130131144800-4a4jsktg7omxbrmh
2013-01-31 15:48:00 +01:00
Antony Lesuisse 8ef1f06c0f [FIX] ir_attachment missing logger
bzr revid: al@openerp.com-20130131144525-msftyc0hn257g9t8
2013-01-31 15:45:25 +01:00
Olivier Dony 0578f0269d [FIX] res.partner.bank: the state field must be present in all form/tree views
res.partner.bank overrides fields_get() and sometimes adds
extra `states` attributes on the fields. This requires the
presence of the special `state` field in all views.

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

bzr revid: odo@openerp.com-20130131135609-igsw8ne154av9vso
2013-01-31 14:56:09 +01:00
csn-openerp 51eec43574 [FIX]res_country : fix traceback when no value is written in 'code' field when creating a new country
bzr revid: csn@openerp.com-20130131121052-5nbctbtwozamf0zw
2013-01-31 13:10:52 +01:00
Launchpad Translations on behalf of openerp 770e4f0806 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130131051702-5l53tyq3birwgzj2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130131051755-brr5aux8pkj0uehb
2013-01-31 05:17:55 +00:00
Vo Minh Thu 7674db0ed5 [FIX] The import test in openerp/run_tests is wrong, the import of run_tests in openerp/__init__ was wrong too.
lp bug: https://launchpad.net/bugs/1108929 fixed

bzr revid: vmt@openerp.com-20130130103458-t4stvpibhb1353nw
2013-01-30 11:34:58 +01:00
Launchpad Translations on behalf of openerp 5d3812badd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126053711-ja93llrv8p3pu6ok
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127050921-4ee0qhynow5m95wf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130129061801-bf4xt34ikig91lwr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130130051939-dhup79bt2uw7v3cz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130130052010-s7ntowxt1wk06nes
2013-01-30 05:20:10 +00:00
Antony Lesuisse 4e6607c75c [IMP] res.partner missing group by country
bzr revid: al@openerp.com-20130125214027-usu1y7eho9gm9uld
2013-01-25 22:40:27 +01:00
Christophe Simonis 16289266c9 [FIX] res.config.installer: correct module installing
bzr revid: chs@openerp.com-20130125133453-aqu5eotetdyb2zpj
2013-01-25 14:34:53 +01:00
Launchpad Translations on behalf of openerp 06c7519a62 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053457-8qf8k6eb4ukdig0k
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060437-nlhqe2dilssuf70x
2013-01-25 06:04:37 +00:00
Christophe Simonis c9c5f4b785 [FIX] res.config.installer: correct module installing
bzr revid: chs@openerp.com-20130124182808-5xvdc0mqst0h2970
2013-01-24 19:28:08 +01:00
Christophe Simonis b3b800bd17 [FIX] signal registry change when install modules from config wizards
bzr revid: chs@openerp.com-20130123174724-bqonj3d4dufof2vw
2013-01-23 18:47:24 +01:00
Christophe Simonis b3300f6074 [FIX] signal registry change when uninstall modules
bzr revid: chs@openerp.com-20130123153345-x7jm13eieqgeg5i7
2013-01-23 16:33:45 +01:00
Quentin (OpenERP) deea17ff25 [FIX] base, res.company: fixed overlapping in company header when display_address() returns a 5 lines text (UK for example)
bzr revid: qdp-launchpad@openerp.com-20130123143802-n9nbwm18xn6xh7z3
2013-01-23 15:38:02 +01:00
Launchpad Translations on behalf of openerp 3499c33270 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060246-kt475gbzoz4f1703
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060324-z9zt3oif6p20i6mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060328-e0rnct2yu9lh23vp
2013-01-23 06:03:28 +00:00
dle@openerp.com 152aadcc9e [FIX]Autovacuum force true
bzr revid: dle@openerp.com-20130121150318-o12a9o1y8olulz04
2013-01-21 16:03:18 +01:00
dle@openerp.com dd91a1c94a [FIX]Uninstall : Savepoint before unlink
bzr revid: dle@openerp.com-20130121102245-dkha32uistm3hgca
2013-01-21 11:22:45 +01:00
Launchpad Translations on behalf of openerp cd1e346e01 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130119063657-x4n6e50dn5dapwl3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130120051711-l7ov76fat5jy5zzi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130121052717-y8me1m61e5jawj09
bzr revid: launchpad_translations_on_behalf_of_openerp-20130119063730-1qb2f0t3ja3lfcp9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130120051738-sa4uc0kj70qwxxw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130121052754-7hplv5713jf1mzh1
2013-01-21 05:27:54 +00:00
Launchpad Translations on behalf of openerp de4ba1084a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121230055035-68ul1nfj2blt5tpt
bzr revid: launchpad_translations_on_behalf_of_openerp-20121231051559-aw01koucw31ou6ev
bzr revid: launchpad_translations_on_behalf_of_openerp-20130101051904-0ghaklrif6nu8v13
bzr revid: launchpad_translations_on_behalf_of_openerp-20130102052515-osk45kf8joxus1le
2013-01-02 05:25:15 +00:00
Antony Lesuisse 6c6fa1b7ee [FIX] memory logging for cron workers
bzr revid: al@openerp.com-20121229133616-mbx0732l1uvyb1eo
2012-12-29 14:36:16 +01:00
Antony Lesuisse 2e01a395db [FIX] workers memory limits better help
bzr revid: al@openerp.com-20121229132216-zfk4ipw4p6mbgxnj
2012-12-29 14:22:16 +01:00
Antony Lesuisse 551e6bc78d [IMP] memory usage logging
bzr revid: al@openerp.com-20121229125912-rlt4g0b6xhajqxwm
2012-12-29 13:59:12 +01:00
Launchpad Translations on behalf of openerp 667d98cab0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121228053555-9fpc1mj7ur0a5tbd
bzr revid: launchpad_translations_on_behalf_of_openerp-20121229053621-25bpaf17lvsnyr4e
bzr revid: launchpad_translations_on_behalf_of_openerp-20121229053655-b3agh60e70at492g
2012-12-29 05:36:55 +00:00
Christophe Simonis 4857a8a020 [FIX] module loading: call adapt_version() instead of computing it ourself
bzr revid: chs@openerp.com-20130117135108-a4wt4wtbtfdwiui3
2013-01-17 14:51:08 +01:00
Christophe Simonis 3574038ffd [FIX] apps: install_from_url: fix install condition + better logging
bzr revid: chs@openerp.com-20130117132924-ejzbkh5przqi6hwf
2013-01-17 14:29:24 +01:00
Olivier Dony 7a78800d5c [MERGE] Update setup.py to properly package docutils data for Windows + reorder Settings top menus for Apps integration
bzr revid: odo@openerp.com-20130117102102-9arm888hx5vaiunn
2013-01-17 11:21:02 +01:00
Olivier Dony df69f4b08a [FIX] ir.module: installation from urls: better logging + fix mixing local and remote modules in one call
(empty module URL means local module is available and should be installed)

bzr revid: odo@openerp.com-20130117012312-kwr1iaf590ll4wm1
2013-01-17 02:23:12 +01:00
Christophe Simonis c10d28e4e6 [FIX] orm: SUPERUSER is not restricted by groups on fields
bzr revid: chs@openerp.com-20130116164025-qns65cb78p8p57m1
2013-01-16 17:40:25 +01:00
Launchpad Translations on behalf of openerp 5880f9aa75 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116055224-nyvhjk7xo4etfazv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116055259-2hpcs7r52n0z59cy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116055303-l47hpzm5yz18i8q7
2013-01-16 05:53:03 +00:00
Olivier Dony 4eac510461 [FIX] ir.mail_server: properly handle the --smtp-ssl command-line option + map it to STARTTLS as a safer default
bzr revid: odo@openerp.com-20130115124058-81kgv0cy9jp96ln4
2013-01-15 13:40:58 +01:00
Christophe Simonis fec027e832 [IMP] reorder modules menus
bzr revid: chs@openerp.com-20130115104015-5ytx00t0b5230aaf
2013-01-15 11:40:15 +01:00
Fabien Pinckaers c095e2d340 [FIX] document management, file do not exists
bzr revid: fp@tinyerp.com-20130114174355-ygieirm80j9ftixx
2013-01-14 18:43:55 +01:00
Olivier Dony 3ad16170f3 [MERGE] tools.translate: fix extraction of translation terms from mako source files, courtesy of Niels Huylebroeck (Agaplan)
bzr revid: odo@openerp.com-20130114112831-87gmdtqzaa55zssf
2013-01-14 12:28:31 +01:00
Olivier Dony ef4fb0f6ba [FIX] apps: make warning messages translatable
bzr revid: odo@openerp.com-20130111175905-a50b1adne55dekrt
2013-01-12 06:59:05 +13:00
Olivier Dony 8e5f0e2ce2 [FIX] fields.date[time]: context_today()/context_timestamp() should fallback to user TZ if context TZ is missing
This takes care of cases where the context is missing,
e.g. for workflow-based operations, and is similar
to the way tools.translate._() falls back to the user
language.

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

bzr revid: odo@openerp.com-20130111175717-u8r1t7s8872bz2rx
2013-01-12 06:57:17 +13:00
Olivier Dony ecc56794cd [FIX] ir.mail_server: correct fallback to smtp parameters provided in server config/command-line
bzr revid: odo@openerp.com-20130111161201-3w8o2voiauxyvxzz
2013-01-12 05:12:01 +13:00
Launchpad Translations on behalf of openerp 4345556628 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130112054022-r3v2m3r8ftr373kl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130113052739-ol5rj9c4s6r9u6gh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130114051737-tqxmwkgixvl7dxd8
2013-01-14 05:17:37 +00:00
Christophe Matthieu 0c59cb52c9 [FIX] res_partner: kanban view : update contact avatar on edit mode (for company partner)
bzr revid: chm@openerp.com-20130111145459-e2rp9o3bmh2p679i
2013-01-11 15:54:59 +01:00
Quentin (OpenERP) 39bfcd23ea [FIX] base: GBP currency symbol should be before the amount
bzr revid: qdp-launchpad@openerp.com-20130111114012-xm19xp9glbn3qnn2
2013-01-11 12:40:12 +01:00
Launchpad Translations on behalf of openerp 6da448e0ad Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130108060408-8nb3941v15q9ybdf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130109055200-8b1ngo68e9purey3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130110053544-j7oyp5nohajb0nj8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130111052135-l323k3ttzdy0o9km
bzr revid: launchpad_translations_on_behalf_of_openerp-20130111052208-h19znnqin0y82wvx
2013-01-11 05:22:08 +00:00
Xavier ALT 475d2ec5b4 [MERGE] win32: use 'net' command for service start/stop operation
* We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107174846-745eqpvp2lhskspi
2013-01-07 18:48:46 +01:00
Olivier Dony 83171d551a [FIX] ir.cron: cron list makes inactive cron jobs hard to spot
bzr revid: odo@openerp.com-20130107171720-foxippaaib6jb0zm
2013-01-07 18:17:20 +01:00
Xavier ALT 44d536d40d [FIX] win32: use 'net' command for service start/stop operation
* We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107162302-xtf44nm10859203w
2013-01-07 17:23:02 +01:00
Launchpad Translations on behalf of openerp d0153b4df6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130105053946-cw09iqtcvoz967j1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130106053016-99l6yng147p1onxu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130107054358-g0wq2uyjuvglud9y
2013-01-07 05:43:58 +00:00
Niels Huylebroeck 9db9138056 [FIX] When extracting strings from mako reports we specify a correcter method for string extraction.
lp bug: https://launchpad.net/bugs/1096138 fixed

bzr revid: nh@agaplan.eu-20130104171631-p72mjfkfsvm2tdr8
2013-01-04 18:16:31 +01:00
Christophe Simonis f221449d51 [FIX] we are not in alpha anymore
bzr revid: chs@openerp.com-20130103170809-337pt3cjzvi82y17
2013-01-03 18:08:09 +01:00
Thibault Delavallée 0f4cd7b133 [IMP] html_sanitize: keep email adresses formatted like '\<raoul@grosbedon.fr\>' in the html to sanitize; before this revision they were simply removed as incorrect html code.
bzr revid: tde@openerp.com-20130103135649-ngbhs3n7pa86qnl5
2013-01-03 14:56:49 +01:00
Niels Huylebroeck 18841cf6eb [FIX] base: allow searching in multicompany environment on res_partner.
lp bug: https://launchpad.net/bugs/1094212 fixed

bzr revid: nh@agaplan.eu-20130103130448-zzh00ari2ijra28z
2013-01-03 14:04:48 +01:00
Launchpad Translations on behalf of openerp f659d305f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053838-8dc22w7xc4pekn1v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053926-saljmu2wubie130o
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053929-zhnxa8yb58llx12y
2013-01-03 05:39:29 +00:00
Xavier ALT 2dfc3cbc6a [MERGE] OPW 572488: report sxw/odt: fix inconsistent duplicate content/meta/style files within generated sxw/odt
forward-port of v6.0 server revid: xal@openerp.com-20130102152925-h81qv2fx300oakzv

bzr revid: xal@openerp.com-20130102164057-lkr39vbtnk0zndgs
2013-01-02 17:40:57 +01:00
Christophe Matthieu 21c5425d89 [IMP] mail_sanitize: simplification of the regular expression
bzr revid: chm@openerp.com-20130102162544-jfwdfqx2ruf0x1q2
2013-01-02 17:25:44 +01:00
Christophe Matthieu 6a07b69889 [IMP] html_sanitize: test with assertIn
bzr revid: chm@openerp.com-20130102161458-4pvpvfb1shmt0sjy
2013-01-02 17:14:58 +01:00
Christophe Matthieu a4e7fa97f4 [IMP] mail sanitize: add special email address for escape in the sanitizer
bzr revid: chm@openerp.com-20130102090040-yh0vdv8b3mtwoebh
2013-01-02 10:00:40 +01:00
Christophe Matthieu 71a92f46e4 [FIX] tools: html_sanitize
bzr revid: chm@openerp.com-20121231154451-0guqjid92rfndghp
2012-12-31 16:44:51 +01:00
Fabien Pinckaers aa86fb2bc1 [IMP] custom model allowed
bzr revid: fp@tinyerp.com-20121227172825-lny2fobb5g89edca
2012-12-27 18:28:25 +01:00
Fabien Pinckaers a74d50d220 [IMP] support for lxml <2.3.1
bzr revid: fp@tinyerp.com-20121227163324-uloesoeixirmdtka
2012-12-27 17:33:24 +01:00
Quentin (OpenERP) eec2a5c96c [FIX] base, res.partner.form view: removed group no one on title field as this field is sometimes filled (migration, contact creation from lead...) and sometimes used as well (in reports). Besides there is no good reason to hide it
bzr revid: qdp-launchpad@openerp.com-20121227142116-zl8n0v550pbf12ju
2012-12-27 15:21:16 +01:00