Issue 2556

Title
Check siret when checking siren
Priority
feature
Status
chatting
Nosy list
NicolasTr, brunnenschacht
Assigned to
Keywords
easy

Created on 2012-04-19.17:14:31 by NicolasTr, last changed 18 months ago by brunnenschacht.

Messages

Author: [hidden] (brunnenschacht)
Date: 2019-11-15.08:31:28
Is that still a Issue?

Because when i try to change the siren number and click Save i got a warning popup: Invalid SIREN number "3432" on party "Test".

I used the http://demo5.0.tryton.org server.
Author: [hidden] (NicolasTr)
Date: 2012-04-19.17:14:30
A siret number depends on the siren number of the party. If the siren change in 
a party, siret numbers of his addresses can be corrupted.

How to reproduce the problem:
1/ Create a party with SIREN = 732829320
2/ In the address, enter SIRET NIC = 00074
3/ Save
4/ Change the party to 552100554
5/ Save (=> SIRET in incorrect)
6/ Change something in the addres (for example, the name)
7/ Save
History
Date User Action Args
2019-11-15 08:31:29brunnenschachtsetstatus: unread -> chatting
nosy: + brunnenschacht
messages: + msg53193
2014-07-10 17:39:07cedsetkeyword: + easy
2012-04-19 23:39:28cedsetpriority: bug -> feature
2012-04-19 20:27:14cedsettype: behavior
component: + party_siret
2012-04-19 17:14:31NicolasTrcreate

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