Commit Graph

1675 Commits

Author SHA1 Message Date
claudiagn
ff0f85eade Added translation using Weblate (Catalan) 2021-02-17 09:01:51 +00:00
claudiagn
b7d95812b3 Added translation using Weblate (Catalan) 2021-02-17 09:01:12 +00:00
claudiagn
eaa390795f Added translation using Weblate (Catalan) 2021-02-17 09:00:52 +00:00
claudiagn
b000f3315b Added translation using Weblate (Catalan) 2021-02-17 09:00:34 +00:00
claudiagn
e3922ad278 Added translation using Weblate (Catalan) 2021-02-17 09:00:20 +00:00
claudiagn
54587e9597 Added translation using Weblate (Catalan) 2021-02-17 08:59:25 +00:00
claudiagn
ff8b4a0043 Added translation using Weblate (Catalan) 2021-02-17 08:58:53 +00:00
claudiagn
34bbfaa241 Added translation using Weblate (Catalan) 2021-02-17 08:57:06 +00:00
claudiagn
ecb04cd6a5 Added translation using Weblate (Catalan) 2021-02-17 08:56:28 +00:00
claudiagn
80687a74eb Added translation using Weblate (Catalan) 2021-02-17 08:47:59 +00:00
claudiagn
2a377a1d08 Added translation using Weblate (Spanish) 2021-02-17 08:47:34 +00:00
claudiagn
d1b38a2e80 Added translation using Weblate (Catalan) 2021-02-17 08:47:13 +00:00
claudiagn
9134fa8262 Added translation using Weblate (Catalan) 2021-02-17 08:45:54 +00:00
claudiagn
7069f84512 Added translation using Weblate (Catalan) 2021-02-17 08:45:42 +00:00
claudiagn
38e4852b27 Added translation using Weblate (Catalan) 2021-02-17 08:44:47 +00:00
claudiagn
ba89654132 Added translation using Weblate (Catalan) 2021-02-17 08:44:09 +00:00
claudiagn
e123875e0d Added translation using Weblate (Catalan) 2021-02-17 08:43:53 +00:00
OCA-git-bot
2e1840404a web_widget_one2many_product_picker 12.0.2.1.0 2021-02-16 12:22:46 +00:00
OCA-git-bot
d7711f5eaf [UPD] README.rst 2021-02-16 12:22:46 +00:00
OCA-git-bot
4517793c6a Merge PR #1810 into 12.0
Signed-off-by pedrobaeza
2021-02-16 11:56:28 +00:00
Alexandre D. Díaz
8aef897c70 [IMP] web_widget_one2many_product_picker: BS grid columns 2021-02-16 09:24:04 +01:00
OCA-git-bot
feeeef2ac6 web_widget_one2many_product_picker 12.0.2.0.0 2021-02-15 20:15:44 +00:00
oca-travis
e652b70cd9 [UPD] Update web_widget_one2many_product_picker.pot 2021-02-15 20:11:07 +00:00
OCA-git-bot
5e026dd792 Merge PR #1802 into 12.0
Signed-off-by pedrobaeza
2021-02-15 20:06:19 +00:00
Alexandre D. Díaz
677c552b45 [IMP] web_widget_one2many_product_picker: Readme 2021-02-15 20:07:01 +01:00
Alexandre D. Díaz
185edf81be [IMP] web_widget_one2many_product_picker: Clean tests 2021-02-15 20:06:47 +01:00
Alexandre D. Díaz
6fd1f4f7e2 [FIX] web_widget_one2many_product_picker: Use a compact list of old widgets to destroy 2021-02-15 20:06:21 +01:00
Alexandre D. Díaz
dccab1502a [FIX] web_widget_one2many_product_picker: Clean attention css classes 2021-02-15 20:05:50 +01:00
Alexandre D. Díaz
b845fb5a72 [IMP] web_widget_one2many_product_picker: Force qty to 1.0 in virtual states 2021-02-15 17:38:42 +01:00
Alexandre D. Díaz
559dd04221 [FIX] web_widget_one2many_product_picker: Update widget state 2021-02-15 17:34:12 +01:00
Alexandre D. Díaz
aa4ef9b0ed [IMP] web_widget_one2many_product_picker: Better usability 2021-02-15 17:31:50 +01:00
Alexandre D. Díaz
c8f718cc3a [IMP] web_widget_one2many_product_picker: Only 'auto' save if has changes 2021-02-15 17:31:50 +01:00
Alexandre D. Díaz
9f5267e1c6 [IMP] web_widget_one2many_product_picker: Auto apply changes without confirmation 2021-02-15 17:31:50 +01:00
OCA-git-bot
5368e7a11d web_view_searchpanel 12.0.1.0.2 2021-02-12 10:03:19 +00:00
oca-travis
960a54006c [UPD] Update web_view_searchpanel.pot 2021-02-12 09:50:07 +00:00
OCA-git-bot
c5f55a7081 Merge PR #1798 into 12.0
Signed-off-by pedrobaeza
2021-02-12 09:42:06 +00:00
OCA-git-bot
6a76145dfa web_responsive 12.0.2.3.6 2021-02-08 13:13:36 +00:00
OCA-git-bot
eb49e659d8 Merge PR #1815 into 12.0
Signed-off-by pedrobaeza
2021-02-08 12:44:57 +00:00
Yann Papouin
9eb5f86510 [FIX] web_responsive: Do not set overflow property on inline fields
Co-authored-by: Alexandre Díaz <alexandre.diaz@tecnativa.com>
Ensure that the title is displayed while the user holds the mouse click (while selecting content)
2021-02-08 11:44:31 +01:00
Francesco Foresti
28e8b4f38b Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_advanced_search/it/
2021-02-04 12:44:56 +00:00
Francesco Foresti
d7671c1d63 Added translation using Weblate (Italian) 2021-02-04 09:52:12 +00:00
OCA-git-bot
fa3a601014 [UPD] README.rst 2021-02-04 08:45:08 +00:00
OCA-git-bot
5165e91680 Merge PR #1807 into 12.0
Signed-off-by Yajo
2021-02-04 08:30:37 +00:00
Jairo Llopis
d13fb31e71 [IMP] web_dialog_size: add task to roadmap
It is important to let users decide their default dialog size. Some have ultrawide monitors and this module does more harm than benefit.

