Commit Graph
430 Commits
Author SHA1 Message Date
Cédric Krier 9ddac9db52 Create next fiscal year using renew wizard in budget scenario
Since 4510115eabf7, fiscal year from scenario are centered around the date. So
using the next day after the last day of the previous fiscal year, creates an
overlap.

Closes #12002
2023-01-12 22:35:56 +01:00
Cédric Krier 3e4311eb5e Do not enforce empty shipment cost method for draft sale
As draft sale can be created by other modules, we must put such constraint
when quoting the sale.

Closes #11900
2023-01-03 11:23:03 +01:00
Cédric Krier f832c45b51 Require a carrier to quote sale with shipment cost method
Closes #11985
2023-01-03 11:17:51 +01:00
Cédric Krier 83d8ff7547 Fallback to 0 when price list is not setting price ratio of components
Closes #11947
2023-01-08 17:51:20 +01:00
Sergi Almacellas Abellana c29200fccb Fix typo in SII documentation 2023-01-09 14:09:04 +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 955201d97f Assign only customer shipment with supplied quantities
Closes #11959
2023-01-01 17:08:48 +01:00
Nicolas Évrard 2da82e2b94 Accrue and allocate rounding errors when there are multiple taxes
Closes #11317
2022-12-25 18:55:17 +01:00
Nicolas Évrard 458f6b0327 Allow rounding with opposite method 2022-12-25 18:54:30 +01:00
Cédric Krier eddb82a7a1 Remove default value for default lead time
Backed out changeset 5cbf7bd159a7
Closes #11971
2022-12-29 16:58:28 +01:00
Nicolas Évrard 7cbee84611 Skip on_change_parent on already saved account
Closes #11871
2023-01-02 22:00:47 +01:00
Sergi Almacellas Abellana c2a8b8c953 Clear requests when copying purchase lines
Closes #11989
2023-01-04 13:59:46 +01:00
Cédric Krier debee0cd4d Remove trailing comma on time_series definition on purchase reporting per supplier
Closes #11990
2023-01-04 18:59:24 +01:00
Cédric Krier ca7acae653 Add index on id and lift
It can be used by the database to optimize the search of rules.

Closes #11843
2022-12-30 13:59:04 +01:00
Sergi Almacellas Abellana 670428ab10 Skip blocked payments when creating direct debits
Closes #11983
2023-01-02 16:01:13 +01:00
Cédric Krier a78cc046d6 Add note about configuring CORS for same SAML providers 2022-12-30 13:15:27 +01:00
Cédric Krier 2327f6489c Remove direct dependency to Werkzeug
Closes #11407
2022-12-31 00:05:40 +01:00
Cédric Krier 5d074f963a Set write-off as default when paying exact amount of invoice
When paying the exact remaining amount of an invoice with different currency,
it should normally be a payment with write-off for exchange rate.

Closes #11821
2022-12-30 23:37:56 +01:00
Cédric Krier 0ae1b367eb Set depends on is_valid_product_for_blanket_agreement
Closes #11880
2022-12-26 22:39:40 +01:00
Cédric Krier f9be31007f Raise error message with record name and field in check_xml_record
Closes #11867
2022-12-26 13:18:22 +01:00
Cédric Krier f06a03d322 Fallback to full history file if date is not found in the 90 days
Closes #11976
2022-12-30 15:59:15 +01:00
Cédric Krier 97d0c1dc45 Update fiscal year when changing company of a budget 2022-12-30 11:59:28 +01:00
Cédric Krier 447d768cd5 Convert line quantity into product default unit to compare with forecast
The forecast quantity on product is always in the default unit. So to make the
same test as on check stock quantity, we need to convert the line quantity
into the default product unit.

Closes #11958
2022-12-29 13:37:12 +01:00
Sergi Almacellas Abellana e2cf0863e1 Backed out changeset bea854287e00 2022-12-28 13:17:11 +01:00
Sergi Almacellas Abellana 4247b28119 Add party_communication module
Closes #11911
2022-12-28 12:43:57 +01:00
Cédric Krier fcd4b4f1f0 Allow stock lot to be deactivated
Closes #11931
2022-12-25 11:08:04 +01:00
Cédric Krier 468ca93e07 Use match pattern to find journal
Closes #11884
2022-12-26 15:08:29 +01:00
Cédric Krier 2f2364672e Add invoice party and description to invoice line list
Closes #11904
2022-12-26 22:21:55 +01:00
Cédric Krier 1267519fbd Add relate from product to lots
Closes #11873
2022-12-26 22:44:14 +01:00
Cédric Krier f36318178e Do not use closed account in test tools
Closes #11932
2022-12-24 17:49:47 +01:00
Cédric Krier b5aebfe3d4 Do not copy number of lot with sequence
Closes #11593
2022-12-25 11:40:25 +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 132a3ba5b5 Add support for PyPDF2 method for versions: 1, 2 and 3
Closes #11961
2022-12-23 17:13:53 +01:00
Cédric Krier 5b3f5cc43c Support PyPDF2 version 3.0.0
PdfFileReader and PdfFileWriter raise a deprecation exception at run time but
the new names have been introduced only in version 2.0.0, 6 months ago.

Closes #11961
2022-12-23 12:52:39 +01:00
Cédric Krier 4e2adb5f0f Add random description in MyGLS scenario
When the scenario is run too much time in parallel, MyGLS API raises an error
for "Same request sent 5 times within last 5 minutes."

Closes #11956
2022-12-22 01:28:24 +01:00
Cédric Krier 8e7bd89b29 Replace label by literal in documentation 2022-12-20 14:07:50 +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 1c143a3b84 Merge new root 2022-12-16 22:09:47 +01:00
Cédric Krier 235a55f5a8 Prepare migration to monorepo 2022-12-16 22:05:21 +01:00
Cédric Krier 05c9fe3cf1 Merge new root 2022-12-16 22:05:16 +01:00
Cédric Krier 95fe659f4c Prepare migration to monorepo 2022-12-16 21:59:58 +01:00
Cédric Krier 770822fe06 Merge new root 2022-12-16 21:59:53 +01:00
Cédric Krier ffc60e4462 Prepare migration to monorepo 2022-12-16 21:58:48 +01:00
Cédric Krier 8fb3f2abe4 Merge new root 2022-12-16 21:58:44 +01:00
Cédric Krier 9955a3f20a Prepare migration to monorepo 2022-12-16 21:57:00 +01:00
Cédric Krier d53d2ed464 Merge new root 2022-12-16 21:56:52 +01:00