Commit Graph
595 Commits
Author SHA1 Message Date
Luigys [Vauxoo] e8662f95c8 [CLA] Add desdelinux as new contributor in vauxoo
Incorporate Luigys TOro (desdelinux) as Vauxoo's contributor

closes odoo/odoo#74466

X-original-commit: f9682ecac4b7b34950ba70a78a550f0c050d0ce7
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-07-29 17:36:21 +00:00
Robin Conjour 6687adbc43 [CLA] signature for demolium
Closes odoo/odoo#69217

closes odoo/odoo#73926

X-original-commit: 229f14c04d53e713af30a4a1077c954d284ff51d
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 17:49:17 +00:00
Matthieu Méquignon e554b758c8 [CLA] Add Matthieu Mequignon to C2C CLA
closes odoo/odoo#73887

X-original-commit: bc916ec3f27a9ea2275e80402bd6aa17bf5a1bf9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 13:53:25 +00:00
Yann Papouin 7aa19d908d [CLA] Corporate signature for DEC
closes odoo/odoo#73090

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-01 14:51:58 +00:00
Fernanda Hernández beec2f9ccf [FIX] website_sale: use sudo to search account.fiscal.position to public user
Currently if public user has country_id, following traceback is raise
when /shop URL is opened:

Traceback (most recent call last):
File "/.repo_requirements/odoo/odoo/addons/base/models/qweb.py", line 331, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_website_sale_products_item_306
File "/.repo_requirements/odoo/addons/website_sale/models/product.py", line 294, in _get_combination_info
fpos = self.env['account.fiscal.position'].get_fiscal_position(partner.id).sudo()
File "/.repo_requirements/odoo/addons/account/models/partner.py", line 184, in get_fiscal_position
fp = self._get_fpos_by_region(delivery.country_id.id, delivery.state_id.id, delivery.zip, vat_required)
File "/.repo_requirements/odoo/addons/account/models/partner.py", line 141, in _get_fpos_by_region
fpos = self.search(domain_country + state_domain + zip_domain, limit=1)
File "/.repo_requirements/odoo/odoo/models.py", line 1708, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/.repo_requirements/odoo/odoo/models.py", line 4485, in _search
model.check_access_rights('read')
File "/.repo_requirements/odoo/odoo/models.py", line 3331, in check_access_rights
return self.env['ir.model.access'].check(self._name, operation, raise_exception)
File "<decorator-gen-33>", line 2, in check
File "/.repo_requirements/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/.repo_requirements/odoo/odoo/addons/base/models/ir_model.py", line 1792, in check
raise AccessError(msg)
odoo.exceptions.AccessError: You are not allowed to access 'Fiscal Position' (account.fiscal.position) records.

This operation is allowed for the following groups:
- Accounting/Advisor
- User types/Internal User
- User types/Portal

Contact your administrator to request access if necessary.

Error to render compiling AST
AccessError: You are not allowed to access 'Fiscal Position' (account.fiscal.position) records.

This operation is allowed for the following groups:
- Accounting/Advisor
- User types/Internal User
- User types/Portal

Contact your administrator to request access if necessary.
Template: website_sale.products_item
Path: /t/t[2]
Node: <t t-set="combination_info" t-value="product._get_combination_info(only_template=True, add_qty=add_qty or 1, pricelist=pricelist)"/>

Above was tested and reproduced in an instance of odoo runbot v14.0:

https://youtu.be/GgUnyna_EX8

That is due to public user has not permission to read model
account.fiscal.position and in fact in ACL, permission contains
'public' but is setting group_portal.

closes odoo/odoo#73117

X-original-commit: 53dc9f62b6d4c362292bf48df54b11c4852f6006
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-02 08:27:07 +00:00
Krutarth Buch 0acac7eb74 [CLA] Corporate signature for Entrivis Tech Pvt Ltd.
closes odoo/odoo#71567

X-original-commit: f03b2d9f0e1ea57d1f94040786248e0d887c8afa
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-06-01 14:57:20 +00:00
Jeremy Cormier eaed74dec0 [FIX] stock: fixed singleton in picking write method
closes odoo/odoo#71535

