Commit Graph
57592 Commits
Author SHA1 Message Date
Cédric Krier 1b1bbc5390 Use screen methods to activate or not the next/previous buttons of attachment preview
Closes #12756
2023-11-16 18:22:04 +01:00
Nicolas Évrard e1e6492a40 Add a test on search of historical records 2023-11-23 17:56:11 +01:00
Nicolas Évrard bd5e4d6714 Filter history lines matching search when they're too old
Closes #12687
2023-11-03 19:07:11 +01:00
Cédric Krier c3a8f6bea9 Fix call to Sao.Logger.error
Closes #12778
2023-11-27 21:35:24 +01:00
Cédric Krier b93f265fcd Submit form only if scan_code is submit
Close #12764
2023-11-20 20:41:34 +01:00
Cédric Krier cd18803452 Use list price instead of gross price in sale reporting
The sales are computed without taxes so the sales from point should use the
same kind of price.

Closes #12703
2023-11-03 13:00:12 +01:00
Cédric Krier b55e8c71ec Do not remove starting wildcard when searching bank account number
The start number of bank account are often the same for account from the same
bank.

Closes #12769
2023-11-22 11:01:31 +01:00
Cédric Krier 00f6195b48 Enforce uniqueness only on bank account number active
Closes #12768
2023-11-21 18:07:11 +01:00
Cédric Krier b794bcb0fe Use production warehouse to select product location
Closes #12765
2023-11-21 11:35:44 +01:00
Cédric Krier 7e9d69f07f Set state to done when all lines of sale or purchase are cancelled
So when the shipment and invoice state are None and all lines have an 100%
progress, then the order should be considered as done.

Closes #12698
2023-11-01 16:37:23 +01:00
Cédric Krier da3c68d0c0 Add invoice progress on sale and purchase line 2023-11-01 16:34:42 +01:00
Cédric Krier 92a3ddb9ee Set shipment state of sale and purchase to None when all stock moves are cancelled
Closes #12697
2023-11-01 16:32:41 +01:00
Cédric Krier fe921d6406 Support writing None on Shopify identifier
Closes #12760
2023-11-20 12:04:37 +01:00
Cédric Krier 88dc4b90dd Prevent to delete lines and origins of statements not cancelled or in draft
Closes #12678
2023-10-28 14:31:35 +02:00
Cédric Krier 1b5fa9a892 Clear tax identifiers on invoice when they are no more valid
Closes #12748
2023-11-15 11:09:44 +01:00
Cédric Krier 41df1f1d7e Do not expand checkboxes group in party form
This gives more space for the name and code.
2023-11-09 15:11:50 +01:00
Cédric Krier 37e43d6573 Optimize update of customer move when drop shipment is set to waiting
By using One2Many fields, it is possible to avoid custom search and use nested
single loop to update the customer moves.
2023-10-25 18:11:34 +02:00
Cédric Krier 4344f77ac5 Do not convert width and height URL parameters of product image into boolean
Since 8cba7039bc3c there are 2 new arguments w and h.

Closes #12745
2023-11-14 15:07:54 +01:00
Cédric Krier 84d4f09f56 Increase the size of expander
Closes #12733
2023-11-11 19:37:53 +01:00
Cédric Krier adea79e356 Prevent switching row when double click on expander
Closes #12732
2023-11-11 19:34:27 +01:00
Cédric Krier 389d7a1143 Do not execute action on row active if there is no selected id
Closes #12731
2023-11-11 19:31:35 +01:00
Cédric Krier fb034737db Set grab cursor only on draggable-handle class
Closes #12730
2023-11-11 19:27:03 +01:00
Cédric Krier a918b8245d Hide tree-menu column on sao menu
Closes #12729
2023-11-11 19:24:19 +01:00
Cédric Krier 7b454b7284 Set height of street text widget for 3 lines
Closes #12723
2023-11-09 10:07:47 +01:00
Cédric Krier e6d8dbd359 Use default access for ModelSQL based on table_query when method is extended
When the create/write/delete methods are extended, we should assume that
developer has implemented such access.

