Commit Graph
156107 Commits
Author SHA1 Message Date
Joseph Caburnay c22afcbe0d [FIX] web: custom filter display on selection field
**Issue:** When creating a custom filter for a selection field,
the selected value is not properly displayed. Note however that
applying the filter still works. The problem is only in the displayed
value.

This is caused by setting the "value" attribute of the selection
element which is always an empty string (because formatField doesn't
properly work for selection field). However, the empty string is not
the issue because it doesn't matter what "formatted value" is returned,
it is not needed. The selection field's value is based on the value
of the selected option.

**Solution:** To properly show the display text of the selection item,
we need to make sure that value of the selection field is not overridden
during its onChange event. As a result, the selected option will become
the value of the selection field, displaying the proper text.

Therefore, in the onValueChange event handler, if the field type is
selection, we don't reset the value of the the selection element.

closes odoo/odoo#105420

X-original-commit: afadac5e21e6af2111ef42852243e78bb085d7c3
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2022-11-09 12:37:10 +01:00
roen-odoo fa7ba0ddcf [FIX] point_of_sale: apply timezone on order list
Current behavior:
When you open the order list, the orders are displayed in UTC.

Steps to reproduce:
- Be sure you are in a timezone different than UTC
- Start a PoS restaurant session
- Go on a table and make and order
- Go on the order list
- Go back on the table, then go back on the order list
- The time showed for the order is not correct (it's in UTC)

This bug was happening because `moment(order.validation_date)` consider
that the date is already in the local timezone, so it doesn't apply the
timezone offset. So we have to apply the offset manually before sending
it to the frontend.

opw-3002417

closes odoo/odoo#105417

X-original-commit: bd366a6d11fd8864b4c2fd2819463449d6da5278
Signed-off-by: Masereel Pierre <pim@odoo.com>
Signed-off-by: Engels Robin (roen) <roen@odoo.com>
2022-11-09 12:37:07 +01:00
niyasraphy 6ad5efbb57 [FIX] base: remove create option from apps field in export translation wizard
closes odoo/odoo#105409

X-original-commit: 0ce7eafd6994357513f6dd46a01c685c40a187bd
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2022-11-09 12:37:02 +01:00
Jorge Pinna Puissant f10a9b8361 [IMP] test_lint, *: enable eslint aditional rules
*: google_calendar, website_sale_loyalty

rules enabled :
    - no-dupe-keys
    - no-dupe-args
    - no-dupe-else-if

closes odoo/odoo#105398

Related: odoo/enterprise#33783
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-11-09 10:56:54 +01:00
bat-odoo d5ddfb438a [FIX] l10n_in_edi: using sign instead of abs
Before this commit
==================
When we post a Customer Invoice by adding 2 products first one has a positive
unit value and the second one has a negative unit value than the wrong JSON
is generated.
The issue happens because of abs method converts the negative value into a positive.

After this commit
==================
In this commit, we are using the sign amount instead of the abs method.

Effected from this PR https://github.com/odoo/odoo/pull/99401

closes odoo/odoo#104876

X-original-commit: 99b99bc672a54665b59efaa3a4e696f6250065c3
Signed-off-by: Josse Colpaert <jco@odoo.com>
2022-11-09 10:56:48 +01:00
Sébastien Geelen (sge) edfa446fd5 [FIX] web_editor: block commandbar in non html field
Prevent the PowerBox command bar to open in (non html) Odoo field
embedded inside the editable zone.

task-3040872

closes odoo/odoo#105372

X-original-commit: cab3a9b9b89a6b1c0d430e5374feb2f963e466fc
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Geelen Sébastien (sge) <sge@odoo.com>
2022-11-09 08:14:53 +01:00
Abdelouahab (abla) 6d8898ada1 [FIX] account : remove QR code generation for credit note
To Reproduce
============

- enable QR code on Accounting settings
- with a customer who has a bank account create a credit note for him/her
- in other info tab, make sure that the qr code method is empty
- send or print the credit note

The Problem
===========

the qr code method field will be filled with SEPA, and a QR code will be added to the PDF

Solution
========

Generating a QR code for a credit note doesn't make any sense, so the qr code method field must be hidden
and no QR code should be generated.

opw-3010649

closes odoo/odoo#105385

X-original-commit: 4b0c37833547ff45d2240e51272372a572a920d5
Signed-off-by: William André (wan) <wan@odoo.com>
2022-11-09 00:39:42 +01:00
Adesh Jolhe (adjo) 11ea3fd06e [FIX] {sale_}project,hr_timesheet: translate various messages
Before this commit, some error messages and others messages are
not translated.

This commit uses the translation function to be able to translate
those messages.

task-3006627

closes odoo/odoo#105192

X-original-commit: 85ef44cd66474bf5dcda4d7478d566e462d1a550
Related: odoo/enterprise#33717
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2022-11-08 23:14:51 +01:00
Raphael Collet 725130f8fa [FIX] core: missing documentation about field.recursive
closes odoo/odoo#105371

X-original-commit: 0376743c65dc8fc29ac2f1353b02901423f4d18a
Signed-off-by: Raphael Collet <rco@odoo.com>
2022-11-08 20:45:47 +01:00
Hubert Van de Walle (huvw) 3de9e58239 [FIX] project: grouped by personal stages in kanban -> user == current user
Steps to reproduce
==================

- Go to project > My tasks
- Click on load More on the first column
- Nothing is loaded

Cause of the issue
==================

The orm groups by stages for each stage where the user is
the current one or null
-> This returns a null stage when the left join has not match
   But we only want stages linked to the current user

Solution
========

When loading project kanban groups and isGroupedByPersonalStages is true:
Add the user_id to the domain

This is the same solution applied in saas-15.3

https://github.com/odoo/odoo/blob/f463d9a6ba95c0df64268b1c577f1b9d1c5bcb25/addons/project/static/src/js/project_kanban.js#L342

opw-3033943

closes odoo/odoo#105367

X-original-commit: 1294ff85aa54aa195e2f1554c6ef426869b90c75
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2022-11-08 20:45:44 +01:00
Carmen Bianca Bakker 1c1109df94 [CLA] Signature for Coop IT Easy
closes odoo/odoo#105352

X-original-commit: 6a941201465077c1232be70a8ff07a4e6c246372
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-11-08 19:22:21 +01:00
Laurent Smet c348995732 [MOV] account: Move matching rules to enterprise
closes odoo/odoo#105201

Related: odoo/enterprise#33722
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
2022-11-08 18:22:51 +01:00
krha-odoo 6c78c91355 [FIX] sale: fix duplicated sale.report ids
Before this commit, when point of sale order line (in table pos_order_line, Point of Sale app) and empty sale order (in table sale_order, Sales app) shares the same id number, it may create duplicate id in sale_report sql view. Empty sale order is an order with no products, so not connected to sale order line.
Additionally, these duplicates creates some discrepancies between pivot and list view in sale report in Sales app.

This commit fixes the issue by removing sale orders with no order lines.

Steps to reproduce the issue:
-----------------------------
1. Create order in Point of Sale app with minimum pos_order_line id equal to "n"
2. Create empty sale order (no order lines inside) with id equal to "n"

To reproduce issue on runbot, one may check the minimum order line for one of pos orders (assume this is n) and then delete all order lines from sale order with id equal to n.

Current behavior:
----------------------------
There will be two lines in sale_repot sql view with id equal to "-n"

Expected behavior:
----------------------------
Id in sale_report view should be unique

opw-2946444

closes odoo/odoo#105343

X-original-commit: 76711686a261cf0c42110902ab426756c5d43608
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-11-08 16:52:58 +01:00
Florian Charlier a96513a79b [FIX] sale: fix image link for onb. sample QO
The image for the sample product was updated in 76141b0d which made the
'Sample quotation' onboarding step hang for databases without any
`product.product` record.

A simple unit test for `_get_sample_sales_order` is included.

Technically, it wasn't possible to add it to the existing onboarding test class
because these tests are run post_install, and would fail on ENT builds because
of pos_loyalty preventing archiving `product.product`s.

--Additional note for 15.3 fw-port:
As logic moved from pos_loyalty to loyalty, which is installed before sale on
runbots, the problem described above resurfaces. We chose this cross module but
simple and limited-impact fix to avoid it.

Task-3045287

closes odoo/odoo#105339

X-original-commit: 0698388aab821e21309cbb2dd2411dac60f71be6
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-11-08 16:52:54 +01:00
Vincent Baggerman 7cda12ea0d [CLA] Added Abstractive corporate CLA
closes odoo/odoo#105337

X-original-commit: a1b942ab5f04f49c5aa2ab22c3bc9e4a830447a9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-11-08 16:52:52 +01:00
Lucas Lefèvre d935f99e22 [FIX] spreadsheet_dashboard_hr_expense: change incorrect dependency
The dashboard uses `sale_order_id` field of `hr.expense` which is
only added with `sale_expense` module

See fix in 16.0
odoo/upgrade#4009
odoo/odoo#104125

closes odoo/odoo#105148

Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2022-11-08 16:52:44 +01:00
Laurent Smet 05085880b8 [FIX] test_main_flows: Fix not deterministic tour in bank reconciliation widget
In https://github.com/odoo/odoo/commit/4fb0933986534e31337aa1dce3478a67deea72de, we faced an owl error when changing the tour:
"Component is destroyed"

This is due to the tour leaving the kanban view right after clicking on the "Validate" button.
After the validation, the kanban view is reloaded that is triggering a call to "web_search_read".
For some reason, the 'web_search_read' was triggered right after the component is destroyed.
To fix that issue, some additional steps have been added to the tour but this was just making the tour failing in a not determinist way.
Since the root cause of the issue has been fixed since, such additional steps are no longer needed.

closes odoo/odoo#105332

X-original-commit: 6a35a1f5f694a1bf6448ace8b43a8e99e07cfb90
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-11-08 15:56:09 +01:00
Aaron Bohy 9db9dbd38a [FIX] web(_editor): protect RPCs from component destruction
The rpc service has a protection (when used via useService) that
prevents the returned promise from being resolved/rejected if the
component has been destroyed meanwhile.

However, as the FormView still uses the legacy BasicModel, all rpcs
done by its model do not go through our new rpc service. As a
consequence, before this commit, they did not benefit from the
protection. This caused a non deterministic issue in the main flow
tour.

This commit implements a similar protection as the rpc service, but
specialized for the BasicRelationalModel, which redirects all RPCs
done by the BasicModel.

This change highlighted two scenarios where we sometimes performed
RPCs (or could perform RPCs) on a destroyed component. This commit
fixes those as well.

X-original-commit: f613e916d5e8b465fc360e340094c09037450ff1
Part-of: odoo/odoo#105332
2022-11-08 15:56:08 +01:00
miad-odoo d8b53f715e [FIX] crm: recurring revenues in kanban card
In the quick create form views in CRM, the 'recurring_plan' field is missing
(or rather invisible). It is a required field so it prevents the use
of the quick create.
The purpose of this commit is to let it be visible again to users.

Task-3007756

closes odoo/odoo#105311

X-original-commit: d0deb895bba8deeddb95fc8919ded29b80a869f9
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
2022-11-08 15:56:04 +01:00
Oluwaseun c87bde96bd [CLA] signature for Oluwaseun241
closes odoo/odoo#105316

X-original-commit: 99e8f9d45fba9caf63e6927da566ceb98d3b32a5
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-11-08 14:40:18 +01:00
Jorge Pinna PuissantandLucas Perais 21374cc41a [FIX] web: form_compiler, classes on FormLabel in a group
Before this commit, when compiling a form group, the scope class is
added to the elements of the outer group. It was added on the element
class attribute. The issue is that FormLabel don't have a class
attribute but a className attribute. So the class wasn't shown on the
DOM.

Now, the class is added on the FormLabel className attribute and shown
in the DOM.

closes odoo/odoo#105315

X-original-commit: 214beb39d7c1a315255f0a5a842e60f73e7900cc
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Co-authored-by: Lucas Perais (lpe) <lpe@odoo.com>
2022-11-08 14:40:15 +01:00
Jorge Pinna PuissantandPatrick Hoste e42175c1d5 [FIX] web: settings_form_compiler, copy all attributes to the labels
Before this commit, the labels tags that were after the fields losses
their attributes (i.e. classes) after the compilation of the form view
arch.

Now, the attributes are correctly copied after the compilation.

similar to : 873790f802

X-original-commit: 395bdf8880c5929652838a93351596b045708905
Part-of: odoo/odoo#105315
Co-authored-by: Patrick Hoste <pko@odoo.com>
2022-11-08 14:40:15 +01:00
Joseph Caburnay 57154abf8b [FIX] base_install_request: squished fields in request wizard view
**Issue**

Login as an ordinary user (demo) and open Apps to make a request
access to a module. A wizard will appear asking for the admin users
to request to and the reason for request. Input elements are not
properly shown.

This is because inside an inner group, as we remove the label (cf.
nolabel=1), the input field is put in the first column which is supposed
to be the location of the (non-existing) label.

**Solution**

Make the field take both columns (label + field) as it has no label.

closes odoo/odoo#105314

X-original-commit: 5ab8b9fb6273ebed3f89e8f7a20b8238ea1963ab
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2022-11-08 14:40:12 +01:00
Jeffry Jesus De La Rosa 6ef5be0da4 [CLA] Jeffry Jesus De La Rosa
closes odoo/odoo#105313

X-original-commit: b568cab3ea0bf2d53fd373962ec1dd5d22f258ec
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-11-08 14:40:09 +01:00
Walid HANNICHE (waha) 030a8c8f02 [FIX] web: parse numebr (separator not set)
Steps to reproduce:
- select a language where thousands separator is not (e.g. portugese)
- try editing any number input field

Bug:
 error when parsing the new value when thousands separator is not defined

Fix:
 fixed default value (only fallback to commas if it's not the decimal
Point separator)

opw-3041135

closes odoo/odoo#105312

X-original-commit: 71712acdf259aca7745a8a0b41a022d3abdcb047
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-11-08 14:40:06 +01:00
Rémy Voet (ryv) 29e9d99364 [FIX] core: field indexed by trigram cannot become translated
Field indexed by trigram cannot become translated because the
`convert_column_translatable` is based on the old index naming convention
(changed in https://github.com/odoo/odoo/pull/100736).
Then it generates a PostgreSQL error:
`psycopg2.errors.DatatypeMismatch: operator class "gin_trgm_ops" does not accept data type jsonb`

closes odoo/odoo#105295

Signed-off-by: Raphael Collet <rco@odoo.com>
2022-11-08 13:36:05 +01:00
Valentin Vallaeys (vava) 34f2b5c1d7 [IMP] payment: function to build confirmation dialog allowing overrides
The confirmation dialog to delete a token from a portal user is the
same whatever the linked records. This part of the code is now moved to
a separate function `_buildConfirmationDialog` in order to allow
overrides of the method in particular cases (e.g. Subscriptions).

task-3048269

closes odoo/odoo#105289

X-original-commit: 51d6b724f061af44bc07c342dfa9a34b4d1a2101
Related: odoo/enterprise#33741
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
2022-11-08 12:42:58 +01:00
Paolo Gatti 1451855d4b [FIX] l10n_it_edi: law reference field should always be visible
Taxes on self-invoices for non-EU export actually have amount > 0,
l10n_it_has-exoneration = False but they must have the law reference
field filled out, so we're taking the "invisible" clause
out of the view.

Task: https://www.odoo.com/web#id=3010849&model=project.task
opw-3010849

closes odoo/odoo#105238

X-original-commit: cdb90133ae463f62ade82f67ac89293e09b69740
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Paolo Gatti (pgi) <pgi@odoo.com>
2022-11-08 12:42:55 +01:00
Maxime Franco 470b132a82 [CLA] add FrancoMaxime to Acsone's CLA
closes odoo/odoo#102541

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-11-08 12:42:50 +01:00
krha-odoo 6f93f7bc63 [FIX] sale_management: fix wrong kpi_sale_total_value calculation
Before this commit, if two or more lines in sale_report had the same value as price_total, they were group together in _compute_kpi_sale_total_value and included in output sum only once. That leads to incorrect values in digest mail.

This commit fixes that issue by changing grouping column from price_total to company_id.

Steps to reproduce the issue:
----------------------------

1. Send Digest Mail for database and check values in it (assume we have both All Sales KPI and PoS KPI).
2. Create several sale_order_line and/or pos_order_line with exactly the same price_total (for example: 5 PoS transaction, each one for one product of value 10000).
2. Send Digest Mail again and check values in it.

Current behavior:
-----------------

The All Sales KPI will increase by value of only one of lines (in our example: PoS KPI will increase by 50000 = 5*10000, All Sales KPI will increase by 10000)

Expected behavior:
-----------------

All Sales KPI should include all transactions from sale_report in given period of time (all sale_order_line and pos_order_line).

opw-2938952

closes odoo/odoo#105248

X-original-commit: 804c485f6afe98c5d63cfe91ce65e0a8352fc92e
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-11-08 11:39:59 +01:00
oco-odoo db0672fa49 [FIX] account: forbid quick create on tax tags on account.move's form
Those tags should only be created by the tax reports; creating them manually makes no sense.

closes odoo/odoo#105227

X-original-commit: 116c8090da9d900c04c9257269b42c462ec77f98
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
2022-11-08 11:39:56 +01:00
Thomas Hunkapiller c3c3f13eb7 [CLA] signature for devoidfury
requested in https://github.com/odoo/owl/pull/1286

closes odoo/odoo#104761

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-11-08 11:39:49 +01:00
Brieuc-brd f4cd175131 [FIX] point_of_sale: flicker of the active article
Prior to this commit, when we clicked on an article, it would flicker on
mobile.

This commit fixes this issue.

task-3058162

closes odoo/odoo#105200

X-original-commit: ec41980851fb98da25a06de3ef79cfcb152ab5dd
Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-11-08 10:40:10 +01:00
niyasraphy 12b2aaeb57 [FIX] repair: total field label alignment
closes odoo/odoo#105145

X-original-commit: c5e910e9513a78b2b577c556080689c37a7fd40a
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2022-11-08 10:40:07 +01:00
Jacky (trj) e8da98a3ee [FIX] pos_loyalty: better labeling ewallet in partner screen
Since this balance column is used for different things (e.g. total due),
adding a label allows to properly differentiate what is what.

closes odoo/odoo#105139

X-original-commit: 4aeeceea50ca41ce3ad18950632744bee9ce1a6e
Related: odoo/enterprise#33696
Signed-off-by: Heinz Robin (rhe) <rhe@odoo.com>
Signed-off-by: Trinh Jacky (trj) <trj@odoo.com>
2022-11-08 10:39:59 +01:00
Thanh Dodeur e83168db2e [FIX] mail: ensure that the callView maintains the proper size
closes odoo/odoo#105260

X-original-commit: e39b2a8794840fced43793f1f45936b81c3c0c9e
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-11-08 09:41:10 +01:00
Antoine Guenet e3a364122d [FIX] web_editor: restore deleteForward versions of deleteBackward tests
Tests for `deleteBackward` with a non-collapsed selection should always
be repeated using `deleteForward` to ensure the behavior is indeed the
same for both. This was not the case for some of the tests.

task-3032817

closes odoo/odoo#105217

X-original-commit: 183246102406ccb4730ee2e11c8d42ccca6dce6b
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2022-11-08 09:41:07 +01:00
Antoine Guenet 8c42506648 [FIX] web_editor: properly handle deleteRange where tables are involved
Tables have their own custom selection in Odoo Editor, so rectangular
cell selection is supported. Selecting a whole row/column/table then
pressing delete/backspace removes the whole row/column/table. But just
selecting some cells should only empty them, which we failed to do,
resulting sometimes in broken tables.

The code to remove selected rows/columns/table was triggered when
pressing backspace/delete, which failed to account for cases where we
need to delete the range without pressing those keys (for instance when
typing a character). This moves that code to `deleteRange` so as to make
it the standard behavior when deleting a range that includes table
cells.

task-3032817

X-original-commit: fad5d2d7e241e22382a2f3dc0fd68eca741e59a7
Part-of: odoo/odoo#105217
2022-11-08 09:41:07 +01:00
Antoine Guenet e5c504e8b1 [FIX] web_editor: test the real browser flow for delete/backspace range
deleteBackward and deleteForward tests were just directly calling the
editor's implementation, without triggering events that are sometimes
crucial to the behavior. This is at least preventable in cases where the
selection isn't collapsed, by triggering the keydown event and calling
the document's `execCommand` function with the "delete" command.

task-3032817

X-original-commit: cd7c647f45487e8d8a763875a30e327422af4e68
Part-of: odoo/odoo#105217
2022-11-08 09:41:06 +01:00
Antoine Vandevenne (anv) 4f8b9d0a21 [REF] sale: extract a _get_payment_values from the portal controller
task-3048314

closes odoo/odoo#105199

X-original-commit: ae9e0cc50345db2bbbf0404fe6ac474b7496dd9c
Related: odoo/enterprise#33720
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
2022-11-08 09:41:03 +01:00
svs-odoo 1ecf82f120 [FIX] stock_picking_batch: xpath on company_id
Following odoo/odoo#103743
Changes the xpath adding the `batch_id` in the picking list view from
before `company_id` to after `picking_type_id` because the linked commit
added an invisible `company_id` at the start of the list, so the
`batch_id` was wrongly placed.

closes odoo/odoo#104981

X-original-commit: d3f6bd6f12048233b57566cdedf6f2b22a45dd93
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Steve Van Essche <svs@odoo.com>
2022-11-08 09:40:57 +01:00
Pierre-Yves Dufays 69f0b49b89 [IMP] mail: improve look of the settings
To stay consistent with other option layout, we show the sub email server
configurations, Gmail and Outlook server, not nested to the custom server
option but as standard options.

Task-3033042

closes odoo/odoo#104015

Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
2022-11-08 09:40:55 +01:00
Walid HANNICHE (waha) 6839d21f3c [FIX] web: time picker should always be LTR
Steps to reproduce:
1-set language to an LTR language (arabic / hebrew...)
2-select any field with the date-time range widget (eg: planning>add)
3-the hour and the minute selection is reversed.

Bug:
the hours and minutes order depends on the language orientation where
they should always follow this format HH:MM

Fix:
force the time to be displayed Left To Right regardless of language

opw-2953221

closes odoo/odoo#105255

X-original-commit: 8d396fd8800baf29a9242987b610e3bb7b9da265
Signed-off-by: Walid Hanniche (waha) <waha@odoo.com>
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-11-08 08:44:14 +01:00
Tommy (tong) d958068582 [ADD] l10n_ph
- add philippines localization

task-2713149

closes odoo/odoo#105062

X-original-commit: 60b9738f7923135ec018fbdcd2cbbfa6de8c75e0
Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
2022-11-08 07:46:40 +01:00
Tommy (tong) e2087458ed [IMP] base_uat: update ph vat format
X-original-commit: 45fc41470f3b83fc6e2130f40bb1d4deb366a659
Part-of: odoo/odoo#105062
2022-11-08 07:46:40 +01:00
Odoo's Mergebot a70032b12c [FW][FIX] analytic: constraint multi-company on distribution model
Before this fix, the constraint did not prevent changing the company to a bad one on an existing field.
We also remove the GROUP BY clause as it is useless.
Another query was also useless in `analytic_account.py` and has been removed.

closes odoo/odoo#105259

Forward-port-of: odoo/odoo#105129
Signed-off-by: William André (wan) <wan@odoo.com>
2022-11-08 01:28:17 +01:00
gawa-odoo cee5a63349 [FIX] analytic: remove useless query
This query itself is useless and its result is never watched.

X-original-commit: 1e15dff32d224ed0dafc32d1b7bab37c56d58fba
Part-of: odoo/odoo#105259
2022-11-08 01:28:16 +01:00
gawa-odoo 2ea10e2942 [FIX] analytic: constraint multi-company on distribution model
Before this fix, the constraint did not prevent changing the company to a bad one on an existing field.
We also remove the GROUP BY clause as it is useless.

X-original-commit: 2d5879cd8d84edcc16c55622b86c724f70055b03
Part-of: odoo/odoo#105259
2022-11-08 01:28:16 +01:00
Denis Ledoux e6c274f7a3 [FIX] base: remove useless res.config.settings _get_view override
The code removed by this revision was added at a time any user
could access the `res.config.settings` model, including non-admins.
odoo/odoo@a468aee518
So, it made sense at the time to make the module installation checkboxes
readonly for non-admin users accessing the settings.

However, since revision
https://github.com/odoo/odoo/commit/65530dfd6a0486f44134917f5cc42a2c30b95762#diff-e275aaa5de11da2815c2f0cc18bc046f967df5e4eba94999ee55ffe8926c87bdR109
the `res.config.settings` model is restricted to admins only,
who have the write access the `ir.module.module` model.

This override is therefore pointless,
as since then it's impossible for non-admins to access
the settings.

closes odoo/odoo#105254

X-original-commit: d43896c0bb88310ec2bbb87c4dc355d2bd7faad9
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2022-11-08 00:36:54 +01:00
odoo d6b5ffa365 [FIX] mail: Slight hover style on the buttons in the composer
This commit fixes missing hover style on the buttons in the composer.

Task-3050035

closes odoo/odoo#105242

X-original-commit: 2c1d09be03ff9d76d2c3e8189ce89f4a37d45859
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-11-07 23:40:01 +01:00