Cédric Krier pushed to branch branch/7.0 at Tryton / Tryton


Commits:
6dda88aa by Cédric Krier at 2024-03-13T08:42:10+01:00
Remove ending commit when loading modules

The commit call was added by a6624f31ff20 to release lock because Cache.resets
was called inside the transaction.
But Cache.resets was removed in a83631f4ba67 and Cache does not create any new
transaction since.
And since 2fd8c5f88265 the transaction is even committed only on module
update.
(grafted from 0548d73c7ce3b4e07b6b76007f2592ed2be945ff)
- - - - -
ccff3da2 by Nicolas Évrard at 2024-04-13T17:42:02+02:00
Check for the existence of a screen before restoring size of wizard's 
dialog window

Closes #12944
(grafted from af40ac94803e01092fccbdc553cc772f251b9abd)
- - - - -
68f4b033 by Ahmed AlBoori at 2024-02-28T23:33:19+03:00
Correct Account Receivable Rule Model Name

Closes #13063
(grafted from 008beeeb86d7045d956e9894a606f31fe2f1d0d1)
- - - - -
4aa9b386 by Ahmed AlBoori at 2024-03-02T06:11:36+03:00
Use positional argument when applying account receivable rule

The ModelView.button decorator is expected first positional argument to be
named records so we can not use keyword argument in this case.

Closes #13063
(grafted from d860272ff5b1f8e707cc29a358c288e7a83dbe70)
- - - - -
d2d6f658 by Maxime Richez at 2024-04-13T19:13:44+02:00
Allocate also shipment cost of 0

Closes #13155
(grafted from 9a2d0edb8d8b3903e47b74bc339ba4d2ec6df097)
- - - - -
e9461d05 by Cédric Krier at 2024-04-04T15:12:21+02:00
Always return float for invoice or moves progress

The fields are Float so they must return a float.
(grafted from 68824d0fd7e6b7568db499d0a6594476c7f9ab66)
- - - - -
67239981 by Cédric Krier at 2024-04-05T18:06:23+02:00
Do not hide visibility checkbox on readonly password

Closes #13165
(grafted from d5e4cb50c2bcfd90ab0e8b09679f5b435bbb681e)
- - - - -
53309877 by Cédric Krier at 2024-04-05T18:09:19+02:00
Set visibility property always to the entry widget

When the password widget has autocomplete activated, the entry is a combobox.

Closes #13166
(grafted from e159bd2cd8bf9aa408ce8cda144ef41195f01ea3)
- - - - -
01c8b21e by Cédric Krier at 2024-04-10T11:25:11+02:00
Test if contextual company id is positive before using it

Closes #13176
(grafted from fa023763f7b00cd4fbfa9e818bf25db9e259cfbd)
- - - - -
a3068b78 by Cédric Krier at 2024-04-10T17:56:20+02:00
Do not fail when testing if account is set on invoice line for project

If there is no product defined on the project, the call to on_change_product
for the invoice line does not set the account field.

Closes #13111
(grafted from 01992016f36efdf8576a2453a084ba642e43d74f)
- - - - -
e2cb46c7 by Cédric Krier at 2024-04-10T18:13:54+02:00
Do not fail to compute record name of opportunity reporting without employee

Closes #13114
(grafted from 6cdbfed2effb3f71b3f688564de4471da095546f)
- - - - -
1957e8e8 by Cédric Krier at 2024-04-13T14:20:21+02:00
Test if queue batch is boolean

In Python bool type is a subtype of integer so it must be tested first.
Also by converting other types to int, we catch any other wrong types.

Closes #13133
(grafted from 2c7c6983eecc716cddc3dcfce7c417e902257df0)
- - - - -
f12308a9 by Cédric Krier at 2024-04-10T18:06:23+02:00
Do not try to round or convert list price of project revenue

By using list_price_used we are sure to have a list price in the company
currency so there is not need for conversion.
Also list price of a product can be empty so we should not try to round it.

Closes #13110
(grafted from 710927560bfe722fc02c0d22bbdf2c1615f787a7)
- - - - -
3387d9ff by Adrià Tarroja Caubet at 2024-04-18T10:12:18+02:00
Fix typo when searching euro to get intrastat currency

Closes #13201
(grafted from 61e80b049607949aa9e6055f3942b13c81ad9f22)
- - - - -
4d8fdaa9 by Maxime Richez at 2024-04-15T16:20:31+02:00
Decorate pack button of customer shipment when extending it for shipping

