Re: [tryton-dev] Feedback on issue3465

2015-02-26 Thread Cédric Krier
On 26 Feb 15:34, Jan Grasnick wrote:
 
 Am 26.02.2015 um 13:27 schrieb Cédric Krier:
  Hi,
 
  I would like to have feedback on this change of the UI:
  https://bugs.tryton.org/issue3465
 
  I put some screenshots on the issue for those who don't want to apply
  the patch.
 
 I know this behavior from other applications - but I don't like it so
 much. For me highlighting fields is enough.  and the additional button
 to clear a message is one click more - is it disappearing if all inputs
 are right?

It disappear as soon as an other action is performed.
About its usage, we talked (with Nicolas) about how we could change the
RPC protocol to allow such information bar filled by message from the
server on any calls (CRWD, on_change, button etc.). I will write a
blueprint but probably after the 3.6 release.

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


Re: [tryton-dev] Feedback on issue3465

2015-02-26 Thread Cédric Krier
On 26 Feb 15:50, Raimon Esteve wrote:
 I think about message green or red (save or invalid)  before pagination
 (toolbar) is correct (current version)

But not for accessibility.

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


Re: [tryton-dev] Feedback on issue3465

2015-02-26 Thread Jan Grasnick

Am 26.02.2015 um 13:27 schrieb Cédric Krier:
 Hi,

 I would like to have feedback on this change of the UI:
 https://bugs.tryton.org/issue3465

 I put some screenshots on the issue for those who don't want to apply
 the patch.

I know this behavior from other applications - but I don't like it so
much. For me highlighting fields is enough.  and the additional button
to clear a message is one click more - is it disappearing if all inputs
are right?


Re: [tryton-dev] Feedback on issue3465

2015-02-26 Thread Jan Grasnick

Am 26.02.2015 um 15:55 schrieb Cédric Krier:
 On 26 Feb 15:34, Jan Grasnick wrote:
 Am 26.02.2015 um 13:27 schrieb Cédric Krier:
 Hi,

 I would like to have feedback on this change of the UI:
 https://bugs.tryton.org/issue3465

 I put some screenshots on the issue for those who don't want to apply
 the patch.
 I know this behavior from other applications - but I don't like it so
 much. For me highlighting fields is enough.  and the additional button
 to clear a message is one click more - is it disappearing if all inputs
 are right?
 It disappear as soon as an other action is performed.
 About its usage, we talked (with Nicolas) about how we could change the
 RPC protocol to allow such information bar filled by message from the
 server on any calls (CRWD, on_change, button etc.). I will write a
 blueprint but probably after the 3.6 release.
 
this would be a pleasure!  I have written a little module which extends
history with a kind of revision system. It's a mixin that implements a
check, if a record is validated from a reviewer after a change. Now I
raise a user error if it is not validated and used in x2x. A
notification system would be a nice enhancement.




[tryton-dev] Feedback on issue3465

2015-02-26 Thread Cédric Krier
Hi,

I would like to have feedback on this change of the UI:
https://bugs.tryton.org/issue3465

I put some screenshots on the issue for those who don't want to apply
the patch.

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


[tryton-dev] on_change update relationals

2015-02-26 Thread Simon Klemenc
hi there,

I recognized that when i update the party from a sale, the tax rule is not 
updated for the sales line..

Easy, i thought, just add it to an on_change_party...
however, I dont know how i would update relational fields (sale lines)
calling line.save() is not really intended here i think and it doesnt work 
aswel...

Is there a way to do this?

regards,
smion



Re: [tryton-dev] on_change update relationals

2015-02-26 Thread Cédric Krier
On 26 Feb 15:53, Simon Klemenc wrote:
 hi there,
 
 I recognized that when i update the party from a sale, the tax rule is not 
 updated for the sales line..
 
 Easy, i thought, just add it to an on_change_party...
 however, I dont know how i would update relational fields (sale lines)
 calling line.save() is not really intended here i think and it doesnt work 
 aswel...
 
 Is there a way to do this?

Not really that's why the party is readonly once there is a line added on sale.


PS: tryton-dev@ if about developping Tryton, general question are for
tryton@
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/