Commit Graph
1113 Commits
Author SHA1 Message Date
Cédric Krier b6d9a43a45 Use menu name for window opened from menu
issue9937
review315011002
2021-02-09 00:32:17 +01:00
Cédric Krier 4a27f8e70f Add default value for default_lead_time
This restores the default lead time removed in changeset 8850aa25cd14.
By default a product should be delivered directly.

issue10050
review324921002
2021-02-04 23:57:02 +01:00
Sergi Almacellas Abellana 1c95fef15a Add default lead time for products
issue9420
review3117710
2021-01-19 15:00:08 +01:00
Cédric Krier 8b61f46e1c Use CTE for currency rate in reporting queries
The query plan generated by PostgreSQL is much faster this way.

issue9950
review343221002
2021-01-17 00:58:44 +01:00
Cédric Krier 67bccf418c Use cache to fill Reference selections
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Maxime Richez 73df989c3a Add summary to line list
A function field summary is added which takes the first line of description
field. This is useful to identify line without product (only with description)
in the list.

issue9695
review292431002
2020-12-25 17:14:57 +01:00
Cédric Krier f3f9bec499 Add default customer payment term configuration
issue9855
review318881002
2020-12-23 21:47:15 +01:00
Cédric Krier f6cea792ea Add TaxableMixin to sale line
issue9776
review326791003
2020-12-22 00:21:36 +01:00
Cédric Krier d15a8f86a4 Add support for Python 3.9
issue9685
2020-12-19 17:08:46 +01:00
Cédric Krier afd64cac87 Compute price list with raw sale unit price
The price list expect to have a unit price in the default unit and company
currency otherwise non proportional operations provide wrong result when a
different unit or currency is used.

issue9929
review345161002
2020-12-17 21:30:26 +01:00
Cédric Krier 7bb221bad3 Enforce currency, invoice_type and party values between invoice and lines
The currency of an invoice line must always be the same as the invoice.
For the invoice_type and party they must be the same only if set.

issue9854
review324581002
2020-12-16 21:24:07 +01:00
David Harper 3344e54b4c Test long_description using twine check
issue9781
review337181002
2020-12-15 11:42:56 +00:00
Cédric Krier 927062cbc0 Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:53 +01:00
Cédric Krier 7743981bdb Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:05:57 +01:00
David Harper f2451c4f38 Add country to module depends
issue9889
review333271002
2020-12-09 09:58:14 +00:00
Cédric Krier 2ae28b2c7f Add generic test for check erase party
issue9895
review324571002
2020-12-05 11:53:49 +01:00
Cédric Krier 86d5219600 Remove unused taxes dictionary 2020-11-15 18:16:59 +01:00
Cédric Krier bd30f3a1cc Increase version number 2020-11-02 16:07:40 +01:00
Cédric Krier 57cfa1a9f3 Add tag 5.8.0 [skip ci] 2020-11-02 16:07:28 +01:00
Cédric Krier 6dae4030cb Prepare release 5.8.0 [skip ci] 2020-11-02 16:07:28 +01:00
Cédric Krier f2e4656604 Update translations [skip ci] 2020-10-31 12:14:31 +01:00
Cédric Krier 82a297a02e Do not set page break on Relatorio paragraph
As Relatorio remove the paragraph, we need to add an small empty line to keep
the page break on the result.

issue9514
review329341002
2020-10-27 21:12:51 +01:00
Cédric Krier 0b7d0fff53 Remove support for Python 3.5
issue9733
2020-10-24 13:45:11 +02:00
Cédric Krier ce109a50e3 Convert read column into proper type with SQLite
As SQLite has few basic types, we must use column names cast parsing to ensure
to read values in proper type.

issue9652
review310801004
2020-10-21 23:11:13 +02:00
Cédric Krier f612c4a08d Ignore flake8 E741 2020-10-16 19:19:58 +02:00
Maxime Richez d85287ca27 Add picked step to customer shipment workflow
issue9634
review329071002
2020-10-12 23:19:54 +02:00
Cédric Krier f48d3757ae Add state string
issue9010
review252971002
2020-10-12 18:07:58 +02:00
Cédric Krier 2147c02775 Add default order on reporting
issue9693
review312501002
2020-10-12 17:48:33 +02:00
Cédric Krier 686596ff47 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Sergi Almacellas Abellana b174064698 Only update actual quantity when it has changed
issue9541
review294321002
2020-10-04 23:54:51 +02:00
Cédric Krier 4f0a3d04a0 Allow overriding digits in Lang.currency and Report.format_currency
issue9588
review292221002
2020-09-24 22:49:09 +02:00
Cédric Krier 996cfb90a9 Update tests for new report name scheme
issue9509
2020-09-24 18:28:45 +02:00
Cédric Krier 2a28cd1a2a Allow setting the tax date on taxable lines
We add a taxing date to the invoice line which allow overriding the value of
the invoice.
When crediting an invoice, the original tax date of each line is stored on the
credit line so the tax are computed the same way.

issue9520
review323791002
2020-09-05 23:37:58 +02:00
Sergey Datsevich eafdd3fb23 Reuse get_tax_amount in on_change_lines
issue9537
review300271002
2020-09-03 09:01:14 +02:00
Cédric Krier 9823d3e263 Set only existing default warehouse in default locations
The default warehouse may be None which is not a valid value in the list for
the default locations.

issue9547
review302041002
2020-08-29 18:24:38 +02:00
Cédric Krier 284c1db8a4 Use search context for product field on line
The context is only useful when searching product from line on the client.
So it is better to minimize the context to improve the caching.

issue9519
review310181002
2020-08-16 16:52:00 +02:00
Cédric Krier c3e8df02e3 Use original cost price for returned move
and factorize the cost price of move for cost computation

issue9440
review327491003
2020-08-10 23:38:04 +02:00
Abraham Cabezas 9d08ff5d2e Convert Invoice.update_taxes into dualmethod
issue5334
review294221003
2020-07-29 22:51:13 +02:00
Cédric Krier 6c36134232 Ensure values can be sorted
The values may contain None which is not orderable so we insert a third
argument before the value to prevent to compare None value against others.

issue9381
review303881005
2020-07-21 00:36:40 +02:00
David Harper 9670cd2b02 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier 2d2fe088f1 Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Cédric Krier b4f801813e Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier b7903e605d Enforce unit price on drop and customer return moves
Those values are interesting information for reporting or to compare with the
cost price.

issue9402
review327421002
2020-07-04 23:49:25 +02:00
Sergi Almacellas Abellana 426fee8ce4 Add delivery date
issue9307
review327141002
2020-06-06 17:17:48 +02:00
David Harper 9edc799842 Rename move state from cancel to cancelled
issue8927
review297851002
2020-06-06 10:30:11 +01:00
David Harper bf6191ef2c Rename invoice state from cancel to cancelled
issue8927
review303661003
2020-06-06 10:23:14 +01:00
David Harper e745ab43d1 Rename shipment states from cancel to cancelled
issue8927
review301711002
2020-06-06 10:17:30 +01:00
David Harper c7661af3dc Rename sale state from cancel to cancelled
issue8927
review323391002
2020-06-06 10:04:28 +01:00
David Harper c9a0a37b1d Add icon license file
issue9152
review317481002
2020-06-01 10:08:02 +01:00
Albert Cunillera Benet beb6d61947 Add window tab for exception states
issue9149
review293541002
2020-05-20 00:15:36 +02:00