Commit Graph
104281 Commits
Author SHA1 Message Date
Christophe Simonis b0313796d4 [MERGE] forward port branch saas-12 up to ac8b882 2016-08-01 11:19:01 +02:00
Christophe Simonis ac8b882d8f [FIX] website_sale: use new t-options python-formated attribute 2016-08-01 11:16:40 +02:00
Yannick Tivisse 3e252cf40d [REM] im_odoo_support: Remove the module 2016-08-01 10:13:39 +02:00
Yannick Tivisse 29886eaf3e [MOV] theme_bootswatch,theme_default: Restructure directory according to new API guidelines 2016-08-01 09:44:12 +02:00
Christophe Simonis b457f15c45 [MERGE] forward port branch saas-12 up to 285f6bd 2016-07-30 13:05:04 +02:00
Christophe Simonis 285f6bd114 [MERGE] forward port branch saas-11 up to 65a67ce 2016-07-30 13:04:39 +02:00
Christophe Simonis 65a67cedb4 [MERGE] forward port branch saas-10 up to 09e9434 2016-07-30 13:02:20 +02:00
Christophe Simonis 09e943429e [FIX] website_sale: unable to edit product price
The less refactoring in 5b65befcd8
wrongly removed the css directive that hide some elements in edit mode.

As a side effect, the product price was appearing twice when editing a
product. Commit 44ca4317a9 tempt to fix
it but removed the edition part.

opw:683343
2016-07-30 12:43:21 +02:00
Christophe Simonis f0ff7834a3 [FIX] payment: remove extra-comma on field definition 2016-07-29 18:58:51 +02:00
Christophe Simonis 523d3af131 [MERGE] forward port branch saas-12 up to 16d65a8 2016-07-29 17:55:21 +02:00
Christophe Simonis 16d65a8493 [FIX] test_assetsbundle: use helper to get bundle 2016-07-29 16:32:36 +02:00
Josse Colpaert ec841b7fa1 [FIX] inventory: when creating partial inventory, it should also go to partial state 2016-07-29 16:04:48 +02:00
Josse Colpaert f295bdccad [FIX] stock: fix traceback of unlink of picking 2016-07-29 16:04:33 +02:00
Christophe Simonis c043a26321 [FIX] base: AssetBundle: use correct attribute 2016-07-29 16:00:41 +02:00
Josse Colpaert a64deb4dd0 [IMP] mps: MPS module should not be an application, but a setting 2016-07-29 15:35:22 +02:00
Christophe Simonis f670b3b1df [MERGE] forward port branch saas-11 up to 3aea814 2016-07-29 15:33:51 +02:00
Yannick Tivisse 6a4899ea8f [MERGE] auth_ldap: Migrate to new API 2016-07-29 15:17:03 +02:00
Kinjal Mehta c4c716579a [MIG] auth_ldap: Migrate into new api. 2016-07-29 15:15:47 +02:00
Kinjal Mehta a7d276727f [SPLIT] auth_ldap: split files according to new API. 2016-07-29 15:15:47 +02:00
Kinjal Mehta 64ac8caa06 [MOVE] auth_ldap: Move files in related models and views directory 2016-07-29 15:15:47 +02:00
Richard Mathot e6ab21be58 [IMP] base_action_rule: add search view for BAR 2016-07-29 14:59:30 +02:00
Richard Mathot 9a38428a2a [IMP] base: allow to filter translations on model and view 2016-07-29 14:59:30 +02:00
Richard Mathot 599f3bc562 [IMP] base: allow to filter actions on model 2016-07-29 14:59:30 +02:00
Richard Mathot f543a28a0f [IMP] base: allow to filter models on model technical name only 2016-07-29 14:59:30 +02:00
Richard Mathot 4b3ce99b26 [IMP] base,report,report_webkit: clean config view for Reports 2016-07-29 14:59:30 +02:00
Adrien Dieudonne 534556a9a5 [FIX] project: prevent a crash when opening list view
The field state was replaced by ‘active’ in project.project (see commit 9b69184).
However, someone forgot to update the arch for the default list view which
was not longer possible to open.
2016-07-29 14:49:45 +02:00
Simon Lejeune 3aea814e3c [FIX] web: inputs of an editable list inside a modal are broken
This is triggered by the interaction of the `-webkit-overflow-scrolling` [1]
rule that is set on the top of the modal (div.modal) and the fact that inputs
elements are displayed over the table with an absolute positioning (that's
how the editable lists work).

Indeed, the `-webkit-overflow-scrolling` rule creates a new stacking context [2]
and is inherited by all the children of the modal (and so on), resulting in this
situation:

                                                       .modal
                                                 /             \
                                         ... (new S.T.)    ... (new S.T.)
                                           /                      \
                                  ... (new S.T.)              ... (new S.T.)
                                 /
                       .o_list_editable (new S.T.)
                      /                            \
           .o_form_view (new S.T.)         .table-responsive (new S.T.)
      /            |           \                           \
input            input           input                      table (new S.T.)

This explain why the input are not visible: actually, they are displayed
behind the table. In this case the  document order is used to know which
div should be in front of another div[3], that's what rev odoo/enterprise@304b790004 [4]
tried to change. However, this was not enough for iOS 9.3 / iphone 6
because, for some unknown reason (but probably due to the fixed position
of the modal that seems kind of broken on safari mobile), the inputs where
still displayed under. Note that the fix was ok for ios 9.3 / ipad air 2.

