Commit Graph

68883 Commits

Author SHA1 Message Date
Ravish (Open ERP) b16ef2e1f8 [IMP]put arrow for all forms
bzr revid: rmu@tinyerp.com-20130322091625-mnk0437uegjddnws
2013-03-22 14:46:25 +05:30
Olivier Dony 65897d9e0f [FIX] resource: fix test: use fixed start/end hours for work periods, otherwise the test breaks randomly depending on the hour of the day
bzr revid: odo@openerp.com-20130321190348-3hxugi055qa2az0c
2013-03-21 20:03:48 +01:00
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
Xavier Morel 839ceca3e4 [FIX] visible text in Chrome on Linux after applying text-to-icon
@include text-to-icon makes the text invisible (and adds an icon), but
some platform apparently don't apply the text's transparency (or
visibility) to its shadow, leading to the invisible text's shadow
still being noticeably visible (an interesting literary idea, an
"invisible" man who still casts a shadow?) as if the text had not been
erased. Furthermore, combined with the 1px font size it made the text
look like some sort of screen smudge or glitch.

Fix by erasing the text-shadow as well as the text.

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

bzr revid: xmo@openerp.com-20130321164741-iakau7g1kfq2mqu4
2013-03-21 17:47:41 +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
Xavier Morel 3c5d38918b [FIX] filter preceded by an invisible filter in the same group
On click on a filter in the drawer, FilterGroup would just match the
offset of the filter in the group's DOM with an index in the internal
#filters array. 

This worked until invisible fields, and then again only for filters
*preceded* by an invisible sibling in the same group: invisible
filters are not rendered in the DOM, so the indexes would get out of
sync.

Fix by using explicit indexes stored in a filter's @data-index and
using that to get the filter object/node.

An alternative fix (but hackier I think): instead of not rendering
invisible filters, render them with display: none. Remains an option
in the future if needed...

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

bzr revid: xmo@openerp.com-20130321155123-211iht7c6zme712e
2013-03-21 16:51:23 +01:00
Xavier Morel 3b2e26af18 [FIX] incorrect array joins
Array#join() is equivalent to Array.join(', '), not Array.join('') as in Python.

For some reason the tests didn't break, but...

bzr revid: xmo@openerp.com-20130321155105-dwgprqldk39r3xk2
2013-03-21 16:51:05 +01:00
Fabien Meghazi 43cba221b2 [FIX] View editor does not handle inherited views
lp bug: https://launchpad.net/bugs/1157117 fixed

