102 Commits
Author SHA1 Message Date
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier 8666e82b80 Rename 'done' buttons to 'do' and label them as "Complete"
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier 9193a425d1 Store model name on ir.model.access 2024-04-06 14:10:01 +02:00
Cédric Krier 2f84af4adf Allow to ignore cancelled advance payment invoices
Since b5a7c00ebf5c there is a domain on ignored invoices which should include
advance payment invoices.

Closes #13148
2024-04-01 15:15:50 +02:00
Cédric Krier 02f21576f5 Include advance payment invoices when searching by sales
Closes #13148
2024-04-01 15:16:31 +02:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 69bdce8b29 Use include directive for subdirectory documentation
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier 40b8cf0eca Support linkcheck ignore per module documentation
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier 276fc2a55d Group the creation of advance payment invoices from sale
It is faster to save the invoices all at once.
2024-01-03 13:47:46 +01:00
Cédric Krier f38c760c2d Append recalled lines from sale advance payment to invoice
This prevents extra save of the invoice and lines by taking advantage of the
process decomposition of bdbd8ba02e94.
2024-01-03 13:40:01 +01:00
Cédric Krier 4841c130de Save invoice before adding recalled lines from sale advance payment
Closes #12889
2024-01-03 13:30:22 +01:00
Cédric Krier 406092be4d Check doctest files
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier 2743dc7a06 Set IGNORE_EXCEPTION_DETAIL option flag on doctest
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier 14596be0b8 Add CompanyTestMixin to sale advance payment tests
Closes #12845
2023-12-19 18:09:12 +01:00
Cédric Krier d67158f723 Inherit access from sale for advance payment condition 2023-12-19 18:05:28 +01:00
Cédric Krier 6188d35854 Add missing company context to line of advance payment term line account 2023-12-19 18:03:19 +01:00
Cédric Krier 2d8df237dd Do not fill invoice date when advance payment condition has no delay
Closes #12844
2023-12-19 16:22:05 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier c5a3340851 Update taxes when create invoices 2023-07-25 15:34:01 +02:00
Sergi Almacellas Abellana 694243293b Set taxes date on recall invoice lines
Closes #12513
2023-08-23 09:42:20 +02:00
Cédric Krier 61aceb4f19 Use One2Many for searching advance and recalled invoice line
The method get_recall_lines is called by create_invoice which is called from
the processing loop on the sales. So it is better to use relation fields
instead of triggering search query on each iteration.
2023-08-29 17:35:58 +02:00
Cédric Krier 5f42fb244a Add test scenario for sale advance payment with invoice on shipment
#12319
2023-08-29 17:07:45 +02:00
Cédric Krier 203fd3a1cf Recall advance line only for the amount not yet recalled
The method get_recall_lines is called each time an invoice is created so it
should consider the amount previously recalled.

Closes #12319
2023-08-29 17:06:55 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier fbe77f6a39 Allow to extend the invoices list to compute invoice state of sale and purchase
So advance payment invoices can be included in the original computation
instead of duplicating the computation since changeset 1a763ffe4a66 renamed
waiting into pending and add more states.
2023-03-16 13:22:19 +01:00
Cédric Krier 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +01:00
Cédric Krier eb4694b901 Add stock_first option to supply_on_sale
Closes #11955
2023-02-26 10:41:40 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Cédric Krier 61324ec547 Replace lstrip usage to remove field name from clause operand
Closes #12041
2023-01-29 00:46:36 +01:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +01:00
Cédric Krier 69a1be6404 Assign all possible shipments and productions when trying
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.

Closes #7006
2023-01-14 15:41:26 +01:00
Sergi Almacellas Abellana 9d7dfddb6e Run isort on all files 2023-01-11 14:42:13 +01:00
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00
Cédric Krier 5f8b891f62 Increase verbosity of tox 2022-12-28 00:26:31 +01:00
Cédric Krier 98cbb23f58 Improve setup.py
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier c35e1ad98d Use modulo on minor version to set latest series for documentation 2022-12-20 12:43:56 +01:00