X-original-commit: 922ee844f699fdb230b32d3f8c06ff22476f99c3
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2021-06-01 11:06:00 +00:00
Alessandro Fiorino 4bd87b8375 [CLA] add Digital Domus
closes odoo/odoo#69855

X-original-commit: 16c09f3964ef32f0729efd815ba5f397e07c8925
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-26 15:12:33 +00:00
fw-bot 4da5f2eaba [FIX]account_edi_ubl : fix finding of partner using vat identification
closes odoo/odoo#69226

X-original-commit: 66c7ee23320c595e71c1183a3bd439530ace13c9
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2021-04-19 07:35:25 +00:00
root 905d2963ff [CLA] add CLA for Mainframe Monkey
closes odoo/odoo#68995

X-original-commit: d81973ab79dec066b3b6f98b473e73c6d41f0d34
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-08 15:44:41 +00:00
Andres Calle 7f62aae8ee [CLA] corporate signature for trescloud
closes odoo/odoo#68752

X-original-commit: 3de6216b5bb0fd423faf5c40a3e9811a1ffc9d42
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2021-04-03 10:18:26 +00:00
Pablo Fuentes 096629d669 [CLA] Studio73 signature
closes odoo/odoo#68518

X-original-commit: 994032cc29e715627bd80ff0cd529581cb950132
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-30 08:19:12 +00:00
Denis Mudarisov a4cc5cef6e [CLA] add IT Projects Labs
closes odoo/odoo#68202

X-original-commit: 1335d16c8dddb0f89d90d2f71e50250dc0b395ff
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-03-22 13:28:27 +00:00
dominikkertys 4577b10881 [CLA] add 26HOUSE
X-original-commit: 6e2e88c518e8efa30e848feed92a090c56ad4f61
2021-03-19 16:03:15 +00:00
Carlos Roca 1ff825c012 [CLA] update Tecnativa signature
closes odoo/odoo#67262

X-original-commit: 42291b957ba4f33640c99097be73f16aa9e06d47
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-04 15:02:06 +00:00
Ronald Portier 81c3974a01 [CLA] Add Danny de Jong to Therp CLA
closes odoo/odoo#67073

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-02 14:43:35 +00:00
Csaba Tóth dc276a569b [CLA] Update Online ERP Hungary Kft. CLA
Add new members

closes odoo/odoo#66871

X-original-commit: 3d7663616c3524354d4bda03609b457b31d0e23c
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-02-25 16:18:52 +00:00
JordiMForgeFlow cf2e73c402 [CLA] Update ForgeFlow
closes odoo/odoo#66535

X-original-commit: 7f8ff150992cd09ad4fe6e1259b3206cb99e2c23
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-02-19 13:12:10 +00:00
Csaba Tóth 4c91e895a9 Sign the Odoo CLA by Online ERP Hungary Kft.
closes odoo/odoo#65816

X-original-commit: 054f3a53c9335bee0a09d4b375e1620292cf0601
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-02-09 13:19:42 +00:00
Anna Janiszewska 224f8d9be7 [CLA] Add Anna Janiszewska to camptocamp CLA
closes odoo/odoo#65299

X-original-commit: 72c5d63eb13b0dcb4284a28962d76a147524f65a
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-01-29 17:52:06 +00:00
Dario Bösch 389c8ecdef [CLA] simpit GmbH
closes odoo/odoo#65287

X-original-commit: b7467ce8fa0c497c4b7bf66345577d9846397293
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-01-29 16:11:19 +00:00
ioFilippo f7407ab2df [CLA] Signed CLA for Rapsodoo
closes odoo/odoo#64685

X-original-commit: 70fd8f68da90b4b66674c56988c0cd73ed4f769c
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-01-18 12:41:17 +00:00
Ibrahima Gueye e95b9c068f [CLA] update optesis CCLA
Remove Abdel Rahaman TOUKOUROU

closes odoo/odoo#64407

X-original-commit: 802ee59a8d458ffb85455c547ceb89c185a5fb64
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-01-12 13:16:18 +00:00
erik-bzcl 90e721d9af [CLA] Corporate signature for Bizi Software SRL
closes odoo/odoo#64374