bzr revid: fme@openerp.com-20130321152831-n3bkdtoru72hbbub
2013-03-21 16:28:31 +01:00
Olivier Dony 4c75931f6c [FIX] board: hide the "Add To Dashboard" option in search views when current action is incompatible (e.g. client actions don't work in dashboards at the moment)
lp bug: https://launchpad.net/bugs/1157896 fixed

bzr revid: odo@openerp.com-20130321114605-2ddj46q2pkswm36b
2013-03-21 12:46:05 +01:00
Chris Biersbach 94814833d4 [MERGE] Forwardport of 6.1 changes to project_issue working hours to open/close computations and corrections to the issue analysis report
bzr revid: cbi@openerp.com-20130321150817-5dr6gyo6yv42fyoh
2013-03-21 16:08:17 +01:00
Quentin (OpenERP) 2e2f82ac5f [FIX] mrp: there is no reason why selling a 'make_to_stock' product with phantom BOM should not explode the BOM (a 'make_to_order' product was already doing it, there is no reason to treat them differently)
bzr revid: qdp-launchpad@openerp.com-20130321142947-3sj0icxyn3bbrc5n
2013-03-21 15:29:47 +01:00
Quentin (OpenERP) bfbdd94fa8 [MERGE] staging branch with fix in lunch (product preferences) and in sale (batch invoicing of sale orders)
bzr revid: qdp-launchpad@openerp.com-20130321120749-afjz9axh97ypmhje
2013-03-21 13:07:49 +01:00
Thibault Delavallée 88b39119b8 [MERGE] [FIX] mail_gateway: better algorithm to find the partner of an incoming email when having multiple matching partners for a given email address.
The mailgateway tries to find a partner that is also an user with the email_from.
If none is found, it takes the first partner with matching email.
In message_post, it tries to find the author based on the document's followers.
Indeed it is very likely that an answer comes from a follower of a document.

The whole process is not done inside the mailgateway because document
and followers related stuff belong to message_post, not to the mail gateway.

Tests have been added in mail.

bzr revid: tde@openerp.com-20130321120451-qk524qayq28sw3th
2013-03-21 13:04:51 +01:00
Fabien Meghazi f4a98e143b [MERGE] Date Picker is not translated into local language
lp bug: https://launchpad.net/bugs/1101072 fixed

bzr revid: fme@openerp.com-20130321115330-cz7gk7il6hkvntw9
2013-03-21 12:53:30 +01:00
dle@openerp.com 8239875fba [FIX]l10n_be_coda: add statement id in bank statement line view to allow group by statement
bzr revid: dle@openerp.com-20130321113911-ho4j30tyuqkn9hnn
2013-03-21 12:39:11 +01:00
Quentin (OpenERP) 1743dc6df7 [FIX] sale: fixed the batch invoicing of sales orders that was create invoice twice per order + some refactoring
bzr revid: qdp-launchpad@openerp.com-20130321113059-667qdj873r0h0t55
2013-03-21 12:30:59 +01:00
Thibault Delavallée f02e8bfd61 [FIX] Broltch
bzr revid: tde@openerp.com-20130321112823-nmqzcjzigiwt09q7
2013-03-21 12:28:23 +01:00
Quentin (OpenERP) 96d841704b [FIX] lunch: display the _last_ 5 products ordered in the preferences of user, instead of randomly chosen lines.
bzr revid: qdp-launchpad@openerp.com-20130321112212-52bho8cqqwx7w0br
2013-03-21 12:22:12 +01:00
Olivier Dony 57ca8fb11a [FIX] base.xml: improve backwards compatibility of SearchView.filters template to resolve JS errors on OpenERP Apps where 2 different versions of the web client frameworm can be mixed
The incompatible change was introduced at revision
 rev. 3803 revid:xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1.

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

bzr revid: odo@openerp.com-20130321112020-l9fwle08s37z4oqi
2013-03-21 12:20:20 +01:00
Thibault Delavallée 817727ce1c [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130321105157-xhj04tgt0in0x9o3
2013-03-21 11:51:57 +01:00
Thibault Delavallée b6013df881 [MERGE] [FIX] mail: reply_to of sent notification emails is sanitized.
bzr revid: tde@openerp.com-20130321105004-zcu1kagz06kxgimi
2013-03-21 11:50:04 +01:00
Fabien Meghazi c20977eed8 [FIX] Form binary fields 'Select' and 'Save as' buttons does not work under IE9
lp bug: https://launchpad.net/bugs/1092869 fixed

bzr revid: fme@openerp.com-20130321103407-nh0ncw0vrqba7zfm
2013-03-21 11:34:07 +01:00
Thibault Delavallée e5aeefadce [FIX] mail: rpely_to of sent emails is sanitized.
bzr revid: tde@openerp.com-20130321092332-8cp59mu3idrpbnke
2013-03-21 10:23:32 +01:00
Thibault Delavallée 96b7fc9561 [MERGE] [FIX] portal with project_long_term access right and rules
A new module is added that make a bridge between Portal and Project Long Term.
It adds access rights and security rules allowing use project long term
along with portal.

bzr revid: tde@openerp.com-20130321090626-zw4kpuszit4q5q9s
2013-03-21 10:06:26 +01:00
Cedric Snauwaert 4f94d8a820 [FIX]mrp/stock: when trying to sell a phantom bom, always sell components of bom and not final product
whatever the procurement method

bzr revid: csn@openerp.com-20130321090256-5no4nqis9zfxrsqb
2013-03-21 10:02:56 +01:00
Thibault Delavallée 31a6842d80 [MERGE] [FIX] Chatter: fixed multiple click on 'send' creating multiple messages; fixed 'show more message' listing all new messages in flat mode.
lp bug: https://launchpad.net/bugs/1155054 fixed

bzr revid: tde@openerp.com-20130321084928-wc4j4mwxqcqu21tb
2013-03-21 09:49:28 +01:00
Christophe Matthieu 6acf3838e6 [IMP] mail: remove reverse list inside on_expandable
bzr revid: chm@openerp.com-20130321084419-vx6owkvch4i8ekil
2013-03-21 09:44:19 +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
Antony Lesuisse 2a096910e8 [FIX] debian logfile rotation and init cleanup, courtesy of Hiren
bzr revid: al@openerp.com-20130320231828-hhw7o17ahvl0cv7b
2013-03-21 00:18:28 +01:00
Thibault Delavallée 62fc6f7cd7 [CLEAN] Cleaned code of fix.
bzr revid: tde@openerp.com-20130320164202-yy13qg8pdx09ie9z
2013-03-20 17:42:02 +01:00
Thibault Delavallée 0eac6bbad6 [FIX] Forgotten to uncomment commented tests.
bzr revid: tde@openerp.com-20130320161830-0nyfuzyq4s4xa8hk
2013-03-20 17:18:30 +01:00
Thibault Delavallée 30a1d99d07 [MERGE] Sync with trunk + fixed the fix and tests.
bzr revid: tde@openerp.com-20130320161045-41bpe36b09tgcxpo
2013-03-20 17:10:45 +01:00
Olivier Dony 232840179c [FIX] mail.alias: default alias generation now properly handles dots and emails; added tests
lp bug: https://launchpad.net/bugs/1117810 fixed

bzr revid: odo@openerp.com-20130320161023-yalb9ud12k7kuy3o
2013-03-20 17:10:23 +01:00
Christophe Matthieu 64046e182e [fix] mail: show more message always on flat mode
bzr revid: chm@openerp.com-20130320154643-nizd22s9ojzd363j
2013-03-20 16:46:43 +01:00
Olivier Dony 5a3095673f [FIX] subscription: prevent lockup during cron job execution
Due to the way cron jobs are executed in multi-process
environments, the cron arbiter holds an exclusive lock
on the cron task row in the database.
During the course of the subscription cron jobs execution
they attempt to alter a record that has a FK towards
the cron task row, effectively deadlocking the whole
cron processing thread.
The fix is rather hackish: remove the explicit FK
constraint from the subscription model towards
ir.cron - this prevent PostgreSQL from requesting
an exclusive lock and triggering a deadlock.
This is only a temporary solution, the subscription
module should be rewritten for the next stable release.

bzr revid: odo@openerp.com-20130320153430-bho6ou8b7ziohcb0
2013-03-20 16:34:30 +01:00
Thibault Delavallée 1b2579f777 [MERGE] mail: fixes and improved tests
[FIX] mail_followers: notification emails did not have 'references' correctly filled with their parent message message_id,
[FIX] mail_mail: emails sent to partners now use the 'Name <email>' format for email_to, instead of just 'email'
[FIX] mail_compose_message: fixed mass_mail subscribing the author to all documents,
[FIX] mail_compose_message: fixed access rule on mail_compose_message not taking into account the wizard creation in mass_mail_mode (model but no res_id -> could lead to crash),
[TEST] mail: cleaned a bit the tests; mail gateways related tests are now in a dedicated file; tests were added that helped triggering the previous errors

bzr revid: tde@openerp.com-20130320145225-1hhp383wt507p3q3
2013-03-20 15:52:25 +01:00
Josse Colpaert 6287c5c262 [MERGE] Merg efrom 7.0
bzr revid: jco@openerp.com-20130320144706-ylpji506pzhtj3do
2013-03-20 15:47:06 +01:00
Josse Colpaert 773a1fc51f [FIX] Remove last | in source document when grouping
bzr revid: jco@openerp.com-20130320144336-tmtw1qje4eusqghr
2013-03-20 15:43:36 +01:00
Christophe Matthieu 770b0cb380 [fix] mail: double clicking on post on the chatter
bzr revid: chm@openerp.com-20130320144101-5mz9mbar9j5vhppl
2013-03-20 15:41:01 +01:00
Christophe Simonis 8fd08f900f [FIX] web: Fix old versions of Webkit (such as ones used on iOS < 6 or PhantomJS <= 1.7)
which does not have Function.prototype.bind function

bzr revid: chs@openerp.com-20130320143652-xqglvte5kwvtwl5i
2013-03-20 15:36:52 +01:00
Thibault Delavallée db5f32bb46 [CLEAN] mail: cleaned code of last fixes
bzr revid: tde@openerp.com-20130320141907-rxnstq7k8hrkcnl1
2013-03-20 15:19:07 +01:00
Josse Colpaert 9913357fa2 [FIX] Should have browse record of sale order instead of id
bzr revid: jco@openerp.com-20130320135321-ckejagpme57sq51z
2013-03-20 14:53:21 +01:00
Thibault Delavallée 23efb82b6d [TEST] mail: updated tests (those that helped raising the previous errors).
bzr revid: tde@openerp.com-20130320135152-qiz3moczldjbmyt7
2013-03-20 14:51:52 +01:00
Quentin (OpenERP) 87b899445d [FIX] account: improved tooltips and labels for manual reconciliation of accounting entries to be more explicit
bzr revid: qdp-launchpad@openerp.com-20130320135052-uqyuteitr68qiofn
2013-03-20 14:50:52 +01:00
Thibault Delavallée 5d25e9d780 [FIX] mail_compose_message: fixed mass_mail subscribing the author to all documents, not the case anymore; fixed access rule on mail_compose_message not taking into account the wizard creation in mass_mail_mode (model but no res_id -> could lead to crash).
bzr revid: tde@openerp.com-20130320135013-mryxzwssd346t78y
2013-03-20 14:50:13 +01:00
Frédéric van der Essen a799c9e067 [MERGE] point_of_sale: fix for a context=None related bug in the pos box wizard
bzr revid: fva@openerp.com-20130320132808-jg19uiktwdigyp07
2013-03-20 14:28:08 +01:00
Thibault Delavallée 0c79cbd146 [FIX] mail: emails sent to partners now use the 'Name <email>' format, instead of just 'email'.
bzr revid: tde@openerp.com-20130320121706-csue8xkqrc7adbqi
2013-03-20 13:17:06 +01:00
Thibault Delavallée bbc98169c3 [FIX] mail: notification emails were lacking references to their parent message.
bzr revid: tde@openerp.com-20130320121633-plhgm5374w2koem1
2013-03-20 13:16:33 +01:00
Thibault Delavallée 6039b80e3f [IMP] [CLEAN] mail: cleaned and improved message_post tests, about email_to, reply_to and attachments.
bzr revid: tde@openerp.com-20130320121614-a862m35peexhw64q
2013-03-20 13:16:14 +01:00
Quentin (OpenERP) e69fc7129d [FIX] base_action_rule: no domain on user_id=False on filters because it pollutes the filters of everyone
bzr revid: qdp-launchpad@openerp.com-20130320121549-98fptm04c44mrvy4
2013-03-20 13:15:49 +01:00