Re: [tryton] RfC: maning of new state of stock move

2014-12-19 Thread Mathias Behrle
* Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 19
  Dec 2014 11:56:57 +0100):

 On 05 Dec 11:57, Mathias Behrle wrote:
  Hi all,
  
  I would like to pull a little bit of your attention to the following issue:
  
  For [1] there is coming a new state for stock moves, for which the current
  proposal [2] is 'None'.
  
  My point of view is: there shouldn't be a state of None. As soon as an
  object has a state, it has one and 'None' is misleading. This is different
  from selections, where you can can make a selection or not.
  
  I proposed several alternatives:
  
  'Preliminary', 'Preparative', 'Provisional', 'Tentative'
  
  What would be your prefered name just in case?
 
 I propose 'Staging' as refering in
 https://en.wikipedia.org/wiki/Staging_%28data%29

Yes, even better, sounds good to me.

-- 

Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg

Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6


pgprHYgcJfh1m.pgp
Description: Digitale Signatur von OpenPGP


Re: [tryton] RfC: maning of new state of stock move

2014-12-19 Thread Nicolas Évrard
* Mathias Behrle  [2014-12-19 12:26 +0100]: 

* Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 19
 Dec 2014 11:56:57 +0100):


On 05 Dec 11:57, Mathias Behrle wrote:
 Hi all,

 I would like to pull a little bit of your attention to the following issue:

 For [1] there is coming a new state for stock moves, for which the current
 proposal [2] is 'None'.

 My point of view is: there shouldn't be a state of None. As soon as an
 object has a state, it has one and 'None' is misleading. This is different
 from selections, where you can can make a selection or not.

 I proposed several alternatives:

 'Preliminary', 'Preparative', 'Provisional', 'Tentative'

 What would be your prefered name just in case?

I propose 'Staging' as refering in
https://en.wikipedia.org/wiki/Staging_%28data%29


Yes, even better, sounds good to me.


I second that proposition.

--
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: nicolas.evr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


signature.asc
Description: Digital signature


Re: [tryton] RfC: maning of new state of stock move

2014-12-05 Thread Cédric Krier
On 05 Dec 11:57, Mathias Behrle wrote:
 Hi all,
 
 I would like to pull a little bit of your attention to the following issue:
 
 For [1] there is coming a new state for stock moves, for which the current
 proposal [2] is 'None'.
 
 My point of view is: there shouldn't be a state of None. As soon as an object
 has a state, it has one and 'None' is misleading. This is different from
 selections, where you can can make a selection or not.

I don't understand this thought.
state field can only have one of the value of the selection so there is
no misleading by naming one of the selection 'None'.

 I proposed several alternatives:
 
 'Preliminary', 'Preparative', 'Provisional', 'Tentative'
 
 What would be your prefered name just in case?
 
 Cheers,
 Mathias
 
 
 [1] https://bugs.tryton.org/issue4362
 [2] http://codereview.tryton.org/5811002/diff/20001/CHANGELOG#newcode1

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpqDqW3JRUV8.pgp
Description: PGP signature


Re: [tryton] RfC: maning of new state of stock move

2014-12-05 Thread Mathias Behrle
* Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 5
  Dec 2014 12:07:54 +0100):

 On 05 Dec 11:57, Mathias Behrle wrote:
  Hi all,
  
  I would like to pull a little bit of your attention to the following issue:
  
  For [1] there is coming a new state for stock moves, for which the current
  proposal [2] is 'None'.
  
  My point of view is: there shouldn't be a state of None. As soon as an
  object has a state, it has one and 'None' is misleading. This is different
  from selections, where you can can make a selection or not.
 
 I don't understand this thought.
 state field can only have one of the value of the selection so there is
 no misleading by naming one of the selection 'None'.

A state of 'None' logically is not at all a state , so if choosen the state
should disappear from the object.
It would be way easier for our users to have a meaningful name instead of a
logical clash.

