Commit Graph
712 Commits
Author SHA1 Message Date
Maxime Richez d5507e7d33 Set code column first in template tree view
issue9467
review298151002
2020-07-25 12:54:47 +02:00
Cédric Krier b3741b52b2 Do not copy the template code
When the variant has no code, the template code is the only part of the unique
constraint. In such case copying the template fails because the new variant
will have the same code.

issue9462
review306081002
2020-07-24 10:03:09 +02:00
David Harper 5d5ded1736 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Maxime Richez 640c428c38 Add default order on product and template
issue9339
review321331002
2020-06-15 09:00:44 +02:00
David Harper ac2d51a54e Add icon license file
issue9152
review317481002
2020-06-01 10:08:02 +01:00
Cédric Krier 27cd4b6eb0 Check price_decimal configuration
The price_decimal stored in ir.configuration is checked against the current
configuration value. We do not allow to start serving a database for which the
values are different as it may be due to a misconfiguration which can lead to
data corruption.

issue9324
review317381002
2020-05-28 18:22:45 +02:00
Cédric Krier 8aca6746ab Use identifier list with sequence on simple product form
We should allow to also order identifier from this view.

issue9342
review295571002
2020-05-19 19:23:37 +02:00
Cédric Krier 2801aa3672 Increase version number 2020-05-04 12:19:29 +02:00
Cédric Krier 8b9dc03b36 Add tag 5.6.0 [skip ci] 2020-05-04 12:19:19 +02:00
Cédric Krier 747ede4299 Prepare release 5.6.0 [skip ci] 2020-05-04 12:19:19 +02:00
José Salvador afcdc668f8 Use correct name name in scenario description
issue9289
review315421002
2020-05-02 23:04:15 +02:00
Cédric Krier 1d99b312fe Update translations 2020-05-02 10:29:24 +02:00
Cédric Krier 29dcce152d Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:53:51 +02:00
Cédric Krier 40d374ae08 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
Sergi Almacellas Abellana d0bc2dd680 Include template name on it's record name searcher
issue9229
review321141005
2020-04-20 14:12:54 +02:00
Cédric Krier 2ddb0d100b Fix syntax error
It comes from a bad application of the patch from issue6314
2020-04-13 18:10:18 +02:00
Nicolas Évrard f86e82e7aa Add help text
issue6314
review33151002
2020-04-13 17:50:45 +02:00
Sergi Almacellas Abellana 29c435a038 Add support for python3.8
issue8866
review274421004
2020-03-19 19:06:06 +01:00
Cédric Krier 8c8ea90d24 Make product code unique
This allows to use the product code as SKU.

issue9004
review270831002
2020-03-19 00:33:37 +01:00
Cédric Krier c46798faac Add code to template as variant prefix code
The product code is stored as the concatenation of the template code and
variant suffix code each time the template or the product is modified.

issue9080
review293101002
2020-03-19 00:28:43 +01:00
Cédric Krier 003e3eed33 Set all fields readonly for inactive records
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier 4257587555 Hide product fields inherited from template when empty
This makes the form less confusing for user when he tries to create a product
from a Many2One.

issue9020
review284751002
2020-03-05 00:27:49 +01:00
Cédric Krier b94363cc73 Skip default products when template is created from product
issue9025
review253011005
2020-03-05 00:25:53 +01:00
Cédric Krier 6165abb0af Set auth-method to trust for drone build
issue9063
2020-03-01 16:12:39 +01:00
Cédric Krier 8ec0d35758 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:52 +01:00
Cédric Krier b8652ff9e7 Add access right on configuration
issue9000
review274731002
2020-02-23 13:56:58 +01:00
Sergi Almacellas Abellana 9b4372ee93 Search also on variant name when searching on template record name
issue9026
review282891002
2020-02-17 10:17:31 +01:00
Cédric Krier 10f728aeb9 Add missing enumerate when looping on non modifiable field
It is missing since changeset 8c885973a93f.

issue8984
review274691002
2020-01-20 11:12:47 +01:00
Cédric Krier ac4a6a928c Fix typo in scenario description 2020-01-20 10:59:30 +01:00
Nicolas Évrard a35598022d Use direct access to backend forgotten in changeset 01c131617c22
issue8836
2020-01-10 11:13:59 +01:00
Nicolas Évrard fff66c9b7a Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier ebc322cd2d Correctly activate share extension in drone pipeline
issue8830
2019-12-04 11:09:36 +01:00
Cédric Krier cedaf1221a 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 ab1423a869 Use pooled storage for clone in done
issue8830
review284451002
2019-12-03 22:59:31 +01:00
Cédric Krier bcaaadc4a9 Remove parent field from TemplateFunction fields
Otherwise the parent will be set using a product instance instead of a
template when assigning values to the product instance like in
on_change_template.

issue8868
review288591007
2019-11-26 17:50:18 +01:00
Cédric Krier 4e2d98e183 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:20 +01:00
Cédric Krier fa84986b7d Increase version number 2019-11-04 13:01:25 +01:00
Cédric Krier 6d8d5f87f0 Added tag 5.4.0 for changeset cf6cb22c72cb 2019-11-04 13:01:15 +01:00
Cédric Krier 47cae6e25c Prepare release 5.4.0 2019-11-04 13:01:15 +01:00
Cédric Krier 091ba71eba Update translations 2019-11-02 18:07:42 +01:00
Cédric Krier c97818d784 Add Indonesian
issue8184
review285461002
2019-11-01 23:34:58 +01:00
Cédric Krier df48a41ae7 Add missing parent depends
issue8712
review258221002
2019-10-16 21:19:46 +02:00
Albert Cervera i Areny 1acd473b00 Add shortcut when rounding zero quantity
issue8593
review255871003
2019-10-11 22:23:58 +02:00
Cédric Krier 810820daa4 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 c11782e2d1 Add expand on tree view
and unify layout of form view.

issue8644
review262131002
2019-09-28 23:59:09 +02:00
Sergi Almacellas Abellana 6c2512d7dc Allow the product code to be set by a sequence
issue8545
review261921004
2019-08-19 11:43:26 +02:00
Sergi Almacellas Abellana 9e0a46e2ce Use grouped attribute on message.xml
issue8556
review272001002
2019-08-09 16:36:07 +02:00
Cédric Krier 4fa7b4e319 Allow UoM conversion between different categories
issue8238
review265151005
2019-07-08 17:34:44 +02:00
Cédric Krier c1f769451b Add variants on list view
review259391005
2019-06-16 15:42:42 +02:00
Sergi Almacellas Abellana 1625d6d2fb Use ImportError instead of ModuleNotFoundError for py3.5 support
issue7086
2019-06-06 19:32:36 +02:00