Message 48307

Message id


On 2019-04-02 09:04, Sergi Almacellas Abellana wrote:
> > C├ędric Krier added the comment:
> > 
> > I do not think a warning is the right way because it prevents automatic creation of document.
> I've added a context flag that allows to skip the test. This can be set on automatic processes to skip the warning and create the documents.

This is not a good solution. We have seen that such design is broken
with the access right. Because it leads to have to set *everywhere* this
context if we want to be modular.

> > But here as the data is not controlled by Tryton, we can not guess that the reference will be unique per party.
> That's why I set it as warning so the system allows to include duplicated references but warns the user before doing so. 

I doubt it adds real value for some reasons:

* Tools will never fix human workflow errors.
* Supplier invoices are assembled from purchase so already you cannot
  use twice the same line.
* User will stop filling the reference field to avoid the warning.
Date User Action Args
2019-04-02 09:15:07cedsetrecipients: + pokoli, lukio, reviewbot
2019-04-02 09:15:07cedlinkissue8244 messages
2019-04-02 09:15:06cedcreate