Commit Graph
42 Commits
Author SHA1 Message Date
Cédric Krier 2f043d6273 Increase version number
--HG--
branch : 7.0
2024-10-05 17:52:00 +02:00
Cédric Krier 4d68edddeb Prepare release sale_advance_payment-7.0.3
--HG--
branch : 7.0
2024-10-05 17:51:52 +02:00
Cédric Krier e18d53e99c Test if origin id is greater or equals to 0 before accessing the target record
Closes #13498
(grafted from 497490225779fc8dc210c9cee997cd5ce4b4381e)

--HG--
branch : 7.0
2024-09-09 12:46:16 +02:00
Cédric Krier 81c97bedca Increase version number
--HG--
branch : 7.0
2024-04-17 12:37:44 +02:00
Cédric Krier 7bb3ce6b52 Prepare release sale_advance_payment-7.0.2
--HG--
branch : 7.0
2024-04-17 12:37:36 +02:00
Cédric Krier 54d77e58d7 Include advance payment invoices when searching by sales
Closes #13148
(grafted from 078410b3e2abd2b1a8e685d6109937dab076c3c6)

--HG--
branch : 7.0
2024-04-01 15:16:31 +02:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier d1cacebe38 Increase version number
--HG--
branch : 7.0
2024-02-03 12:21:39 +01:00
Cédric Krier 4249550aca Prepare release sale_advance_payment-7.0.1
--HG--
branch : 7.0
2024-02-03 12:21:22 +01:00
Cédric Krier 501c673947 Save invoice before adding recalled lines from sale advance payment
Closes #12889
(grafted from c29cbc1bda0c75a6eee0653240d5c76309aafb57)

--HG--
branch : 7.0
2024-01-03 13:30:22 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +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
Cédric Krier 5d3e4a39f2 Prepare migration to monorepo 2022-12-16 23:16:08 +01:00
Cédric Krier 41cd4fd5ba Prepare migration to monorepo 2022-12-16 16:31:51 +01:00