Commit Graph
786 Commits
Author SHA1 Message Date
Nicolas Évrard 768e44bc8a Return period end date as default date for account move
When period is before today, the default date of the account move must be set
with the period end date.

Closes #12408
2023-08-02 22:05:22 +02:00
Maxime Richez c7cb91e369 Sync secondary unit on supplier and internal shipments
When synchronize the outgoing or incoming move, the secondary unit must be
copied from the template.

Closes #12301
2023-08-02 19:28:47 +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
Sergi Almacellas Abellana 58c7f8c517 Inherit marketing campaing opportunity abstract models in right order
Abstract models should be always the last in inheritance because
they are object when optional dependencies are not activated
PoolMeta shold be added because all classes in the pool must inherit from it

Closes #12375
2023-07-05 14:50:34 +02:00
Maxime Richez 5a97280814 Always compute product quantities for sales with children
with_childs is set to True by default only when one location is in the context.
But for the product list in sales, we want to have the quantities with children
also if more than one warehouse is selected.

Closes #12377
2023-07-07 16:20:56 +02:00
Cédric Krier 6acffaf048 Replace on_change_with_planned_start_date of production
Since 74c33f2fe011, the method has been replaced by set_planned_start_date,
the pattern has been remove to stay only on compute_lead_time.

Closes #12423
2023-07-22 18:55:46 +02:00
Cédric Krier 0dbfe051e8 Copy pattern of production lead time before modification
We should not modify the caller mutable structure.
2023-07-22 18:53:50 +02:00
Sergi Almacellas Abellana add6afeaed Avoid duplicated total amount on SII invoices with multiple taxes per line 2023-07-21 11:47:38 +02:00
Sergi Almacellas Abellana 23a95054f8 Group sii taxes detail based on tax rate
Closes #12420
2023-07-21 10:36:43 +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
Sergi Almacellas Abellana 5b1a9801a0 Include active field in quality control form
Closes #12419
2023-07-20 13:42:44 +02:00
Cédric Krier 69f82e8100 Set default value of active_test from transaction
Instead of testing the context in _search_domain_active, it is simpler to set
the active_test default value using the transaction context.
2023-07-05 12:39:48 +02:00
Cédric Krier 9f9620445d Align on bottom amount and state of invoice form 2023-07-15 16:13:28 +02:00
Cédric Krier ee98731a76 Post delegated move at the end of the action
Other modules may want to alter the delegated move so we must post it once it
is no more accessible to other modules.

Closes #12416
2023-07-19 18:15:18 +02:00
Adrià Tarroja Caubet cb7970a350 Reschedule planned date for late productions
Closes #11494
2023-01-18 17:34:20 +01:00
Sergi Almacellas Abellana cd81e8e793 Use on_change method to set production's planned_start_date 2023-07-06 10:07:31 +02:00
Cédric Krier 09794bbccd Use history table instance to migrate supply on sale column on history table
Closes #12379
2023-07-15 00:36:31 +02:00
Cédric Krier 9096dda5b4 Do not display delegated amount if it is 0
This prevents to display the currency when there is no amount delegated.
2023-06-13 12:56:54 +02:00
Cédric Krier 13ded08918 Remove anchor from Wikipedia link to Ledger
The anchor does not exist anymore and in general the anchor on Wikipedia
should be avoided because they may change at any time.
2023-07-10 09:21:27 +02:00
Sergi Almacellas Abellana ad5beb8363 Add employee on cycles for running and done states 2023-05-08 13:38:41 +02:00
Cédric Krier e63ff9b40a Fill product cost price on outgoing stock move of FIFO product
On outgoing move of FIFO product, the cost price is filled with the average
cost of the first products used. But for history we need to keep the cost
price of the product when move was done.
2023-06-16 13:45:45 +02:00
Cédric Krier 6381b5e171 Use product cost price from stock move for cost history
When the product cost price is filled, it must be used instead of the cost
price.
2023-06-16 13:43:56 +02:00
Cédric Krier 7b9a61c624 Add product cost price to move
It is used to store the cost price of the product when the cost price of the
move is not the same.
2023-06-16 13:43:09 +02:00
Cédric Krier 418d977280 Post cancelled, grouped, rescheduled and delegated moves
If origin moves are posted, the result move should be posted otherwise payable
or receivable lines are no more considered.
2023-06-13 15:48:30 +02:00
Cédric Krier e16444665f Rename close state to closed 2023-06-20 10:13:56 +02:00
Sergi Almacellas Abellana 96fa0a1900 Insert customer product before product links
Closes #12396
2023-07-13 14:27:27 +02:00
Cédric Krier 1d036ceb18 Use proper module prefix for unique constraint on marketing email list 2023-07-10 23:40:23 +02:00
Cédric Krier d9865ab943 Simplify tax identifier types of invoice
We do not need to be able to customize it for only the invoice so it can be
customized on party.
2023-06-27 15:06:34 +02:00
Cédric Krier d9e9df28c2 Limit type to tax identifier for party tax identifier of invoice
Closes #12356
2023-06-27 15:00:59 +02:00
Cédric Krier 1353212f31 Hide taxes deductible rate for invoice lines without the type line 2023-06-28 12:25:54 +02:00
Udo Spallek 94b423c471 Replace PyPDF2 dependencies with pypdf
Closes #10907
2023-07-10 23:55:00 +02:00
Cédric Krier 4c9e0f94a5 Prevent None value in selection of MultiSelection
Closes #12313
2023-06-30 00:18:00 +02:00
Cédric Krier d7294a34a6 Ensure to get a different email token for each marketing email
The default methods are called only once.