Closes #13131
(grafted from 710bafa013393a2ebd3731d890fad427c75df1f1)
- - - - -
d8c6dd56 by Cédric Krier at 2024-04-11T19:46:48+02:00
Fix call to warn method of logger

Closes #13179
(grafted from 0dd9d993f1cfd1b3b9b83e1108e0ffbf193c87ad)
- - - - -
d9375e74 by Cédric Krier at 2024-04-13T13:52:43+02:00
Do not fail to get product location for shipment without warehouse

The warehouse of internal shipment is computed and may be empty if the from
location does not have a warehouse.

Closes #13129
(grafted from f4f85f4d31f0afe83bb8662d1c15ceecadbd753e)
- - - - -
b6585433 by Cédric Krier at 2024-04-13T15:00:52+02:00
Use function to not copy custom report content

The Function fields are not copied so it is the storage field that must have a
default value.

Closes #13170
(grafted from 96d629fe11a710b395d9981881c5dfda1674becf)
- - - - -
8208a6cb by Cédric Krier at 2024-04-13T15:04:45+02:00
Test if user has a company before using it in letter report

Closes #13174
(grafted from 532ac5ce0458557de16512c2751c2e394924e7e1)
- - - - -
b68eb0a1 by Cédric Krier at 2024-04-13T15:35:15+02:00
Test if current view is defined on screen before using it

Closes #13178
(grafted from 6f0ae4c7719fbf129ffd0221aa9b1fa008df23e2)
- - - - -
1cfda0a1 by Cédric Krier at 2024-04-14T10:56:27+02:00
Parse text as datetime when it is a string

The on_paste method is calling value_from_text for each widget using the
string from the clipboard.
So textual value needs to be supported even for date and time widgets which
uses a cell renderer that provides datetime value.

Closes #12860
(grafted from 06448d7bdb976b7057a465ca332bbc638e91653e)
- - - - -
69034ccf by Cédric Krier at 2024-04-14T11:07:33+02:00
Always raise RPCException in RPCExecute

So when calling RPCExecute without processing exception, all exceptions can be
catch with RPCException.

Closes #12874
(grafted from 372dbf53977e872ae62dbc8d6ce5bdc3bcacec69)
- - - - -
6695cdd3 by Cédric Krier at 2024-04-14T17:12:52+02:00
Set value in editable tree using the editable linked to the renderer

Closes #13078
(grafted from 56282fb2dc5fb61b7f41a3fee36ec3df082384c2)
- - - - -
6947c3e9 by Cédric Krier at 2024-04-16T09:16:24+02:00
Use jQuery remove to remove children row elements

We can not rely on the row node to always have a parent node as toggle_row is
a callback to an event that can be executed after the row has already be
removed from the DOM.

Closes #13198
(grafted from 7e3ab58418656857275f3888386d840ca336858f)
- - - - -
9e907623 by Cédric Krier at 2024-04-18T19:28:04+02:00
Prevent to get user_id from request without view_args

If user_id is accessed before view_args has been setup, we should not cache
`None` as value but instead raise an exception.
The `user_id` may be accessed before the mapping if the request is logged
because the representation of the request used the `rpc_method` which needs to
parse the request data. But since 1923117e935d parsing compressed content is
only allowed for request with `user_id`.
So we can no more include the `rpc_method` is the request has not yet been
mapped and so it has a `view_args`.

Closes #13203
(grafted from 0630029c1d5a0a2c7bd45086957f2e0fbed4c427)
- - - - -
4643698b by Adrià Tarroja Caubet at 2024-04-21T17:29:41+02:00
Clear view toolbar cache when email templates are modified

Closes #13072
(grafted from aaced85022248371ebea50482914d5df13bb477e)
- - - - -
8bb819fc by Cédric Krier at 2024-04-08T12:13:33+02:00
Fill tax rule pattern with default empty countries

A rule line for a country is not expected to be used when the country is
unknown.

Closes #13169
(grafted from cea3c89a740248a84ce48a906f1b1c33ba0fac5e)
- - - - -
d56ee561 by Cédric Krier at 2024-04-11T13:04:01+02:00
Use strict locale parsing for date and datetime

Closes #12314
(grafted from 484efc68bef80fe1492d1efdac2a0484ff2eee05)
- - - - -
2694cf43 by Cédric Krier at 2024-04-17T20:22:10+02:00
Compute cache key for record rules using all models

As model can inherit the access rules from another, the key must include the
keys of those other models.

