Issue 9906

A company is required for updating sequence values
Nosy list
ced, pokoli
Assigned to

Created on 2020-12-02.20:42:09 by pokoli, last changed 1 month ago by ced.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-12-02.21:29:28

I think it is because the domain inversion does not evaluate correctly the ('company', 'in', […, None]).
I think rev 57e0e3a871c1 need also to manage None with in operator like in Field._domain_add_null.

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-12-02.20:42:09

On 5.8 series if you try to update the values of a sequence from the configuration singleton the company field is required (from domain inversion) but it should be optional to allow sharing the same sequence between multiple companies.

Steps to reproduce (tested on demo server):

  1. Login with admin user
    . Open the sale configuracion (Sale -> Configuration -> Sale Configuration)
  2. Open the Sale Sequence and change the number.

Current result:

  • The client complaints about a required value for company

Expected behaviour:

The number can be changed without altering the view.

As a workarround, it is possible to update the sequences from the Administration -> Sequences -> Sequences menu.

Date User Action Args
2020-12-02 21:29:28cedsetmessages: + msg62346
nosy: + ced
status: unread -> chatting
2020-12-02 20:42:09pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)