while upgrading to 5.2 I notice the following:
29007 140059431294592 [2019-09-08 16:48:53,502] WARNING trytond.backend.postgresql.table Unable to set column name of table ir_rule_group not null !
Try to re-run: trytond.py --update=module
If it doesn't work, update records and execute manually:
ALTER TABLE "ir_rule_group" ALTER COLUMN "name" SET NOT NULL
But trying to do so I notice:
test=# select count(*) from ir_rule_group where name is null;
count
-------
65
(1 ligne)
test=# select * from ir_module where id in (select model from ir_rule_group where name is null);
id | create_uid | create_date | write_date | write_uid | name | state
-----+------------+----------------------------+----------------------------+-----------+----------------------------------+---------------
11 | 0 | 2019-01-18 15:39:48.171251 | | | notification_email | not activated
12 | 0 | 2019-01-18 15:39:48.171251 | | | purchase_invoice_line_standalone | not activated
13 | 0 | 2019-01-18 15:39:48.171251 | | | account_dunning_email | not activated
14 | 0 | 2019-01-18 15:39:48.171251 | | | stock_supply | not activated
19 | 0 | 2019-01-18 15:39:48.171251 | | | product_price_list_parent | not activated
21 | 0 | 2019-01-18 15:39:48.171251 | | | sale_invoice_grouping | not activated
22 | 0 | 2019-01-18 15:39:48.171251 | | | account_dunning_fee | not activated
27 | 0 | 2019-01-18 15:39:48.171251 | | | product_classification_taxonomic | not activated
61 | 0 | 2019-01-18 15:39:48.171251 | | | sale_opportunity | not activated
68 | 0 | 2019-01-18 15:39:48.171251 | | | web_user | not activated
69 | 0 | 2019-01-18 15:39:48.171251 | | | account_invoice_line_standalone | not activated
108 | 0 | 2019-01-18 15:39:48.171251 | | | analytic_sale | not activated
118 | 0 | 2019-01-18 15:39:48.171251 | | | production_outsourcing | not activated
119 | 0 | 2019-01-18 15:39:48.171251 | | | account_payment_stripe | not activated
121 | 0 | 2019-01-18 15:39:48.171251 | | | sale_supply | not activated
60 | 0 | 2019-01-18 15:39:48.171251 | 2019-01-19 01:08:22.396287 | 1 | bank | activated
24 | 0 | 2019-01-18 15:39:48.171251 | 2019-01-19 01:08:22.396287 | 1 | product_classification | activated
23 | 0 | 2019-01-18 15:39:48.171251 | 2019-01-19 01:08:22.396287 | 1 | party_siret | activated
114 | 0 | 2019-01-18 15:39:48.171251 | 2019-01-19 01:08:22.396287 | 1 | product_measurements | activated
111 | 0 | 2019-01-18 15:39:48.171251 | 2019-01-19 01:08:22.396287 | 1 | account_invoice_correction | activated
132 | 0 | 2019-02-21 06:17:18.468266 | 2019-02-21 14:23:25.642797 | 4 | account_invoice_merge | activated
28 | 0 | 2019-01-18 15:39:48.171251 | 2019-01-29 17:02:21.434953 | 1 | account_tax_cash | activated
(22 lignes)
What to do here, delete these records or add a name? if so, what name?