Maxime Richez
348ea5c5bb
Extend domain to reschedule not yet done shipment
...
Closes #13536
2024-09-20 14:58:46 +02:00
Cédric Krier
008c1688bf
Set employee when changing company only if the user has one available value
2024-09-25 12:44:11 +02:00
Cédric Krier
37c44ffbde
Add simple list view for company and employee
...
The views have only the record name field so they can be used in Many2Many to
not display extra information.
2024-09-25 12:33:56 +02:00
Cédric Krier
e06b0dce8e
Set default companies and company for user only if there is one company
2024-09-25 12:24:54 +02:00
Cédric Krier
18f0801e60
Use design to fill companies and employees first on user form
...
To make it obvious that companies and employees must be filled first, they are
displayed first and the company and employee fields are hidden if there is no
values to select.
2024-09-24 19:31:56 +02:00
Cédric Krier
e59d01aead
Enforce agent type on agent selection
2024-08-25 20:37:47 +02:00
Cédric Krier
373cfe75cc
Show products on agent form
2024-08-25 20:37:14 +02:00
Cédric Krier
267380a266
Allow agent to be deactivated
...
Closes #13282
2024-08-25 20:36:32 +02:00
Cédric Krier
aab7a7de97
Allow admin users to update invoice tax description and legal notice
...
Closes #13554
2024-10-01 15:31:05 +02:00
Cédric Krier
3fc39d0433
Reset cancelled invoice to posted when unpaid
...
Closes #13509
2024-09-13 15:30:26 +02:00
Sergi Almacellas Abellana
781856a3c9
Remove company domain from price list action window
...
Closes #13416
2024-07-23 11:12:24 +02:00
Cédric Krier
2b9e1086a5
Use better name for the invoice account variable to compute remainder amount
2024-09-27 19:29:23 +02:00
Cédric Krier
6d5879cdb3
Add test scenario to defer invoice all at once
...
#13547
2024-09-27 19:28:27 +02:00
Cédric Krier
a69fffce46
Exclude the move which defer the invoice line amount
...
The move to defer amount must be created before creating the period move in
case we need to compute the remainder amount on the first run.
Closes #13547
2024-09-27 19:28:03 +02:00
Cédric Krier
db99bb6801
Do not copy origin of stock moves in each shipment
...
The ShipmentMixin is also used by the production which does not have a moves
field.
Closes #13555
2024-10-01 18:32:18 +02:00
Cédric Krier
a87be1db6a
Do not return empty for planned deliver date of purchase line when it is in the past
...
Closes #13298
2024-09-07 14:00:50 +02:00
Cédric Krier
48568f7856
Do not return today planned shipping date of sale line when in the past
...
Closes #13298
2024-09-07 13:59:57 +02:00
Nicolas Évrard
6907ea5b7b
Add warning when using implicit rec_name target for relational domain
2024-09-07 00:39:55 +02:00
Cédric Krier
514495cf1e
Rename "Product Quantities By Warehouse" into "Stock Quantities By Warehouse"
2024-09-14 13:07:43 +02:00
Cédric Krier
26f1f8fda6
Remove "Lots By Warehouse" relate
...
It is not very useful and the same view can be opened from the stock location
relate.
2024-09-14 13:00:53 +02:00
Cédric Krier
ca6bb39948
Rename "Locations * Quantity" into "Stock Locations *"
2024-09-14 12:51:16 +02:00
Cédric Krier
62e2e4f62e
Document viewing stock levels of lots
2024-09-14 12:39:28 +02:00
Cédric Krier
916a3ef855
Rename "Lots by Locations" into "Lots"
...
As the locations are added to the tab name, there is no need to specify that it
is "by Locations".
2024-09-14 12:39:07 +02:00
Cédric Krier
a65c9879dd
Rename "Products by Locations" into "Products"
...
As the locations are added to the tab name, there is no need to specify that it
is "by Locations".
2024-09-14 12:38:24 +02:00
Cédric Krier
d9b275e181
Move "Open Lines" button to product price list module
...
Closes #13527
2024-09-18 18:14:58 +02:00
Cédric Krier
e54322910c
Filter shipment moves before sorting them in the getters of Function field
...
This way the filtering can benefit of the cache alignent before the order of
the list is modified.
Closes #13526
2024-09-18 13:51:16 +02:00
Cédric Krier
dba33cbb64
Prevent modification of the stock lot of stock move done or cancelled
...
Closes #13520
2024-09-17 15:49:46 +02:00
Cédric Krier
37022fff21
Prevent deletion of stock lot used for stock move
...
Closes #13519
2024-09-17 15:48:01 +02:00
Cédric Krier
16136ab2af
Add searcher for name of sale reporting per region
...
Closes #13466
2024-09-10 15:38:44 +02:00
Sergi Almacellas Abellana
a87099396c
Clear employee fields when duplicating invoices
...
Closes #13471
2024-09-28 15:19:35 +02:00
Sergi Almacellas Abellana
da4f361d23
Show complete button on shipped shipments
...
Closes #13455
2024-08-21 10:32:12 +02:00
Sergi Almacellas Abellana
e411698df0
Clear packages when copying shipments
...
Closes #13454
2024-09-28 14:24:03 +02:00
Adrià Tarroja Caubet
68d4cc4cc7
Save party configuration after replacing vat identifiers
...
Closes #13387
2024-07-03 14:14:49 +02:00
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