Commit Graph
577 Commits
Author SHA1 Message Date
Cédric Krier d5e7e25d24 Make symbol of currency optional 2023-02-23 13:39:32 +01:00
Cédric Krier 6be816d947 Set order for stock moves on shipments
On shipment a good default order is by target location and product, but we add
the id to have deterministic result and remove the target location if by
design it is always the same.
On report with sequence on location, the order is fixed by the sequence of the
location.

Closes #7819
2023-02-22 16:58:23 +01:00
Cédric Krier d1f1d0b023 Add account_stock_eu module for intrastat report
Closes #11837
2023-03-12 22:21:54 +01:00
Cédric Krier c32affdc9a Use generic relate from party to invoice
Also for relate from party, it gives more information to the user to display
the number of pending and done.
2023-02-19 16:49:12 +01:00
Cédric Krier e577577c77 Use filter instead of Function field for root packages 2023-03-09 11:52:25 +01:00
Cédric Krier aa941c80a9 Group copy calls when trying to assign stock moves
Close #9802
2023-02-24 09:02:34 +01:00
Cédric Krier 1b2113addc Return purchase with a single copy call 2023-03-12 22:48:27 +01:00
Cédric Krier c62161ecb6 Return sale using a single copy call
This avoid to update the origin which is forbidden when it is an opportunity.

Closes #12116
2023-03-12 22:48:06 +01:00
Cédric Krier b49901043d Prevent filling amendent lines if purchase has not been selected
The lines depend on the selected purchase.
2023-02-27 18:04:38 +01:00
Cédric Krier 28bbd95485 Prevent filling amendent lines if sale has not been selected
The lines depend on the selected sale.
2023-02-28 11:17:47 +01:00
Cédric Krier 4dc58e30e9 Replace _parent_ expression with direct field on sale and purchase line
Since #12003 lines can be edited outside the parent form so expression should
not rely on _parent_.

Closes #12109
2023-02-27 16:37:11 +01:00
Sergi Almacellas Abellana 439d357bae Add default warehouse location on order point 2023-03-14 09:07:55 +01:00
Cédric Krier ba701d5a38 Remove invalid fields from default copy 2023-03-15 16:11:51 +01:00
Cédric Krier 4b8d1ccbab Reset next number of invoice sequences when renew fiscal year 2023-03-15 09:53:02 +01:00
Cédric Krier a5e36bc232 Do not copy password hash nor reset from user 2023-03-15 16:09:10 +01: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 b433317374 Update invoice state for purchase standalone invoice line
Changeset 5cc007f4b86ac introduced new state and renamed waiting to pending.
2023-03-15 23:24:27 +01:00
Cédric Krier 0b0ee8f74a Update shipment state test for partially shipped in drop shipment scenario 2023-03-15 16:23:45 +01:00
Cédric Krier 8dbfc67365 Replace move done by moves progress to compute drop move
Closes #12144
2023-03-15 16:23:10 +01:00
Sergi Almacellas Abellana 85a5868fc8 Add symbol on product supplier minimum and multiple quantity 2023-03-14 08:59:48 +01:00
Cédric Krier a8bb1b9b9b Ensure price ratio is Decimal for product kit
When the ratio is computed based on number of components instead of price
list.

Closes #12135
2023-03-13 22:44:43 +01:00
Cédric Krier 9e94c10a87 Test if anchor has href attribute before converting it
It is valid HTML to have anchor without href attribute.

Closes #12134
2023-03-10 12:53:00 +01:00
Maxime Richez f1a2f77405 Add partial shipment state
Closes #12004
2023-03-13 11:30:22 +01:00
Maxime Richez 146dd5fbc3 Add pending, awaiting payement and partially paid to invoice state
Closes #12005
2023-01-23 15:22:56 +01:00
Cédric Krier 928997415e Catch also syntax error when evaluate account move template 2023-03-12 17:27:11 +01:00
Juanjo Garcia 969f967f96 Check name of account move template keyword is valid identifier
Closes #12012
2023-03-12 17:25:52 +01:00
Cédric Krier b049293df0 Do not search on party when searching invoice record name
The party is not part of the record name so for consistency it should not be
searched.
2023-02-16 09:58:20 +01:00
Sergi Almacellas Abellana bf6fb5b760 Use inventory company to complete lines
Closes #12127
2023-03-09 13:37:12 +01:00
Cédric Krier 641cb7c9a4 Always raise exception when fiscal year or period are not found 2023-03-09 00:28:11 +01:00
Cédric Krier 0551bbcac2 Use specific error message for open period or fiscal year not found
Closes #9335
2023-02-20 18:38:57 +01:00
Cédric Krier c32d602221 Add cache to fiscalyear find, test state and return instance 2023-02-11 00:13:24 +01:00
Cédric Krier 45bbfa8fb5 Add cache to account period find and return instance
Closes #7705
2023-02-10 23:36:18 +01:00
Cédric Krier f237804858 Add trailing / to URLs of DPD shipping services
Closes #12098
2023-03-07 18:10:25 +01:00
Cédric Krier dd18251497 Use domain for date constraint on period
Instead of always compute the date from the period, we compute the other value
from the changed field.
The start date of the period is used for period in the future and the end date
for period in the past.

Closes #12084
2023-02-14 01:32:04 +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 6457bc5ca1 Add warning when deleting account reconciliation with write-off line
Closes #4685
2023-02-15 23:08:53 +01:00
Cédric Krier 4c38035419 Use format for the warning key when deleting reconciliation with delegated 2023-02-15 23:08:06 +01:00
Cédric Krier 01366719d5 Use generic name for warning exception when deleting account reconciliation 2023-02-15 23:06:35 +01:00
Cédric Krier b38066f87a Add second currency fields to editable account move line list
As these fields may be required if the account has a second currency, they
need to be in the editable list.

Closes #11986
2023-02-15 22:56:22 +01:00
Cédric Krier 606e1cf2d6 Update scenario to use supply on sale as selection since #11955
Closes #12113
2023-02-28 23:45:34 +01:00
Cédric Krier 182718a420 Archive emails sent by marketing automation 2023-02-09 18:50:31 +01:00
Cédric Krier 0440145051 Merge notification email logs into email archives 2023-02-09 18:50:05 +01:00
Cédric Krier ffc6f35442 Simplify stock forecast complete wizard
It set the context on the products selection so the user can see the quantity
that will be set. As it is possible to search on this quantity, there is no
more the need to prefill the selection with products having a quantity.
Also there is no need to have two steps for the wizard as the context is
computed dynamically.
2023-02-11 12:40:41 +01:00
Cédric Krier 567b504d4c Add stock invert context to compute quantity 2023-02-11 12:36:49 +01:00
Cédric Krier d2a3a8072c Enforce same type between sale, purchase line and invoice line origin 2023-02-11 19:20:49 +01:00
Cédric Krier 012334d657 Clear fields available only on sale or purchase line of type line 2023-02-11 19:20:03 +01:00
Cédric Krier eb4694b901 Add stock_first option to supply_on_sale
Closes #11955
2023-02-26 10:41:40 +01:00
Cédric Krier d90aeed235 Change supply_on_sale into selection 2022-12-21 23:52:51 +01:00
Cédric Krier 084c74f268 Always sleep before fetching new Stripe events in scenario
Closes #12100
2023-02-17 23:58:19 +01:00
Cédric Krier d000dc17e8 Fetch new Stripe events until being exhausted
#12100
2023-02-17 23:57:45 +01:00