Cédric Krier
8d9da767bb
Do not try to assign currency id to the invoice if the currency has not be found
...
Closes #13538
2024-09-20 15:52:43 +02:00
Cédric Krier
6bda7c336f
Do not format discount with currency if there is no currency
...
Closes #13531
2024-09-19 19:30:06 +02:00
Cédric Krier
8523552c12
Test invoice of invoice line before using it to compute remaining quantity
...
Closes #13534
2024-09-19 19:14:31 +02:00
Cédric Krier
6e798f98fc
Test if origin id is greater or equals to 0 before accessing the target record
...
Closes #13498
2024-09-09 12:46:16 +02:00
Cédric Krier
19153c0ab5
Do not copy origin of stock inputs and outputs when duplicate productions
2024-09-06 13:32:08 +02:00
Cédric Krier
eeb9ba5650
Do not copy origin of stock moves when duplicate shipments
...
Closes #13496
2024-09-06 13:31:44 +02:00
Cédric Krier
899d9db2ee
Format quantities of over shipment warning message with the unit
2024-09-06 10:09:14 +02:00
Cédric Krier
52a03f03df
Do not format quantities with digits in over shipment warning message
...
The rounding, due to the number of digits, may display an confusing message
for which both quantities are the same.
Closes #13495
2024-09-06 10:08:09 +02:00
Cédric Krier
60683dc14d
Round up the measurements for package shipping APIs
...
Closes #13494
2024-09-05 13:47:53 +02:00
Maxime Richez
c7177facfe
Do not reset non-existent fields on requisition in draft state
...
Closes #13532
2024-09-19 13:55:32 +02:00
Cédric Krier
62b079225f
Remove $ before series in formatted document URL without base URL
2024-09-03 17:55:42 +02:00
Cédric Krier
858757c5d7
Update scenario for the merge of warehouse_location and storage_location in order point
...
fb59b06d251b merged both fields into a single location field.
#13476
2024-09-24 18:41:47 +02:00
Cédric Krier
eefdb714b1
Group accounts per company when computing the balance, debit or credit
...
The Move.query_get relies on the contextual company to filter the lines.
So when computing an amount for an account, its company must be in the context
of the query_get call otherwise no lines will be selected and the amount is
always 0.
Closes #13483
2024-08-30 12:50:29 +02:00
Cédric Krier
c47fc79f06
Link stock moves with invoice lines only for the same quantity sign as the order line
...
When invoice lines are created to correct invoices quantity, it should not be
linked to stock moves because it comes from a stock move being cancelled.
Closes #12972
2024-08-27 13:24:29 +02:00
Cédric Krier
4a14245e10
Ensure effective date is before or after origin or outcome stock moves
...
When the source of the move is the same as the destination of its origin or
outcomes, the stock move can not be done before those moves.
When the destination of the move is the same as the source of the its origin
or outcomes, the stock move can not be done after those moves.
Closes #12851
2024-08-26 22:53:34 +02:00
Cédric Krier
2dfc489ea0
Add outcome moves to stock move
...
It contains the stock moves for which the stock move is the origin.
2024-08-26 22:49:51 +02:00
Cédric Krier
39b05c1259
Replace order point uniqueness validation by SQL constraints
...
Closes #13476
2024-08-26 19:02:39 +02:00
Cédric Krier
07eb4dc3f9
Simplify PYSON expression of order point fields
2024-08-26 19:01:42 +02:00
Cédric Krier
564598270f
Remove contextual domain on company of order point
2024-08-26 19:00:34 +02:00
Cédric Krier
f3565271a7
Merge warehouse_location and storage_location in order point
...
#13476
2024-08-26 19:08:39 +02:00
Cédric Krier
1be542991a
Add test scenario for extended intrastat export
2024-09-22 15:13:38 +02:00
Maxime Richez
a7dba58f95
Remove extra columns from Belgian standard intrastat export
...
Closes #13368
2024-09-22 15:08:43 +02:00
Cédric Krier
1da4e8811e
Group numbering account move when posting
2024-08-27 13:35:18 +02:00
Cédric Krier
0d077539bf
Store computation of invoice sequence type as cache after numbering
...
Closes #12080
2024-08-25 13:08:56 +02:00
Cédric Krier
b1ba498b87
Group numbering invoices
...
Closes #12080
2024-08-25 12:42:57 +02:00
Cédric Krier
97ac57e1e9
Group numbering shipments
2024-08-25 12:18:07 +02:00
Cédric Krier
4f4c5e811d
Group numbering sale subscriptions
2024-08-25 12:17:52 +02:00
Cédric Krier
0c8a24533c
Group numbering sale blanket agreements
2024-08-25 12:17:35 +02:00
Cédric Krier
2daea7a961
Group numbering sales
2024-08-25 12:17:14 +02:00
Cédric Krier
91106c596d
Group numbering purchase request quotations
2024-08-25 12:16:59 +02:00
Cédric Krier
daabf44acf
Group numbering purchase blanket agreements
2024-08-25 12:16:36 +02:00
Cédric Krier
cae99922de
Group numbering purchases
2024-08-25 12:16:12 +02:00
Cédric Krier
3ee4a0febd
Group numbering productions
2024-08-25 12:15:56 +02:00
Cédric Krier
46b6c17595
Group numbering of account assets
2024-08-25 12:15:39 +02:00
Cédric Krier
7bafe98a0c
Group generation of stock lot number
2024-08-25 11:02:33 +02:00
Cédric Krier
3d7a9e22f4
Group numbering POS sale
2024-08-25 11:02:05 +02:00
Cédric Krier
5e61338bda
Generate all gift card numbers at once
2024-08-25 11:01:36 +02:00
Cédric Krier
ead6ea96dd
Group generation of BOM's code at creation
2024-08-25 11:00:20 +02:00
Cédric Krier
10949e13fa
Group generation of product code at creation
2024-08-25 10:59:44 +02:00
Cédric Krier
b468d3e762
Group generation of product category code at creation
2024-08-25 10:59:20 +02:00
Cédric Krier
911861837a
Group generation of party code at creation
2024-08-25 10:58:36 +02:00
Cédric Krier
2c87de506c
Group numbering account move at creation
2024-08-25 10:58:04 +02:00
Cédric Krier
f3485d10cf
Remove nonexistent sequence from purchase request quotation line view
...
Closes #13541
2024-09-22 18:21:25 +02:00
Cédric Krier
34d7fd19c4
Make package measurements read-only when closed
2024-09-07 17:57:44 +02:00
Cédric Krier
38bb6cada6
Add sale reporting per promotion
2024-09-05 19:28:51 +02:00
Cédric Krier
e495d2dbfa
Support POS sale line columns defined before mixin is applied
...
The mixin is applied after the Model so if another module wants to extend the
method, the method may be in the super class.
2024-09-05 19:27:36 +02:00
Cédric Krier
6451c3f157
Add relate from promotions to sales
2024-09-05 12:39:05 +02:00
Cédric Krier
b3e4b7330e
Improve label of destination in party replace ask form
2024-09-03 12:00:43 +02:00
Cédric Krier
e6e93134e4
Add missing copyright notice to party replace ask form
2024-09-03 12:00:17 +02:00
Cédric Krier
546e8c92f5
Group links from the same area together
2024-08-29 15:57:31 +02:00