Closes #12757
2023-11-16 18:55:47 +01:00
Cédric Krier ca253a388c Do not include locale of build system
They should not be needed as tryton uses only its own strings.
2023-11-04 19:52:58 +01:00
Cédric Krier f25c90e284 Do not copy tryton data and plugins in frozen build
Since d94c92c1de67 the library is no more compressed so those package data are
already in the usual place.
2023-11-04 19:51:52 +01:00
Cédric Krier 95fae18a2a Include shared libraries in lib folder for darwin build
cx_Freeze 6.15.10 store included files in Resources folder and make a symlink
in MacOS folder for lib and share.
So we must include shared libraries in the lib folder to be available.
2023-11-04 19:48:03 +01:00
Cédric Krier aba92d0126 Replace etc directory by share for frozen build
cx_Freeze 6.15.10 store included files in Resources folder and make a symlink
in MacOS folder for lib and share.
So we need to store etc content in share to be available.
2023-11-04 19:44:09 +01:00
Cédric Krier 3a05f7b69b Clean temporary files and directories when exiting tryton
Closes #9507
2023-11-06 19:33:16 +01:00
Cédric Krier 5d2bc18e3d Display fields of payment term delta in application order
The user may not know the order in which the relativedelta operations are
applied.
2023-11-02 16:21:25 +01:00
Cédric Krier 7270cc86fa Remove non updated targets of xxx2Many when importing data
Closes #12625
2023-10-09 11:42:36 +02:00
Cédric Krier f4ca6c4648 Document how account journal are chosen 2023-11-07 00:35:26 +01:00
Cédric Krier 97f432e06f Fix typo in sale documentation 2023-11-16 09:24:27 +01:00
Cédric Krier a88682d1a6 Fallback to move date when ordering by maturity date and it is empty
Closes #12722
2023-11-09 09:40:49 +01:00
Cédric Krier 3ffd756e7f Select first visible siblings when page is hidden
We need to search for all siblings because the next page may also be
invisible.

Closes #12553
2023-11-06 18:53:39 +01:00
Sergi Almacellas Abellana 7274778986 Do not instanciate transaction multiple times when computing sale price 2023-11-15 16:44:53 +01:00
Cédric Krier 4bc74de579 Remove check against move when deleting account period
The period on the move restrict on delete of the foreign key.
2023-11-06 15:46:25 +01:00
Cédric Krier 592edc13dd Allow modifying account period dates with account moves
As long as the existing moves has still a date inside the new period dates.

Closes #12667
2023-11-06 15:44:47 +01:00
Cédric Krier 91f4c6b2b8 Check dates of periods when changing fiscal year dates
Closes #12667
2023-11-06 16:19:33 +01:00
Cédric Krier fac8bb3e18 Always trigger default branch on readthedocs
This allows readthedocs to detect new branches:
https://github.com/readthedocs/readthedocs.org/issues/9106

Closes #12694
2023-10-31 23:04:37 +01:00
Cédric Krier 6b2aa74ce5 Preserve product image ratio
Closes #12744
2023-11-14 14:18:56 +01:00
Cédric Krier e4702d47ba Do not set offset in counting domain of link
173ecc4f452d moved the offset parameter into the domain.

Closes #12725
2023-11-09 15:03:32 +01:00
Adrià Tarroja Caubet ad9c41be26 Fix typo in comment of test scenario for stock supply production 2023-11-13 00:30:34 +01:00
Cédric Krier f8a6d08b20 Test extension of invoice and shipment grouping fields 2023-11-08 11:37:38 +01:00
Cédric Krier 84318913c7 Incoterm tests depend on sale shipment grouping not sale invoice group 2023-11-08 11:36:58 +01:00
Cédric Krier b1a3e23951 Extend grouping fields with a list
4e84027dbc2e updated the grouping fields method to receive the grouped
instance but it did not adapt to the returned type which is a list.

Closes #12718
2023-11-08 00:09:37 +01:00
Cédric Krier 7fb5a0c6b8 Do not compute internal quantity for stock move created without product nor unit
Closes #12716
2023-11-06 18:02:23 +01:00
Cédric Krier d9ace5f731 Properly use resources files from importlib
Closes #12706
2023-11-04 19:32:22 +01:00
Cédric Krier 258912e273 Allow to freeze tryton on OS without python
Use python version defined in the setup.py shebang instead of the generic
python.
2023-11-04 14:05:12 +01:00