X-original-commit: f29c6b1ffcbcfdf12d848df8ee427cc11d2df123
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-01-12 08:28:51 +00:00
Williams Estrada 7464f09545 [CLA] add Williams Estrada signature to Vauxoo's CCLA
closes odoo/odoo#62499

X-original-commit: 4fe35257c3c126c12a3f4663ed8ff4d2195ca1f2
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-27 10:13:26 +00:00
Leo Tran 8dfaf830fc [CLA] Viindoo signs Odoo's CCLA
Done at #62137

closes odoo/odoo#62480

X-original-commit: 60d723cbc0887904b31e88f766e127504f71246b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-27 08:16:12 +00:00
Stephane Mangin 9cc886e5eb [CLA] add Stephane Mangin to Camptocamp CLA
closes odoo/odoo#62441

X-original-commit: 52cd0a7407eb4bea0c4deb8eaedfcf9331d2c5d6
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-26 16:19:15 +00:00
Richard deMeester 544bda1da7 Add newer CLA declaration
closes odoo/odoo#61389

X-original-commit: 5cc884f96bcd77997b158bd496be85d382ddb3a3
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-11-05 11:23:24 +00:00
Alejandro Santillan d4ad15d534 [CLA] Update Vauxoo CLA
Incorporate Alejandro Santillan (R4Alex) as Vauxoo's contributor

closes odoo/odoo#61383

X-original-commit: e265a1e89288ac417b17f82d4d2a4b1a84cbfc4e
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-11-05 10:34:59 +00:00
Daniel Duque 51ed48b1b6 [CLA] FactorLibre
X-original-commit: bec158627024f3ff6e7352cc8d4e91be9d807540
2020-11-02 13:53:36 +00:00
Tiago Santos 31bc9756a4 [CLA] Update Arxilead CLA
closes odoo/odoo#61080

X-original-commit: c691f971325c21aca47eb597a0fda248a621dc7e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-30 16:41:28 +00:00
fw-bot a420046a52 [FIX] website_mail_channel: fix load more replies
On a thread with at least 21 replies, click on "show N more replies".
The first time, it does the last 10 replies.
Click again: it appends the same batch of 10 replies to the thread.
The button loads the replies starting from the last reply id,
but this id is not updated after load.

This is because the code searches for a `p.well` in the DOM
assumed to be the `o_mg_read_more` parent (see c40f184).
However, commit 59237ea removed the `.well` class of the parent.
The new button is not found, the old button is not removed, and so it goes.

Forward-Port of 4536764ad52b5b

closes odoo/odoo#60647

X-original-commit: 69dd830a15da2d7e43e6040e26d960d2e941002e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-23 15:20:46 +00:00
Florian Pose 0dd3b70690 [CLA] signature for IgH
closes odoo/odoo#60420

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-23 08:13:06 +00:00
Olivier Laurent 70ffd509a9 [CLA] Logicasoft
X-original-commit: 69c551f621b8dc9c235cedcb19f1992f77901b49
2020-10-20 08:41:50 +00:00
Randall Castro 145e3ad0c7 [CLA] Add randall-vx as new contributor in vauxoo
closes odoo/odoo#60284

X-original-commit: 89daca4b457c195b48be05a7d47649eedbf81081
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-19 13:57:52 +00:00
Ronald Portier 3c0c9ea2c2 [CLA] Update Therp BV CLA.
closes odoo/odoo#59486

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-08 09:57:32 +00:00
fw-bot 7076449752 [FIX] portal: share a record without partner_id field
The method _notify_get_groups is called to determine how a user should be
notified based on the groups he belongs to.
If a record is shared via portal but the model does not have a field named
`partner_id`, the method was failing.

With this patch, the presence of the field is checked first. No additional
access_token is computed if the field is not present.

Forward port of #59123

closes odoo/odoo#59310

X-original-commit: 6612c7ae766e996c57bda5c4c23132797f162f1e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-06 15:53:14 +00:00
SilvioGregorini 5e7a471e70 [CLA] openforce signs Odoo CCLA
closes odoo/odoo#59276

