Commit Graph
50 Commits
Author SHA1 Message Date
Cédric Krier 566ad5de79 Do not add searcher to the template function fields if the template field is not searchable
Closes #15063
(grafted from c7ff87de982a3f9d0e46a62bfebe76751bcbf4e2)

--HG--
branch : 7.0
2026-09-04 08:30:25 +02:00
Cédric Krier 1050494552 Use binary version of psycopg for tests
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)

--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
Cédric Krier 01fd577f1f Increase version number
--HG--
branch : 7.0
2026-04-16 23:18:02 +02:00
Cédric Krier d9ad8ac405 Prepare release product-7.0.5
--HG--
branch : 7.0
2026-04-16 23:17:52 +02:00
Cédric Krier 53dc0afa85 Do not simply copy One2Many from product linked by template and product
Closes #14739
(grafted from a15addd781e0cac818b6a7d2a969ee30d68932ba)

--HG--
branch : 7.0
2026-04-02 17:25:24 +02:00
Cédric Krier cbab6bec02 Increase version number
--HG--
branch : 7.0
2026-02-01 11:23:45 +01:00
Cédric Krier bbb6cb7141 Prepare release product-7.0.4
--HG--
branch : 7.0
2026-02-01 11:23:37 +01:00
Cédric Krier a66fd61c21 Do not convert input when converting between the same unit
Applying the factor/rate twice may loose precision if one of the number is a
rational with recurring decimal.

Closes #14501
(grafted from 09e3674f3ffe90f74cf2bc8a9884e885b28c93b8)

--HG--
branch : 7.0
2026-01-15 17:20:32 +01:00
Cédric Krier 14430a22d8 Increase version number
--HG--
branch : 7.0
2025-09-03 20:47:14 +02:00
Cédric Krier 0c8dd91698 Prepare release product-7.0.3
--HG--
branch : 7.0
2025-09-03 20:47:06 +02:00
Cédric Krier 2c8e0256cd Do not fail to open product category to add products without any categories
(grafted from 72db56e056c39546a146bf57b60246428ed79f6c)

--HG--
branch : 7.0
2025-07-15 17:42:16 +02:00
Cédric Krier 44d19bdd42 Increase version number
--HG--
branch : 7.0
2024-10-18 14:19:00 +02:00
Cédric Krier 388e745127 Prepare release product-7.0.2
--HG--
branch : 7.0
2024-10-18 14:18:53 +02:00
Cédric Krier f10fd8ee6a Extend searchable of Template Function field instead of definition
Since 4689fc76ddb7 the definition is based on the searchable result.
(grafted from 4712f4eebd77aa4cc1a2f21c204f68fd33d8c000)

--HG--
branch : 7.0
2024-10-08 14:38:40 +02:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier 94ec7332b1 Increase version number
--HG--
branch : 7.0
2023-12-16 11:04:50 +01:00
Cédric Krier 8a7f3697f3 Prepare release product-7.0.1
--HG--
branch : 7.0
2023-12-16 11:04:40 +01:00
Cédric Krier fb11301663 Strip generated code of product
The template code or product suffix code allow to have trailing and leading
spaces but not the code of the product. So we must compare the code with a
stripped version of the generated code to avoid infinite loop.

Closes #12801
(grafted from 79e4677f878eaedbaa882af75f450cfc9958624b)

--HG--
branch : 7.0
2023-12-05 10:28:35 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier a4cb3f9f61 Normalize Unit of Measure labels
For short label, we only use UoM with an help text showing with capital letter
the meaning of UoM.
2023-08-20 12:17:27 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier 74fb2982d6 Remove computed unit digits fields for stock quantity
The unit field can be used directly as digits.
2023-06-12 16:23:25 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Cédric Krier 84a2b5e271 Update translations 2023-04-29 10:07:40 +02:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier b719d8aed1 Add rstcheck 2023-03-15 16:33:19 +01:00
Cédric Krier 5c7648a6e1 Return multivalue from template when field is not defined on product
Closes #7474
2023-03-19 19:56:33 +01:00
Sergi Almacellas Abellana 640753a0d8 Do not copy templates relation when duplicating a category
Closes #12158
2023-03-24 08:56:09 +01:00
Cédric Krier 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Cédric Krier 8eee0bce1b Remove non-standard work day unit
Since 5b0f99f81e32 it is not possible to customize rate and factor of unit
which makes such non-standard unit more an issue than a feature.

Closes #12071
2023-02-07 23:03:17 +01:00
Dimitrios Moustos bf2a769137 Add energy category and units 2023-02-19 13:30:28 +01:00
Cédric Krier 61324ec547 Replace lstrip usage to remove field name from clause operand
Closes #12041
2023-01-29 00:46:36 +01:00
Cédric Krier 349dd77ae5 Add barcode function on product identifier 2022-12-26 22:32:23 +01:00
Cédric Krier 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00
Cédric Krier 5f8b891f62 Increase verbosity of tox 2022-12-28 00:26:31 +01:00
Cédric Krier f9be31007f Raise error message with record name and field in check_xml_record
Closes #11867
2022-12-26 13:18:22 +01:00
Cédric Krier 98cbb23f58 Improve setup.py
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier c35e1ad98d Use modulo on minor version to set latest series for documentation 2022-12-20 12:43:56 +01:00
Cédric Krier 5d3e4a39f2 Prepare migration to monorepo 2022-12-16 23:16:08 +01:00
Cédric Krier 5a6e84c54c Prepare migration to monorepo 2022-12-16 17:34:13 +01:00