A selection is different. Not doing a selection is an empty selection.

  I proposed several alternatives:
  
  'Preliminary', 'Preparative', 'Provisional', 'Tentative'
  
  What would be your prefered name just in case?
  
  Cheers,
  Mathias
  
  
  [1] https://bugs.tryton.org/issue4362
  [2] http://codereview.tryton.org/5811002/diff/20001/CHANGELOG#newcode1
 



-- 

Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg

Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6


pgphv026qRm0N.pgp
Description: Digitale Signatur von OpenPGP


Re: [tryton] RfC: maning of new state of stock move

2014-12-05 Thread Cédric Krier
On 05 Dec 12:34, Mathias Behrle wrote:
 * Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 5
   Dec 2014 12:07:54 +0100):
 
  On 05 Dec 11:57, Mathias Behrle wrote:
   Hi all,
   
   I would like to pull a little bit of your attention to the following 
   issue:
   
   For [1] there is coming a new state for stock moves, for which the current
   proposal [2] is 'None'.
   
   My point of view is: there shouldn't be a state of None. As soon as an
   object has a state, it has one and 'None' is misleading. This is different
   from selections, where you can can make a selection or not.
  
  I don't understand this thought.
  state field can only have one of the value of the selection so there is
  no misleading by naming one of the selection 'None'.
 
 A state of 'None' logically is not at all a state ,

For me this is wrong, it is a state.

 so if choosen the state
 should disappear from the object.

I don't understand.

 It would be way easier for our users to have a meaningful name instead of a
 logical clash.

What best meaning that the move has no state because it has a state that
does nothing.

 A selection is different. Not doing a selection is an empty selection.

Wrong. This is not how Tryton works. If there is not a selection entry
for 'Empty', it is not possible to not select something.


-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpYWWaEs58Gr.pgp
Description: PGP signature


Re: [tryton] RfC: maning of new state of stock move

2014-12-05 Thread Mathias Behrle
* Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 5
  Dec 2014 13:17:03 +0100):

 On 05 Dec 12:34, Mathias Behrle wrote:
  * Cédric Krier:  Re: [tryton] RfC: maning of new state of stock
  move (Fri, 5 Dec 2014 12:07:54 +0100):
  
   On 05 Dec 11:57, Mathias Behrle wrote:
Hi all,

I would like to pull a little bit of your attention to the following
issue:

For [1] there is coming a new state for stock moves, for which the
current proposal [2] is 'None'.

My point of view is: there shouldn't be a state of None. As soon as an
object has a state, it has one and 'None' is misleading. This is
different from selections, where you can can make a selection or not.
   
   I don't understand this thought.
   state field can only have one of the value of the selection so there is
   no misleading by naming one of the selection 'None'.
  
  A state of 'None' logically is not at all a state ,
 
 For me this is wrong, it is a state.
 
  so if choosen the state
  should disappear from the object.
 
 I don't understand.

If you choose to set a state to 'None', you could expect to remove it.
 
  It would be way easier for our users to have a meaningful name instead of a
  logical clash.
 
 What best meaning that the move has no state because it has a state that
 does nothing.

So give it a meaningful name describing its purpose:

'Preliminary', 'Preparative', 'Provisional', 'Tentative'
 
  A selection is different. Not doing a selection is an empty selection.
 
 Wrong. This is not how Tryton works. If there is not a selection entry
 for 'Empty', it is not possible to not select something.

It is logic for selections to contain an empty item, if the selection is not
required. It is not logic for a state to be not a state, because as soon as
something is in a state, it has one, but not none.


-- 

Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg

Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6


pgp1n44sNO8Ij.pgp
Description: Digitale Signatur von OpenPGP


Re: [tryton] RfC: maning of new state of stock move

2014-12-05 Thread Cédric Krier
On 05 Dec 13:54, Mathias Behrle wrote:
 * Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 5
   Dec 2014 13:17:03 +0100):
 
  On 05 Dec 12:34, Mathias Behrle wrote:
   * Cédric Krier:  Re: [tryton] RfC: maning of new state of stock
   move (Fri, 5 Dec 2014 12:07:54 +0100):
   