X-original-commit: 3f184a2529ca5828fb18e463bea7386b70a802b1
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-06 13:02:15 +00:00
Cyril VINH-TUNG ea05ced56b [CLA] EasyPME signs Odoo CCLA
closes odoo/odoo#59081

X-original-commit: ea31b502b5df8550357bb7f63580c2ca76849cc5
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-05 09:23:42 +00:00
Thierry Ducrest 590c5fbe2d [CLA] Add tdu to camptocamp cla
closes odoo/odoo#58773

X-original-commit: 1d95a9e540c442b65b1f51adde5a265bf8089bef
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-29 09:40:03 +00:00
Marcel Savegnago 043dcba4e0 [CLA] Escodoo signs Odoo's CCLA
closes odoo/odoo#58158

X-original-commit: 25c50242f9761257868a586dbf686d7aeb16c01c
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Signed-off-by: Marcel Savegnago <marcelsavegnago@users.noreply.github.com>
2020-09-21 15:46:10 +00:00
Alex Hafner 7079d747e7 [FIX] core: use shortened table aliasing in get_join_conditions()
Current behavior:
Auto-generated SQL fails with ERROR: missing FROM-clause entry for table when table alias names exceed the target length of 63 characters. This is because odoo.osv.expression.py handles shortening the table name alias in generate_table_alias, but not in get_join_conditions. In the resulting SQL, shortened aliases are used in the FROM clause, whereas in the join conditions, the full alias is used, which is both exceeding the Postgres limit and not matching the table name alias in the FROM clause.

Expected behavior:
auto-generated SQL runs without errors.

Implementation of fix:
- refactor alias shortening into new function _shorten_alias to make it reusable
- Use _shorten_alias in both generate_table_alias and get_join_conditions

closes odoo/odoo#57944

X-original-commit: 40b97b37e2188b082cd70eec1cdf14bf9366377e
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-09-17 12:22:13 +00:00
Atchuthan Ubendran 30f5c32372 [CLA] update Sodexis CCLA
Add dvdhinesh
Remove amkarthik

closes odoo/odoo#57684

X-original-commit: 9cb093aecc7e50e2addf321e2d003680b6f31384
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-14 16:05:17 +00:00
Kenneth Hansen 059faa7f1f [CLA] Corporate signature for VK DATA ApS
closes odoo/odoo#57614

X-original-commit: 2527debe02aa7bdc65d0f572f7ddead6bb89d67b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-14 09:21:13 +00:00
Ibrahima Gueye fffe2fcd0b [CLA] add new contributor in Optesis Signature
closes odoo/odoo#57471

X-original-commit: 37a54aca8b89f30d42b8ed5a2912461de0551bdb
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-11 07:07:53 +00:00
gaikaz 4072a1825c [CLA] Update Via laurea signature
closes odoo/odoo#57465

X-original-commit: 3c2fbda0b5b32d4c9e04a0afe5c12121e4533424
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-10 18:00:20 +00:00
Ibrahima Gueye 8c083bcd3e [CLA] Signature for Optesis
closes odoo/odoo#56296

X-original-commit: 050218da483a123afccf56b5462be88c263726c7
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-21 12:08:01 +00:00
Telmo Santos 9bdba5b758 [CLA] add Telmo Santos to Camptocamp CLA
closes odoo/odoo#56057

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-21 10:15:49 +00:00
Bruno Zanotti (ADHOC) 44fb324f7a [CLA] add new member to Adhoc CLA
closes odoo/odoo#55527

X-original-commit: ac8d173064f033136f33272a8724e937e73b1b85
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-08-06 09:34:00 +00:00
Harald Panten 77146d0296 [IMP] l10n_es: tax template descriptions renamed
description for tax templates in account_tax_data.xml is not showing a "friendly" customer description for several taxes.
It's common to be requested for changes and being forced to help customers to replace the current tax label by understandable descriptions.
This PR improves that description and makes it easier to understand.

closes odoo/odoo#54402

X-original-commit: f8d55c8e4559264c68155a4a8e3151f6aa045037
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-07-13 13:23:20 +00:00