Commit Graph
446 Commits
Author SHA1 Message Date
Cédric Krier 962bdd2c2a Support country organization for tariff code and duty rate
Closes #11838
2022-12-26 15:02:52 +01:00
Cédric Krier 6f8a705fbb Set border to avatar images
We use circle for individuals and rounded for group like companies.
2023-01-15 15:16:14 +01:00
Cédric Krier 1df14f932b Factorize explode bom to use depends
Closes #11916
2022-12-26 13:22:06 +01:00
Cédric Krier 9936e46e22 Rename reconciliation name to number 2023-01-08 20:10:39 +01:00
Cédric Krier a39d25b354 Pass the grouped instance to the grouping methods
This allows more possibilities to implement grouping methods.
2023-01-14 17:25:39 +01:00
Cédric Krier 5904eabe4a Use correct name for test scenario of sale shipment grouping 2023-01-14 17:11:07 +01:00
Cédric Krier d2664f898d Test shipment grouping with return for #11998 2023-01-14 17:10:40 +01:00
Cédric Krier dd742edc48 Group only with the fields existing on the shipment
Closes #11998
2023-01-14 17:09:52 +01:00
Cédric Krier db729e10c7 Assign supplied outgoing moves instead of inventory moves
If the output location is the same as the storage location, there is no
inventory moves on the outgoing shipment, so the outgoing moves must be
assigned.
If the input location is the same as the storage location, there is neither
inventory moves on the incoming shipment, so the quantity must be computed
based on the incoming moves.

Closes #11972
2022-12-29 18:19:37 +01:00
Sergi Almacellas Abellana 0287507f85 Update parent and replaced_by when template has no taxes
Closes #11891
2023-01-09 14:34:21 +01:00
Cédric Krier 63400adeb3 Add intracom tax amount of credit note to tax code 62 for Belgian accounting 2022-12-23 19:21:56 +01:00
Cédric Krier e121edc9ec Ignore explicitly stock moves for assignation
Closes #11945
2022-12-18 15:40:10 +01:00
Cédric Krier e47c19d361 Re-order XML record definition
The records are grouped per model inside the parent XML file.

Closes #2722
2023-01-10 01:04:55 +01:00
Cédric Krier 67ab4cacc9 Rename XML id of purchase request access for purchase group
Closes #2732
2023-01-09 01:07:38 +01:00
Cédric Krier 968fed93ad Use minimal date as default date for testing currency rate
Closes #9977
2023-01-11 01:27:25 +01:00
Sergi Almacellas Abellana 9d7dfddb6e Run isort on all files 2023-01-11 14:42:13 +01:00
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