Cédric Krier
38da6a0451
Increase version number
2023-10-30 18:51:13 +01:00
Cédric Krier
65f477f731
Prepare release 7.0.0
2023-10-30 18:17:32 +01:00
Cédric Krier
76c00d3133
Update amount when changing unit or taxes of purchase line
...
Closes #12648
2023-10-29 14:23:34 +01:00
Cédric Krier
c577fad900
Update translations [skip ci]
2023-10-28 14:15:23 +02:00
Maxime Richez
b6db068130
Prevent changing party, template and product on product supplier
...
Closes #12607
2023-10-26 22:53:18 +02:00
Cédric Krier
88edde8e69
Depend on product supplier unit to compute unit on price
...
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.
Closes #12653
2023-10-22 12:37:04 +02:00
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
420e0a48d6
Add pairwise_longest tools
2023-10-18 23:11:07 +02:00
Cédric Krier
7e2c1f8cbd
Do not raise StopIteration when calling pairwise with empty iterable
...
Closes #12652
2023-10-18 18:28:04 +02:00
Cédric Krier
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
e2e05b146c
Use purchase line unit when invoice line has no unit
...
Closes #12462
2023-10-09 18:31:37 +02:00
Cédric Krier
83d817309c
Add scenario to test default taxes for purchase without product
2023-10-04 17:19:01 +02:00
Cédric Krier
bf71a702c9
Compute taxes when purchase is changed on line
...
Closes #12612
2023-10-04 17:18:47 +02:00
Cédric Krier
66e460b97d
Do not consider purchase as done when invoice or shipment state are none
...
If there are still line to invoice or to receive, the purchase should not be
done.
Closes #12594
2023-09-27 12:30:12 +02:00
Cédric Krier
96a24bcaf6
Remove extra button group access
...
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.
Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier
bdb43b84b2
Remove trailing comma on time_series definition on purchase reporting per product
...
Closes #12605
2023-10-02 09:44:26 +02:00
Cédric Krier
10525611df
Add warning when receiving too much goods from purchase
...
Closes #12521
2023-08-24 18:18:15 +02:00
Cédric Krier
4268b22ad2
Require unit price only for confirmed purchase
...
This allows to send quotation to supplier without prices and fill them when
the quotation is received.
Closes #12498
2023-08-17 19:19:51 +02:00
Cédric Krier
c5a3340851
Update taxes when create invoices
2023-07-25 15:34:01 +02:00
Cédric Krier
a20b805f16
Store original planned date of stock move and compute delay
2023-09-10 21:28:51 +02:00
Cédric Krier
ec93032df8
Restore get purchase unit price
...
2f25450e11f6 removes it but it is needed for purchase_price_list module.
2023-09-24 16:49:52 +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
ccfd9e0797
Create invoice line for not line only if it is for the first invoice
...
This is the only case where we are sure that the layout will be conserved.
Closes #12320
2023-08-25 22:37:22 +02:00
Cédric Krier
a4cb3f9f61
Normalize Unit of Measure labels
...
For short label, we only use UoM with an help text showing with capital letter
the meaning of UoM.
2023-08-20 12:17:27 +02:00
Cédric Krier
cb08557fad
Rename Uom to Unit for move and inventory
...
Closes #2221
2023-08-22 13:18:33 +02:00
Cédric Krier
d44297eae6
Rename UOM to Unit for product supplier
...
Closes #2221
2023-08-21 09:30:21 +02:00
Cédric Krier
0a6e049de2
Pre-validate invoice address when confirming purchase
...
The invoice address is only required from confirmation.
Closes #12499
2023-08-17 19:29:48 +02:00
Cédric Krier
536d95a219
Do not require purchase date when pre-validate on quotation
...
The purchase date is filled by default on confirmation.
Closes #12499
2023-08-17 19:24:03 +02:00
Cédric Krier
297a9f4f1d
Use price from last purchase as product price
...
The cost price is not really relevant as purchase price because it may include
extra cost like landed cost.
Closes #12494
2023-08-17 16:26:09 +02:00
Cédric Krier
3cbb0efb43
Order by descending id to get the last 10 purchases
...
Closes #12497
2023-08-17 16:18:21 +02:00
Cédric Krier
d44f20599a
Keep the existing purchase price if the price from the product is empty
2023-08-17 16:16:17 +02:00
Cédric Krier
4430198462
Set only once date when computing purchase and sale prices
2023-08-17 16:13:40 +02:00
Cédric Krier
4deaaf59a2
Round price returned by get_purchase_price
2023-08-17 17:57:11 +02:00
Cédric Krier
982356c4ab
Test purchase invoice to skip using instance
...
Since baf7fc59e2d4 skips contains a sets of instances instead of of ids.
Closes #12476
2023-08-16 18:30:57 +02:00
Cédric Krier
523bcd4011
Use module name to build path for readthedocs requirements
2023-09-03 12:03:49 +02:00
Cédric Krier
6a06579e13
Use Sphinx book theme for documentation
2023-09-01 09:44:09 +02:00
Sergi Almacellas Abellana
c9b90a362c
Add search context fields to purchase line product depends
...
They should be added explicity because they are not included in display_depends
nor edition_depends
Closes #12407
2023-07-19 11:46:44 +02:00
Cédric Krier
3dac1d819d
Add a button to create invoices manually from purchase
...
#12412
2023-07-19 11:26:33 +02:00
Cédric Krier
adc26533da
Add .readthedocs.yaml configuration [skip ci]
...
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/
Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier
84b2c346b5
Remove unnecessary group on menu
...
Menu with an action window do not anymore to be hidden by group for access
since #12322
2023-06-23 14:51:59 +02:00
Cédric Krier
f2ebadf1da
Test company header is not empty before using its id
...
Closes #12363
2023-07-18 22:58:23 +02:00
Cédric Krier
aa1475a467
Use boolean value when enforcing value to edit delivery date of purchase line
...
The clients always convert Boolean field values into boolean so the domain
validation against None value is always failing.
Closes #12306
2023-06-05 15:18:11 +02:00
Cédric Krier
b0590200db
Set invoice journal only when type is changed
...
Using on_change_with does not work correctly for editable field because the
value may be changed when the user does not expect it.
2023-04-29 12:57:57 +02:00
Cédric Krier
dc3afbd016
Define process delay per sale and purchase
...
Closes #12209
2023-04-12 13:42:18 +02:00
Cédric Krier
5335a2022d
Convert sum attribute into boolean
2023-05-06 14:25:22 +02:00
Adrià Tarroja Caubet
960c220329
Remove migrations previous to 5.0
...
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier
1a11e103bf
Increase version number
2023-05-01 14:11:22 +02:00
Cédric Krier
1901135502
Prepare release 6.8.0
2023-05-01 13:19:11 +02:00
Cédric Krier
84a2b5e271
Update translations
2023-04-29 10:07:40 +02:00
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