Closes #12349
2023-06-25 12:03:52 +02:00
Cédric Krier c1d4a667bd Do not try to assign shipments that do not need to be assigned
Closes #12311
2023-06-07 16:53:24 +02:00
Cédric Krier 9f11b9fbfc Update documentation of stock package shipping UPS 2023-06-04 11:05:31 +02:00
Cédric Krier ed30d063e7 Update shipping UPS API to OAuth
UPS has implemented an OAuth 2.0 security model for all APIs and deprecate the
existing Access Key-based authorisation.
See https://developer.ups.com/oauth-developer-guide
2023-06-01 16:42:06 +02:00
Cédric Krier 7e7fd51dd1 Add comment about ShipmentServiceOptions being wrongly documented 2023-06-01 15:49:19 +02:00
Jan Grasnick 0df1221b69 Do not copy account move of sale from point
Closes #12362
2023-07-01 08:49:32 +02:00
Pedro Nuñez d37e8d0990 Correct call to super method for Shopify name
The name of the property was changed on commit 905801635f45
but the call to super method was not updated to the new name.

Closes #12355
2023-06-30 09:17:02 +02:00
Cédric Krier abf3167bcb Allow to use storage location as input or output location
When the input or output location is the same as the storage location, it can
be of type view.
2023-06-05 18:55:41 +02:00
Cédric Krier b2abd35dca Allow to store view location as warehouse storage on shipments
It is allowed to have a view location as storage for a warehouse so the
shipment should support it.

Closes #12307
2023-06-05 18:20:44 +02:00
Cédric Krier a560998bc8 Forbid to change quantity of invoice line from project 2023-05-24 17:05:43 +02:00
Cédric Krier 2721a6068a Forbid to delete work invoiced on effort 2023-05-09 14:09:14 +02:00
Cédric Krier 6f11ed963f Forbid to modify effort of work invoiced on effort 2023-05-09 14:09:39 +02:00
Cédric Krier 4f7504d9d0 Include timesheet line name in access error when it is invoiced 2023-05-09 14:05:40 +02:00
Adrià Tarroja Caubet 65c6380cad Display cost of production works
Closes #11001
2023-05-03 14:29:57 +02:00
Cédric Krier b2f90a89e0 Display amendments field when order is in processing state
This allows creating amendment from the order form directly.
2023-06-14 16:26:21 +02:00
Sergi Almacellas Abellana 614cff956d Allow modification of invoice references when report is not cached 2023-06-22 16:11:33 +00:00
Cédric Krier 54a7bd42dd Set Sendcloud Partner Id header 2023-05-19 17:32:03 +02:00
Cédric Krier 421b0752f3 Normalize stored emails 2023-04-29 19:03:42 +02:00