On 05 Dec 11:57, Mathias Behrle wrote:
 Hi all,
 
 I would like to pull a little bit of your attention to the following
 issue:
 
 For [1] there is coming a new state for stock moves, for which the
 current proposal [2] is 'None'.
 
 My point of view is: there shouldn't be a state of None. As soon as an
 object has a state, it has one and 'None' is misleading. This is
 different from selections, where you can can make a selection or not.

I don't understand this thought.
state field can only have one of the value of the selection so there is
no misleading by naming one of the selection 'None'.
   
   A state of 'None' logically is not at all a state ,
  
  For me this is wrong, it is a state.
  
   so if choosen the state
   should disappear from the object.
  
  I don't understand.
 
 If you choose to set a state to 'None', you could expect to remove it.

To remove what?

   It would be way easier for our users to have a meaningful name instead of 
   a
   logical clash.
  
  What best meaning that the move has no state because it has a state that
  does nothing.
 
 So give it a meaningful name describing its purpose:
 
 'Preliminary', 'Preparative', 'Provisional', 'Tentative'

All sounds like for the current 'Draft'.

   A selection is different. Not doing a selection is an empty selection.
  
  Wrong. This is not how Tryton works. If there is not a selection entry
  for 'Empty', it is not possible to not select something.
 
 It is logic for selections to contain an empty item, if the selection is not
 required.

False assumption.

 It is not logic for a state to be not a state,

Who says it is not a state?

 because as soon as
 something is in a state, it has one, but not none.

There is always something in a field.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgppeelVIdsf3.pgp
Description: PGP signature


Re: [tryton] RfC: maning of new state of stock move

2014-12-05 Thread Mathias Behrle
* Cédric Krier:  Re: [tryton] RfC: maning of new state of stock move (Fri, 5
  Dec 2014 14:27:08 +0100):

 On 05 Dec 13:54, Mathias Behrle wrote:
  * Cédric Krier:  Re: [tryton] RfC: maning of new state of stock
  move (Fri, 5 Dec 2014 13:17:03 +0100):
  
   On 05 Dec 12:34, Mathias Behrle wrote:
* Cédric Krier:  Re: [tryton] RfC: maning of new state of stock
move (Fri, 5 Dec 2014 12:07:54 +0100):

 On 05 Dec 11:57, Mathias Behrle wrote:
  Hi all,
  
  I would like to pull a little bit of your attention to the following
  issue:
  
  For [1] there is coming a new state for stock moves, for which the
  current proposal [2] is 'None'.
  
  My point of view is: there shouldn't be a state of None. As soon as
  an object has a state, it has one and 'None' is misleading. This is
  different from selections, where you can can make a selection or
  not.
 
 I don't understand this thought.
 state field can only have one of the value of the selection so there
 is no misleading by naming one of the selection 'None'.

A state of 'None' logically is not at all a state ,
   
   For me this is wrong, it is a state.
   
so if choosen the state
should disappear from the object.
   
   I don't understand.
  
  If you choose to set a state to 'None', you could expect to remove it.
 
 To remove what?
 
It would be way easier for our users to have a meaningful name instead
of a logical clash.
   
   What best meaning that the move has no state because it has a state that
   does nothing.
  
  So give it a meaningful name describing its purpose:
  
  'Preliminary', 'Preparative', 'Provisional', 'Tentative'
 
 All sounds like for the current 'Draft'.
 
A selection is different. Not doing a selection is an empty selection.
   
   Wrong. This is not how Tryton works. If there is not a selection entry
   for 'Empty', it is not possible to not select something.
  
  It is logic for selections to contain an empty item, if the selection is not
  required.
 
 False assumption.
 
  It is not logic for a state to be not a state,
 
 Who says it is not a state?

You.

Citing you from [1]

| But for me, None is clearly defining what it is. A move with no state.

  because as soon as
  something is in a state, it has one, but not none.
 
 There is always something in a field.

Cédric, I know that we disagree. It doesn't make much sense to me that we both
repeat arguments again and again. That's why I just would like to hear from
others, how they think about the matter.


-- 

Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg

Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6


pgpJBlnL9aXdj.pgp
Description: Digitale Signatur von OpenPGP