Commit Graph
58607 Commits
Author SHA1 Message Date
Cédric Krier 3c4be97ed0 Compare moment duration using valueOf
Closes #10727
2023-06-15 16:47:43 +02:00
Cédric Krier a368d4a4b8 Use isMoment function 2023-06-15 17:07:36 +02:00
Cédric Krier d7aaac6740 Support encoding timedelta into PYSON TimeDelta
Closes #10727
2023-06-15 13:57:15 +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 7fb22cc6aa Do not call screen display when instance button modify a record
The method set_modified already take care of calling display to the proper
screens.
2023-07-03 19:49:02 +02:00
Cédric Krier 865f5d4caf Call load method on record to retrieve binary value for binary widget in list
The call to fetch was introduced in 61900bf04dfb but the method does not
exist.

Closes #12392
2023-07-12 15:13:32 +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
Nicolas Évrard 99ded91b41 Clear caches after commit when installing modules
A call to clear_all is required after the commit in order to ensure that the
transaction uses an empty cache from this point. clear_all is not required to
prevent the deadlock on ir.cache because the rollback ensures that nothing
changed from the point of view of this transaction.

Close #12343
2023-07-14 18:50:44 +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 df86c766ac Add completer for database option of trytond-console 2023-06-19 15:36:58 +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 a40be04d82 Document on_change methods under ModelView instead of Model 2023-07-04 18:39:28 +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
Cédric Krier 69b2916b9c Skip child position of exported data based on field names
When exporting data of a xxx2Many field, the column to skip should be based on
the child field names instead of the exported value (which can be 0 for
example).

Closes #12316
2023-06-08 18:42:07 +02:00
Udo Spallek 94b423c471 Replace PyPDF2 dependencies with pypdf
Closes #10907
2023-07-10 23:55:00 +02:00
Cédric Krier 35f2bcd09f Expose show and hide methods as to be implemented for NoModal 2023-07-03 19:53:12 +02:00
Cédric Krier e7c7019d6e Add missing show and hide method to email no modal windows
Closes #12368
2023-07-03 19:52:15 +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
Nicolas Évrard 0918f6f425 Allow to use width attribute in button columns of tree views 2023-07-05 10:08:42 +02:00
Nicolas Évrard e445dac393 Transfer configuration, profiles and plugins from previous version
Closes #11016
2023-02-28 16:37:15 +01: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
Nicolas Évrard e77efcc885 Do not reset view when switching to a tabbed wizard form
Closes #12317
2023-05-11 15:39:34 +02:00
Sergi Almacellas Abellana 50cab67fab Allow date formating in sequences substitutions
Closes #8945
2023-06-06 09:00:50 +00: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
Cédric Krier b69dae7205 Make ModelSQL based on table query read only by default
Closes #12331
2023-06-18 17:26:27 +02:00
Cédric Krier c28380a159 Keep default access for model without model access entry 2023-06-18 17:21:06 +02:00
Nicolas Évrard 75facbaf4d Do not set previous record in selection changed callback when it is destroyed
Closes #12357
2023-06-27 14:59:33 +02:00
Adrià Tarroja Caubet 65c6380cad Display cost of production works
Closes #11001
2023-05-03 14:29:57 +02:00