Here I add such task to roadmap, to avoid forgetting about it.

@Tecnativa
2021-02-04 08:26:26 +00:00
OCA-git-bot
0801651406 web_responsive 12.0.2.3.5 2021-02-03 17:09:37 +00:00
OCA-git-bot
79d324f4a3 Merge PR #1803 into 12.0
Signed-off-by legalsylvain
2021-02-03 16:08:08 +00:00
Alexandre D. Díaz
8d04e635d8 [FIX] web_responsive: List view: Boolean toggle widget 2021-02-03 12:49:59 +01:00
Dmytro Katyukha
2f5ddbfd08 [FIX] search_panel view: Do not apply model domain to comodel
Description
-----------

This commit fixes incorrect bechavior (error thrown) in case when
additional `domain` provided to action (`ir.actions.act_window`)
that displays view with search panel enabled.

Before this commit
------------------

For example we have following models:
- My Category
- My Model

And in category view, we have stat-button that display number of records
of records in this category. On click, it have to open view for My
Model, with domain like `[('category_id', '=', 42)]`.
In this case, following error will be raised:

```tracaback
Error:
Odoo Server Error

Traceback (most recent call last):
  ...
  File "/opt/odoo/custom_addons/web_view_searchpanel/models/base.py", line 60, in search_panel_select_range
    hierarchical_naming=False).search_read(model_domain, fields),
  File "/opt/odoo/odoo/odoo/models.py", line 4615, in search_read
    records = self.search(domain or [], offset=offset, limit=limit, order=order)
  File "/opt/odoo/odoo/odoo/models.py", line 1581, in search
    res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  File "/opt/odoo/odoo/odoo/models.py", line 4147, in _search
    query = self._where_calc(args)
  File "/opt/odoo/odoo/odoo/models.py", line 3939, in _where_calc
    e = expression.expression(domain, self)
  File "/opt/odoo/odoo/odoo/osv/expression.py", line 673, in __init__
    self.parse()
  File "/opt/odoo/odoo/odoo/osv/expression.py", line 854, in parse
    raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'category_id' in leaf "<osv.ExtendedLeaf: ('category_id', '=', 26) on bureaucrat_knowledge_category (ctx: )>"
```

Diagnostics
-----------

It seems that model domain was passed to comodel, thus system cannot
find field related to model in comodel. See code
(web_view_searchpanel/models/base.py", line 60, in
search_panel_select_range)

As tested, the `search_domain` causes this bug.

But if we look at implementation of same method
(`search_panel_select_range`) in Odoo 13.0 (see
[code](https://github.com/odoo/odoo/blob/13.0/addons/web/models/models.py#L214))
then we can see, that there is only empty domain applied for search.

Solution
--------

It seems, that variable `model_domain` could be simply removed, and
we could do the search in comodel without any extra domain in this case.

So, this commit, only makes imlementation of this method look same as in
Odoo 13.0

After this commit
-----------------

Everything is working fine.
2021-02-02 13:48:05 +02:00
OCA-git-bot
f86a1ed87e web_responsive 12.0.2.3.4 2021-02-02 08:35:28 +00:00
OCA-git-bot
ad825683e7 Merge PR #1797 into 12.0
Signed-off-by pedrobaeza
2021-02-02 08:29:10 +00:00