I've seen that when I open a draft purchase order on SAO, if I modify "Aditional information" field, and then click on quotation button, the client show me a concurrency exeption.
<https://lh3.googleusercontent.com/-zcIOI2am-Xs/VoJckYkcTzI/AAAAAAAAAuU/Cprbh8ihrXc/s1600/Captura%2Bde%2Bpantalla%2Bde%2B2015-12-29%2B05-10-01.png> If I execute the same operation on Gtk Client, this works fine. I view the server log and find the cause of exeption: when SAO call "quote" action on purchase order, send timestamp with a value, and when GTK client execute the same operation send timestamp with None. Web client (SAO) 3860 140017359230720 [2015-12-29 10:03:08,119] INFO trytond.protocols.dispatcher model.purchase.purchase.quote(*([2], {u'date_format': u'%d/%m/%Y', *u'_timestamp': {u'purchase.purchase,2': u'1451383373.98112',* u'purchase.line,2': u'1451382020.6951'}, u'language': u'es_ES', u'locale': {u'date': u'%d/%m/%Y', u'thousands_sep': u'.', u'grouping': [3, 3, 0], u'decimal_point': u','}, u'language_direction': u'ltr', u'company.rec_name': u'MIN', u'groups': [1, 12, 11, 7, 6, 5, 2, 13, 10, 9, 8, 4, 3], u'employee': None, u'company': 1}), **{}) from [email protected]:34730/md2 Gtk Client (Tryton) 3860 140017377588992 [2015-12-29 10:05:14,301] INFO trytond.protocols.dispatcher model.purchase.purchase.quote(*([2], {u'date_format': u'%d/%m/%Y', *u'_timestamp': {u'purchase.purchase,2': None}*, u'language': u'es_ES', u'locale': {u'date': u'%d/%m/%Y', u'thousands_sep': u'.', u'decimal_point': u',', u'grouping': [3, 3, 0]}, u'language_direction': u'ltr', u'company.rec_name': u'MIN', u'groups': [1, 12, 11, 7, 6, 5, 2, 13, 10, 9, 8, 4, 3], u'employee': None, u'company': 1}), **{}) from [email protected]:34600/md2 I think that SAO should handle context the same way it that GTK client does... -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/2bc9512d-341f-4db7-becb-298402351111%40googlegroups.com.
