IRC logs of #tryton for Monday, 2020-10-19 #tryton log beginning Mon Oct 19 12:00:02 AM CEST 2020
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:10
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton03:10
-!- lucascastro( has joined #tryton06:10
-!- lucascastro( has joined #tryton06:10
-!- springwurm(~Springwur@ has joined #tryton07:10
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton07:10
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has joined #tryton08:10
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton09:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
pokoliirker is generating wrong llinks on tryton-commit channel: For example
pokoliabout the new bugs template, i'm wondering if it will be possible to add some box or similar to the message header10:10
pokoliCurrently it's dificult to now which text is the message itself and which is just the header (autor and date)10:10
-!- rpit( has joined #tryton10:10
mrichezhi, reviewbot seems not updating issue with review ? And when i try to manually update issue with review number got "An error has occured"11:10
cedkpokoli: should be fixed
cedkmrichez: should be fixed11:10
mrichezcedk: ok11:10
pokolicedk: I confirm it works as expected now. Thank you so much!11:10
-!- mariomop(~quassel@ has joined #tryton12:10
-!- springwurm(~Springwur@ has joined #tryton14:10
-!- smorillo(0539e0e2@gateway/web/cgi-irc/ has joined #tryton17:10
smorillohi! I'm getting unexpected behaviour on 5.4 creating sale lines by code when quoting a sale. Taxes of new line are not added17:10
smorilloit seems the cause is company is None and the tax company rule is filtering taxes of the product category17:10
smorillobut I don't know why company is None ...17:10
smorilloIf I create same line manually it works as expected17:10
cedksmorillo: it is probably that the company is missing in the context17:10
smorillohi cedk,  company is in the context but in the read method of "res.user" it is change by None value.17:10
cedksmorillo: so the user is not allowed to be in this company18:10
smorilloyes it is, as is the current user in the current company18:10
cedksmorillo: so it is the first option18:10
smorilloyes, company is None in context. But ... if I print context before calling on_change_product company has value18:10
pokolismorillo: is the line linked to sale? Does this sale have a company set?18:10
smorilloyes the sale is created and have the current company. In fact the line is created when clicking on "quote" button18:10
smorilloI made a new clean deployment and add the method directly in sale module, quote method18:10
smorillono custom modules. the problem persist18:10
smorilloa quickly test:
smorilloin the other hand the module sale_opportunity creates the line correctly18:10
pokolismorillo: did you tried setting the sale befor calling on_change product?18:10
pokolismorillo: ohh I see you set on the default method18:10
smorilloyes, sorry there is a mistake in var name18:10
smorillobut it is fixed and continue18:10
smorillofyi same code on 5.0 works18:10
cedkit is probably because product instance has the wrong context.19:10
cedkI think this have been fixed on latest version19:10
smorillothat is! Getting product from pool works19:10
cedkI think it is
smorillothanks guys! I'm all day with it ...19:10
-!- rpit(~rpit@ has joined #tryton19:10
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton21:10

Generated by 2.16.0 by Marius Gedminas - find it at!