Cédric Krier
cf0b20da58
Do not change line type when calling on_change_product
...
The wizard to modify header calls on_change_product on all lines but their
type must not change.
Closes #12633
2023-10-22 10:36:20 +02:00
Cédric Krier
120c0f745e
Add scenario to test default taxes for sale without product
2023-10-04 17:18:23 +02:00
Cédric Krier
7f341ec3ed
Do not consider sale as done when invoice or shipment state are none
...
If there are still line to invoice or to ship, the sale should not be done.
Closes #12594
2023-09-27 12:29:36 +02:00
Cédric Krier
8a7aaeb278
Do not invoice non order line
...
As we can only ensure to keep the layout for the first invoice, it is less
astonishing for the user that we never invoice the non lines.
2023-08-26 14:59:59 +02:00
Cédric Krier
f03ccfd7a6
Round price returned by get_sale_price
2023-08-17 17:57:32 +02:00
Cédric Krier
8eb77eb3c5
Add a button to create shipment manually from sale
...
Closes #12412
2023-07-19 15:26:39 +02:00
Cédric Krier
6b4c649367
Add a button to create invoices manually from sale
...
#12412
2023-07-19 13:27:34 +02: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
68753ff402
Run action from button with proteus
2023-01-17 14:39:18 +01:00
Sergi Almacellas Abellana
e779b8107e
Add rec_name searcher on reporting models
...
Closes #11263
2023-01-09 14:49:16 +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
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
afd878c309
Prepare migration to monorepo
2022-12-16 16:16:40 +01:00