- Sep 03, 2023
-
-
Odoo Translation Bot authored
-
- Jul 16, 2023
-
-
Odoo Translation Bot authored
-
- Jun 18, 2023
-
-
Odoo Translation Bot authored
-
- May 28, 2023
-
-
Odoo Translation Bot authored
-
- Apr 30, 2023
-
-
Odoo Translation Bot authored
-
- Apr 23, 2023
-
-
Odoo Translation Bot authored
-
- Apr 16, 2023
-
-
Odoo Translation Bot authored
-
- Apr 09, 2023
-
-
Odoo Translation Bot authored
-
- Mar 26, 2023
-
-
Odoo Translation Bot authored
-
- Mar 06, 2023
-
-
Yolann Sabaux authored
Steps to reproduce: - Create a new journal Bank - In Sequence, find the 'New Bank Check" and edit it so the sequence can be 10 number digits long - Create a Vendor Payments with the the New Banck and Check as a method - Click on Print a check - Set the check number to 2147483648 and validate - Create a new payment with the check method - Click on Print a check Issue: Error is raised Cause: As for https://github.com/odoo/odoo/pull/112832 there is a second check in order to increment the check number opw-3140973 closes odoo/odoo#114393 Signed-off-by:
John Laterre (jol) <jol@odoo.com>
-
- Feb 26, 2023
-
-
Odoo Translation Bot authored
-
- Feb 22, 2023
-
-
Yolann Sabaux authored
Steps to reproduce: - Create a new journal Bank - In Sequence, find the 'New Bank Check" and edit it so the sequence can be 10 number digits long - Create a Vendor Payments with the the New Banck and Check as a method - Click on Print a check - Set any number > 2147483647 and validate Issue: Traceback Cause: The query SQL make a check to verifiy that the number is correct ('025'::integer == '25'::integer but '025'!='25) But using INTEGER limits the number up to 2147483647 (https://www.postgresql.org/docs/current/datatype-numeric.html ) Solution: Use BIGINT whose limit is 9223372036854775807 opw-3140973 closes odoo/odoo#112832 Signed-off-by:
John Laterre (jol) <jol@odoo.com>
-
- Jan 08, 2023
-
-
Odoo Translation Bot authored
-
- Dec 11, 2022
-
-
Odoo Translation Bot authored
-
- Nov 06, 2022
-
-
Odoo Translation Bot authored
-
- Nov 03, 2022
-
-
Guillaume (guva) authored
When printing a check that comes from an expense, the check has no reference to the move from which the payment has been created. The reason is that we filter the move by taking only outbounds to complete the check informations, but moves from an expense are of type entry. With this commit, we allow moves coming from expense to be taken into account by adding a check on line_ids.expense_id. opw-3044141 closes odoo/odoo#104493 Signed-off-by:
John Laterre (jol) <jol@odoo.com>
-
- Jul 17, 2022
-
-
Odoo Translation Bot authored
-
- Jun 12, 2022
-
-
Odoo Translation Bot authored
-
- May 11, 2022
-
-
Guillaume (guva) authored
With this commit, we allow mutliple payments with manual check printing. Steps to reproduce: - With manual check numbering - Create +=3 vendor bills - In bills list view, select all bills and register payment - Select Checks as payment methos, and validate -> Validation Error: The following numbers are already used ... Setting the check_numbers before calling the super of payment.action_post. opw-2830586 closes odoo/odoo#90929 Signed-off-by:
Florian Gilbert <flg@odoo.com>
-
- May 09, 2022
-
-
Guillaume (guva) authored
revert of 135f3d7b373d07fb1f0a27145df3d3cd9fc28337 We don't want to consume a sequence in a compute. closes odoo/odoo#90847 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- May 06, 2022
-
-
Ivan Yelizariev authored
In some languages and layout the currency symbol might be wrapped in a separate line, which is not acceptable from accounting point of view. Fix it by replacing space with a special symbol. STEPS for v15: * install MX localization; * create a Spanish speaking customer * generate a pdf: 1) Create quotation with products 2) Add IVA 16%tax 3) print a report BEFORE: the currency symbol is incorrectly displayed on a separate line AFTER: currency symbol is always with the amount --- https://github.com/odoo/odoo/pull/89722 opw-2829138 closes odoo/odoo#90591 X-original-commit: a9d38db2 Related: odoo/enterprise#26978 Signed-off-by:
William André (wan) <wan@odoo.com> Signed-off-by:
Ivan Elizaryev (iel) <iel@odoo.com>
-
Guillaume (guva) authored
Apply next sequence check number with multiple payments Steps to reproduce: - With manual check numbering - Create +=3 vendor bills - In bills list view, select all bills and register payment - Select Checks as payment methos, and validate -> Validation Error: The following numbers are already used ... Remove the action_post method as it was not necessary anymore because we compute the check_number in the compute_check_number method. The check number should be computed only if the payment is posted, that's why we filter on payment state. opw-2830586 closes odoo/odoo#90193 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- May 01, 2022
-
-
Odoo Translation Bot authored
-
- Apr 11, 2022
-
-
Don Kendall authored
Part-of: odoo/odoo#81259
-
- Apr 10, 2022
-
-
Odoo Translation Bot authored
-
- Apr 07, 2022
-
-
Carlos Dauden authored
Unnecessary call to _create_check_sequence because is called in create method and create is called in supper().copy() TT35608 closes odoo/odoo#88111 X-original-commit: 2f83737b Signed-off-by:
Florian Gilbert <flg@odoo.com>
-
- Mar 13, 2022
-
-
Odoo Translation Bot authored
-
- Mar 06, 2022
-
-
Odoo Translation Bot authored
-
- Feb 21, 2022
-
-
Hoang Tran authored
When install the module on a db with huge amount of account move, prefetching data when accessing partner_id of first move iteration is costly and should be avoided. closes odoo/odoo#84301 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Feb 15, 2022
-
-
Odoo Translation Bot authored
-
- Feb 02, 2022
-
-
Moises Lopez authored
The method constraint to validate the Check Number is slow 1. Analyzing the following query: ```sql SELECT payment.check_number, move.journal_id FROM account_payment payment JOIN account_move move ON move.id = payment.move_id JOIN account_journal journal ON journal.id = move.journal_id, account_payment other_payment JOIN account_move other_move ON other_move.id = other_payment.move_id WHERE payment.check_number::integer = other_payment.check_number::integer AND move.journal_id = other_move.journal_id AND payment.id != other_payment.id AND payment.id IN (1085159) AND move.state = 'posted' AND other_move.state = 'posted'; ``` The output is: Planning Time: 3.354 ms Execution Time: 2514.660 ms Discarding null values ```diff AND other_move.state = 'posted'; + AND payment.check_number IS NOT NULL + AND other_payment.check_number IS NOT NULL ``` The output is Planning Time: 3.216 ms Execution Time: 0.140 ms 2. The constraint is computed even if the payment is not a check (check_number is empty) Returning early save useless extra computating It is not needed to compare falsy values for duplicated for whole table 3. The validation to check is it not a number is not optimal It is transforming the string -> integer -> string to check if the string is not a number but it is enough using only string -> integer not needed to transform to string again python3 -m timeit -u msec -s "check_numbers = [str(i) for i in range(1000000)]" "[str(int(i)) for i in check_numbers]" > 1 loop, best of 5: 323 msec per loop python3 -m timeit -u msec -s "check_numbers = [str(i) for i in range(1000000)]" "[int(i) for i in check_numbers]" > 2 loops, best of 5: 135 msec per loop It is better but not enough, using `str.isdigit` method is 5x faster than original approach python3 -m timeit -u msec -s "check_numbers = [str(i) for i in range(1000000)]" "[i.isdecimal() for i in check_numbers]" > 5 loops, best of 5: 64 msec per loop closes odoo/odoo#82595 Signed-off-by:
Olivier Colson <oco@odoo.com>
-
- Jan 09, 2022
-
-
Odoo Translation Bot authored
-
- Jan 02, 2022
-
-
Odoo Translation Bot authored
-
- Dec 19, 2021
-
-
Odoo Translation Bot authored
-
- Nov 28, 2021
-
-
Odoo Translation Bot authored
-
- Oct 24, 2021
-
-
Odoo Translation Bot authored
-
- Oct 03, 2021
-
-
Odoo Translation Bot authored
-
- Aug 08, 2021
-
-
Odoo Translation Bot authored
-
- Aug 01, 2021
-
-
Odoo Translation Bot authored
-
- Jul 26, 2021
-
-
Xavier-Do authored
The license is missing in most enterprise manifest so the decision was taken to make it explicit in all cases. When not defined, a warning will be triggered starting from 14.0 when falling back on the default LGPL-3. closes odoo/odoo#74231 Related: odoo/enterprise#19850 Related: odoo/design-themes#43 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-