Closes #13162
(grafted from b04f36d27c78663851f6859e266aac203afd7600)
- - - - -
b5ec4e49 by Cédric Krier at 2024-04-18T14:49:49+02:00
Do not display cancelled moves in shipment reports

Closes #13202
(grafted from 29176a5201d492908cbb816b8fed9492bb6fdc8e)
- - - - -
2984a8ae by Cédric Krier at 2024-04-18T19:15:47+02:00
Encode with gzip only if a session exists

Since 1923117e935d the server does not accept compressed content for
unauthenticated request.
(grafted from 97cbe01195da6938e7f718d07e436c8a2856e3a2)
- - - - -
47561790 by Cédric Krier at 2024-04-18T19:22:07+02:00
Fallback to default model access if RPC request fails
(grafted from 5680160a1ab68e8e30e05265aef34eea44be0139)
- - - - -
0e029acc by Cédric Krier at 2024-04-21T15:24:26+02:00
Wait for display to finish when reloading record
(grafted from 9023fdf384db2961e4dea922f5194b09f879834f)
- - - - -
c25aa910 by Cédric Krier at 2024-04-21T15:25:14+02:00
Ensure current record has been saved before execute button action
(grafted from 8d4e44642bd96d29436f327eb9eba591214fb7e7)
- - - - -
c8e4df4b by Cédric Krier at 2024-04-21T15:23:18+02:00
Trigger record saved after reload ids when execute button

The buttons of the toolbar must be updated after having saved the current
record.

Closes #13125
(grafted from 03b3f3d5a60c9dbb6268a20fdd8f0c56157272b4)
- - - - -
39de56ee by Cédric Krier at 2024-04-22T08:59:48+02:00
Depends on xxx2many fields when they are assigned by a change function

Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)
- - - - -
88a10603 by Cédric Krier at 2024-04-08T17:45:01+02:00
Check only shipment with cost method 'order' to invoice shipment cost 
on order

If the sale is linked to a shipment with a different cost method than order,
it should not be considered to decide to invoice or not the sale shipment
cost.

Closes #13171
(grafted from f290dbb1479d4a4e4aabb2f66d93bf4e042f42e6)
- - - - -
27633052 by Cédric Krier at 2024-04-21T15:33:42+02:00
Use id as default payee value on pay invoice wizard

Closes #13140
(grafted from 1a12707bd33d013f3f1853e7843742727018abf6)
- - - - -
4b20675e by Cédric Krier at 2024-04-23T13:19:54+02:00
Use find_packages to fill packages for build_exe

Otherwise cx_Freeze does not include the translation plugin as it is
dynamically loaded.

Closes #13208
(grafted from 0ab3cefbe003fb39da8b2f3dbb265743ed763f36)
- - - - -
58d3a577 by Cédric Krier at 2024-04-23T13:38:29+02:00
Support loading plugins without sources

cx_Freeze include only the bytecodes version of the translation plugin.

Closes #13208
(grafted from c06fd05a195bfb9bae5dd388a366c0d58c2005a4)
- - - - -


30 changed files:

- modules/account/party.py
- modules/account_invoice/invoice.py
- modules/account_product/product.py
- modules/account_receivable_rule/account.py
- modules/account_stock_eu/company.py
- modules/account_tax_cash/account.py
- modules/account_tax_rule_country/account.py
- modules/company/letter.fodt
- modules/product_kit/common.py
- modules/project_invoice/project.py
- modules/project_revenue/work.py
- modules/purchase/purchase.py
- modules/sale/sale.py
- modules/sale_opportunity/opportunity_reporting.py
- modules/sale_shipment_cost/sale.py
- modules/stock/shipment.py
- modules/stock_package_shipping/stock.py
- modules/stock_product_location/location.py
- modules/stock_shipment_cost/stock.py
- sao/src/common.js
- sao/src/screen.js
- sao/src/view/tree.js
- tryton/setup-freeze.py
- tryton/tryton/common/common.py
- tryton/tryton/common/datetime_.py
- tryton/tryton/gui/window/view_form/screen/screen.py
- tryton/tryton/gui/window/view_form/view/form_gtk/char.py
- tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py
- tryton/tryton/gui/window/view_form/view/list_gtk/widget.py
- tryton/tryton/gui/window/win_import.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/1ea57bd85b72427598ebc49b655e6bc09fde5fdf...58d3a577b1235440e9f98b6edd0562ac41535fc5

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/1ea57bd85b72427598ebc49b655e6bc09fde5fdf...58d3a577b1235440e9f98b6edd0562ac41535fc5
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to