Cédric Krier
5c3f4e503e
Use fixed location type to compute quantity to invoice for sale and purchase
...
Using the computed location to get the expected type is not reliable because
for return order, the location can be of different type and the stock move can
change of location type.
Closes #12203
2023-04-13 17:45:09 +02:00
Cédric Krier
a1538856b7
Fill taxes from default account for sale and purchase line without product
...
Closes #2479
2023-04-09 19:58:49 +02:00
Cédric Krier
b9c4b8230d
Return instance in on_change_with methods
2023-03-26 09:49:00 +02:00
Cédric Krier
9ad95c58ed
Log modification of sale and purchase header via wizard
2023-02-08 19:05:00 +01:00
Cédric Krier
ea62dea8da
Log transition of invoice and shipment states of sale and purchase
2023-02-08 19:04:42 +01:00
Cédric Krier
810780a789
Remove purchasable constraint on product when quantity is negative
...
Closes #9057
2023-03-23 17:37:34 +01:00
Cédric Krier
ac4d4a7fbb
Use multivalue API to access product multivalue fields
...
Closes #7474
2023-03-19 19:57:30 +01:00
Cédric Krier
e20b7a15ce
Use instances in skip sets instead of id
2023-03-16 13:31:20 +01:00
Cédric Krier
881cbcfb2c
Rename moves exception and simplify computation
2023-03-12 22:11: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
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
Cédric Krier
ba701d5a38
Remove invalid fields from default copy
2023-03-15 16:11:51 +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
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
5cc5a8f672
Update tox.ini to set py311 and remove py37
2023-03-03 00:17:18 +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
f429332d97
Use right boolean operator in composite domain of searcher
...
When the clause is negative, it must return an AND-ed domain instead of OR-ed.
2023-02-16 10:39:30 +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
Maxime Richez
10466a9936
Prevent deletion of payment terms in use
...
Closes #12085
2023-02-21 12:55:12 +01:00
Maxime Richez
ad5ed8cb5f
Display stock moves and invoice lines in sale and purchase lines form
...
Closes #12003
2023-01-27 14:38:36 +01:00
Cédric Krier
84514c49de
Add relates to sale and purchase lines from party and product
2023-01-26 15:11:21 +01:00
Cédric Krier
0b159befc6
Regroup purchase and sale relates
...
By testing active_model in the domain, it is possible to simplify the number
of relate to define.
Also for relate from party, it gives more information to the user to display
the number of pending and done.
2023-01-26 15:08:56 +01:00
Cédric Krier
5eb185ab15
Prevent creating line for sale or purchase not in draft
2023-01-26 15:03:41 +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
b48e4966d5
Add functions and attribute to handle check access and active records
...
Closes #11863
2022-12-30 13:56:10 +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
aa5885ff6f
Make product supplier price list editable
...
Closes #3618
2023-01-21 20:23:51 +01:00
Cédric Krier
bb8dc2961b
Put sequence on top right of the form for product supplier price
2023-01-21 20:22:59 +01:00
Cédric Krier
cab1cf2f87
Add help text about price selection of product
...
Closes #8950
2023-01-08 18:12:49 +01:00
Cédric Krier
88ba4c7762
Expand address fields on sale and purchase form
2023-01-14 19:55:05 +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
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
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
468ca93e07
Use match pattern to find journal
...
Closes #11884
2022-12-26 15:08:29 +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
a3685dd320
Prepare migration to monorepo
2022-12-16 16:49:39 +01:00