Since 0809f9f56c4e the modified cost price is rounded with the price
precision.
Closes#13041
(grafted from 10c6c8773040b6b6035753fd6c2f91efbcc094d9)
--HG--
branch : 7.0
When a readonly Form is closed, the callback result should always be False as
the opened record has not changed.
Closes#13156
(grafted from 9ad99fba8a531f2456d1808f32fe3b9fbc598f2e)
--HG--
branch : 7.0
As the receivable, payable type may evolve over time, only draft state should
enforce it.
Closes#13145
(grafted from b328583085791f9873ce068c48e62e5d55a3d5b7)
--HG--
branch : 7.0
As the posted by employee field can not be modified once the invoice is
posted, the employee must be set only when it is an action of the user.
On processing the invoice, it is the internal posting method that must be used
so no employee is set nor any other warning checks.
Closes#13124
(grafted from 361b4624d10c7173ce439329d72e37d7fa02d00b)
--HG--
branch : 7.0
Since a2f811ed0e99 it is not allowed to store multiline in Char field.
Closes#13123
(grafted from 8c8e5c013a7ba90d85ebb39e7b74cb8a4dbe4e2d)
--HG--
branch : 7.0
On Chrome based browsers the min-content of the table inside a xxx2Many widget
is the minimal size to display all the columns.
So when this min-content size is bigger than the width of the tab, it is the
all form that get a scrollbar instead of only the tree view element.
By adding a display grid to the div containing the treeview, the min-content
is not more used by the grid-template-columns of the form-container.
Closes#13050
(grafted from 333543178a58dc1b816063dd1ad11f6d6c1f4c10)
--HG--
branch : 7.0
To rollback the transaction must be done before the context manager calls stop
on exit.
Closes#13149
(grafted from 02ef3e349808c73a260ab7e83fea4eb66f37bd02)
--HG--
branch : 7.0
Since 8616fb62c5e9 some tests are decorated with transaction so the test case
needs a database to run.
(grafted from b2b78cdd6c19340652eb27ceaac620c940030a5d)
--HG--
branch : 7.0
Decimal may raise an InvalidOperation error if the context does not allow the
needed precision.
But rounding is not necessary for Decimal as we can just test the exponent
from the tuple version.
Closes#13138
(grafted from 776889be97e4c1b8917a9090338511d8008c625b)
--HG--
branch : 7.0
It seems that UPS has fixed its API such that it always returns a list for
PackageResults but it is still better to test the actual result.
Closes#13116
(grafted from 5aeb838f993f9d5e55c10a4b24f9ad6cd67eae55)
--HG--
branch : 7.0