Commit Graph
1061 Commits
Author SHA1 Message Date
Cédric Krier 4958aeb3cd Add tag 5.6.0 [skip ci] 2020-05-04 12:25:17 +02:00
Cédric Krier 386a8d13a2 Prepare release 5.6.0 [skip ci] 2020-05-04 12:25:17 +02:00
Cédric Krier f300b1b805 Update translations 2020-05-02 10:29:24 +02:00
Cédric Krier a0a8ca50c0 Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:53:51 +02:00
Sergi Almacellas Abellana eaac033426 Add company as product context field
issue9111
review275031002
2020-04-25 09:18:50 +02:00
Cédric Krier 37b8691d29 Add round_price
We add a common method to round prices that are stored using the price digits.
It is useless to use the digits from the field because it can not be changed in
any other way than by configuration.

issue9146
review299521002
2020-04-23 21:44:00 +02:00
Cédric Krier edb4c02d9c Add actual quantity on line
The actual quantity is computed once the order is processing. We take the
biggest quantity between the shipped and invoiced and ignore the cancelled.

issue9191
review319091002
2020-04-14 09:27:53 +02:00
Cédric Krier bc8347855a Allow copying attachments and notes to created records
issue9154
review266971002
2020-04-13 17:25:02 +02:00
Cédric Krier d382a04d35 Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier 2ea47f1d88 Add employee on document for some states
issue8969
review276621002
2020-04-10 18:53:44 +02:00
Cédric Krier 7b4715a6db Add contact and invoice party
issue8992
review274701003
2020-03-28 14:25:57 +01:00
Sergi Almacellas Abellana 26d61f626c Add support for python3.8
issue8866
review274421004
2020-03-19 19:10:22 +01:00
Cédric Krier 7e6ae8a8fc Enforce the same category of UoM between invoice lines and origin
The origin lines compute the remaining quantity by converting the move quantity
to the origin unit. So they must have the same category of UoM.

issue9142
review285011002
2020-03-17 23:26:58 +01:00
Cédric Krier 32c7865e40 Set all fields readonly for inactive records
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier a14b4ddbf5 Set auth-method to trust for drone build
issue9063
2020-03-01 16:12:39 +01:00
Cédric Krier 3b9522097c Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:53 +01:00
Cédric Krier 84def1e72e Add access right on configuration
issue9000
review274731002
2020-02-23 13:56:58 +01:00
Cédric Krier 23033e68e2 Add salable products menu entry
This shows the same product list as when selecting product from the sale line
and provide the same contextual options.

issue8981
review258651002
2020-02-23 13:55:00 +01:00
Cédric Krier 5f24c941f0 Use depends on TaxableMixin
issue8986
review282751002
2020-02-12 00:19:27 +01:00
Cédric Krier 77bd9d66a1 Make message id correspond to message text 2020-02-05 15:59:42 +01:00
Cédric Krier bcde506f4c Make sale required on line
issue8998
review286561002
2020-02-04 18:33:23 +01:00
Cédric Krier 1da6baf509 Remove global variables used for field definitions
They give the false idea that they can be extended or reused which is not the
case.

issue8967
review252851012
2020-01-25 20:18:49 +01:00
Cédric Krier 528b46706d Count as quantity to invoice only moves that reach the destination
issue8951
review264961002
2020-01-13 23:54:01 +01:00
Cédric Krier 7a82b36845 Use the number of category for pairing the categories and the lines
The Elegant Pairing generate integer out of range as soon as there are more
than 46340 sale lines (under PostgreSQL).
As the number of category is almost fixed and small, we can pair by multiplying
the line id per the number of category and add the category id.
We must try to use number of category that does not change if new categories
are created meanwhile. For that we always takes the first power of ten bigger
then the current number. This reduces the number of cases when all ids will be
changed because a new category was added.

issue8941
review278321003
2020-01-13 23:48:22 +01:00
Cédric Krier 821be111b5 Add company domain to check erase
issue8906
review256321002
2019-12-14 10:47:54 +01:00
Nicolas Évrard 61d6247d34 Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier 40ab06b5d5 Correctly activate share extension in drone pipeline
issue8830
2019-12-04 11:09:36 +01:00
Cédric Krier 2b6b35f30f Replace echo with interpretation of backslash escapes by multiple commands
drone escape the echo option.

issue8830
2019-12-04 09:53:36 +01:00
Cédric Krier 320126f110 Use pooled storage for clone in done
issue8830
review284451002
2019-12-03 22:59:32 +01:00
Cédric Krier b259c6ec74 Display quantity in record name
issue8797
review274151002
2019-11-26 22:20:24 +01:00
Cédric Krier 7078999e02 Append CI build number to package version
This makes them unique and avoid collision with the shared cache.

issue8831
review254651002
2019-11-25 21:55:21 +01:00
Albert Cunillera Benet e47620cdc8 Use lazy_gettext for reporting Mixin
issue8617
review264601002
2019-11-17 17:15:35 +01:00
Cédric Krier bee0e7a243 Increase version number 2019-11-04 13:06:53 +01:00
Cédric Krier 42308658ac Added tag 5.4.0 for changeset 0ecdabf1630d 2019-11-04 13:06:42 +01:00
Cédric Krier e8c7889c1e Prepare release 5.4.0 2019-11-04 13:06:42 +01:00
Cédric Krier e75466c123 Update translations 2019-11-02 18:07:43 +01:00
Cédric Krier d528aa4249 Add Indonesian
issue8184
review285461002
2019-11-01 23:34:59 +01:00
Cédric Krier 96df490e97 Set company context in product instance
This ensures that the correct value for field depending on the company from
product is used.

issue8690
review252281002
2019-10-01 22:23:55 +02:00
Cédric Krier f729a9960e Add amendment
issue8494
review267641002
2019-09-29 18:30:25 +02:00
Cédric Krier 9f3c39e9d3 Add expand on tree view
and unify layout of form view.

issue8644
review262131002
2019-09-28 23:59:09 +02:00
Cédric Krier e6c3082629 Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier ba691ab5ac Prevent assign unknown attributes on Model
by adding __slots__ on PoolMeta

issue8567
review254091002
2019-09-07 23:45:08 +02:00
Cédric Krier 031c217e27 Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.

issue6573
review254081002
2019-09-07 23:38:20 +02:00
Thierry Bruyere 6645dc7a5c Add a global method to set default warehouse
issue8396
review277371003
2019-09-07 23:13:33 +02:00
Sergi Almacellas Abellana 4685a25581 Use grouped attribute on message.xml
issue8556
review272001002
2019-08-09 16:38:11 +02:00
Cédric Krier 80bebece07 Add history to sale and purchase
Each time the order is reset to draft, we increase the revision number.
The order, lines and tax lines are also historized to browse past version.

issue8366
review279381002
2019-06-26 16:39:40 +02:00
Maxime Richez 3ab9655039 Preserve original delivery date on backorders from future shipping
issue8284
review283331002
2019-06-05 09:57:19 +02:00
Cédric Krier 8ffb6ad82f Always use record name for origin name
The reference field is always now included in the record name.

issue8299
review271331013
2019-05-22 18:37:08 +02:00
Cédric Krier 8bfa397d5e Increase version number 2019-05-06 15:10:35 +02:00
Cédric Krier 803dae74b9 Added tag 5.2.0 for changeset 270f93e1f0f6 2019-05-06 15:10:24 +02:00