The fact that `-webkit-overflow-scrolling` creates a new stacking context
at every node seems odd, unfortunately removing the rule result in a non
scrolling div at all.

The fix is to explicitely tell the input to appear over the .table-responsive.
This is done by sharing the same stacking context under the common parent
between the form and the list view: .o_list_editable. For that, we prevent
the creation of a new stacking context under .o_form_view by reseting the
`-webkit-overflow-scrolling` to "auto" and we set a dummy z-index to the
inputs element. As they are the only one to have a z-index in this dom
range, they will always appear on top of the table.

With this solution, the `-webkit-overflow-scrolling` is still inherited
correctly and the div is still scrollbale.

This fix unveils another issue with the editable list: if the screen is
too small resulting in an horizontal scrollbar, the table in itself is
scrollable but the inputs aren't.

opw 683169

cherry-pick of odoo/enterprise@35f285e50a

[1] this rule allow a smooth scrolling of the content of a div on iOS
https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-overflow-scrolling
[2] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
[3] https://www.w3.org/TR/CSS2/zindex.html
[4] This commit has been reverted with odoo/enterpise@287cff02c7
and never forward-ported to saas-10.
2016-07-29 14:44:26 +02:00
Christophe Simonis 685fa525e7 [FIX] product_visible_discount: use define variable
Once again, a failed forward-port...
2016-07-29 14:01:53 +02:00
Yannick Tivisse b15f001dfb [MERGE] base_iban: Migrate to new api 2016-07-29 13:10:42 +02:00
htr-odoo 1b94ff054c [MIG] base_iban: Migrate to new API 2016-07-29 13:10:15 +02:00
htr-odoo ce79826dd3 [MOV] base_iban: Restructure directory according to new API guidelines 2016-07-29 13:10:15 +02:00
Christophe Simonis 529f88dbd3 [MERGE] forward port branch saas-10 up to 4ca04fd 2016-07-29 13:01:29 +02:00
Christophe Simonis 4ca04fdd41 [MERGE] forward port branch 9.0 up to 6d43f28 2016-07-29 12:55:36 +02:00
Christophe Simonis 6d43f280c9 [FIX] stock: do not quote static domain 2016-07-29 12:47:08 +02:00
Yannick Tivisse 962d0ee354 [FIX] report: display correclty the first printed report
The key 'commit_assetsbundle' wasn't in the context to the method 'get_pdf'
This issue comes from the module migration.
2016-07-29 12:20:41 +02:00
Yannick Tivisse 42b891700e [FIX] report: allow 'get_action' to receive id, ids or browse records as 'docids'
1/ If no docids are passed in get_action (empty list) do not put in context

2/ The method should accept ids or browse records as docids for retrocompatibility.
- The api.v7 method took ids as docids
- The api.v8 method took a browse records 'records' to call the api.v7 method with
  'records.ids' as docids
In python, we cannot write 2 functions with the same name that takes differents types
for the same argument. The function 'guess' in api.py will lead to a crash if we expect
a browse record and we send a list
The only way to allow the method to receive different types for the same argument is
to decorate it with '@api.noguess' to prevent any effect from guess method.
That way, we check directly if 'docids' is an id, ids or a browserecord and we always set
a list instead.
2016-07-29 12:20:41 +02:00
Christophe Simonis 4c7d9cb6a6 [MERGE] forward port branch 9.0 up to e0c0a5f 2016-07-29 12:04:24 +02:00
Christophe Simonis e0c0a5fb1b [MERGE] forward port branch saas-6 up to 50e1486 2016-07-29 11:56:15 +02:00
Christophe Simonis 50e148648d [MERGE] forward port branch 8.0 up to 9fe930e 2016-07-29 11:45:47 +02:00
Yannick Tivisse 3025951982 [MERGE] account_accountant: Migrate to new API 2016-07-29 11:31:38 +02:00
Erwin van der Ploeg 9b64a2f869 [IMP] l10n_nl: correct module description
Remove outdated information
Closes #12274
2016-07-29 11:22:39 +02:00
aetna-softwares 9fe930e6ba [FIX] survey: prevent saving issues of answers to multiple_choice questions, when id starts with id of other questions
Fixes #11873 #12215
2016-07-29 11:13:08 +02:00
Yannick Tivisse 29b4f1e459 [MIG] account_accountant: Migrate to new API 2016-07-29 11:04:43 +02:00
Yannick Tivisse 925151cf0c [MOV] account_accountant: Restructure directory according to new API guidelines 2016-07-29 11:04:43 +02:00
mva ec5410581e [FIX] doc: change memory hard and soft
The hardware limit should be higher than the soft, otherwise it is killed before
reaching the limit.

Closes #12957
2016-07-29 10:43:20 +02:00
Martin Trigaux b146335484 [FIX] doc: correct typo in deployment page 2016-07-29 10:11:59 +02:00
Yannick Tivisse f217281f4b [MERGE] hr_payroll_account: Migrate to new API 2016-07-29 10:00:11 +02:00
Yannick Tivisse eb11f3ba25 [MIG] hr_payroll_account: Migrate to new API (code + tests) 2016-07-29 09:58:22 +02:00
Yannick Tivisse 4d8894c8d6 [REM] hr_payroll, hr_payroll_account: removed unused onchange method 2016-07-29 09:55:49 +02:00
Yannick Tivisse 195e4625df [MOV] hr_payroll_account: Restructure directory according to new API guidelines 2016-07-29 09:55:49 +02:00