IRC logs of #tryton for Friday, 2020-05-08

chat.freenode.net #tryton log beginning Fri 08 May 2020 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:49
-!- lucascastro(~lucascast@177-185-139-201.isotelco.net.br) has joined #tryton00:40
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton04:52
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton05:15
-!- mrichez(~Maxime@2a02:a03f:467c:d500:a385:4ecf:c4ea:d8cf) has joined #tryton05:59
-!- Moondhum(6e2c7c8c@unaffiliated/moondhum) has joined #tryton06:18
MoondhumI want to try tryton for my retail business. I am looking for a POS module, where can I get it?06:22
semarieMoondhum: there is only a WIP module : https://codereview.tryton.org/21391002 , but nothing usable "as it" in standard modules06:40
semariethere is also third party module (untested). see https://discuss.tryton.org/t/sale-pos-installation-on-tryton-version-5/2476 for details06:42
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton06:43
Moondhumsemarie thank you, I'll take a look.06:46
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton06:57
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:04
-!- rpit(~rpit@p200300C88F154700F40BA587080C9575.dip0.t-ipconnect.de) has joined #tryton07:05
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton07:11
-!- thaneor(~ldlc6@r186-55-31-138.dialup.adsl.anteldata.net.uy) has joined #tryton08:15
mrichezhi, in supplier shipments, when duplicating a shipment in received state, inventory moves are kept.... bug ?09:10
pokolimrichez: not sure about with, which is the behaviour when duplicating a customer shipment?09:52
mrichezwhen duplicating , state is going back to draft... incoming moves should be kept, but inventory moves are created when clicking on "received"...09:53
mrichezin this case, inventory moves are already there in draft state, so when receiving shipment in you have twice inventory moves09:54
mrichezbehaviour is easy to reproduce on demo ... create a supplier shipment, add some product, receive shipment, then duplicate shipment...  new duplicated shipment (draft) has already inventory moves...10:06
cedkmrichez: what is the problem in having inventory moves?10:39
cedkmrichez: on waiting the inventory moves are deleted before being recreated10:40
-!- mariomop(~quassel@190.193.24.15) has joined #tryton10:56
mrichezcedk: i got 2 inventory moves after doing "receive"11:04
cedkmrichez: but waiting should have delete the copied one11:05
mrichezcedk: waiting is draft status ? . status is draft, received, done.... when duplicating a received shipment, got a new one in draft state, incoming move is there, inventory move already there.. when doing "receive", i get 2 inventory moves instead of one..11:08
cedkmrichez: are you talking about customer or supplier shipments?11:11
mrichezcedk: supplier shipment... created manually...11:12
cedkmrichez: ok I think receive method should delete inventory moves like wait does for the customer shipment11:25
mrichezcedk: ok so keeping inventory moves in draft mode is not a problem ? it's no best to delete moves when doing copy ?11:30
cedkmrichez: it will be complicated because you can not use defaults as you have distinct incoming from inventory11:31
cedkfor me as the workflow create inventory no matter, it should delete before11:31
mrichezcedk: ok11:31
mrichezcedk: inventory moves could be readonly in draft mode also ? to prevent user to fill some data that will be deleted11:32
cedkmrichez: yes11:39
mrichezcedk: ok11:40
mrichezhttps://bugs.tryton.org/issue931511:51
mrichezcedk: i see deleting inventory moves is done in the "draft" method... could we simply call the draft method in the copy method ? if i add delete inventory moves in the "receive" method , is the delete useful in the "draft" method ?12:06
-!- jcm(~jcm@78.194.214.1) has joined #tryton12:18
-!- lucas_(~lucascast@177-185-139-201.isotelco.net.br) has joined #tryton12:20
mrichezstill with my supplier_shipments, it's about the state of a function field inventory_moves...http://hg.tryton.org/modules/stock/file/tip/shipment.py#l11712:29
mrichezstate is readonly when in 'draft', 'done', 'cancel', ... but when my supplier shipment is in 'draft' state, i can still update the inventory_move12:30
mrichez???12:31
-!- mariomop(~quassel@190.193.24.15) has joined #tryton12:32
cedkmrichez: yes readonly on O2M is only about adding or removing13:26
mrichezso how to prevent to edit data ?13:26
cedkmrichez: you have to manage readonly for each field13:31
cedkmrichez: but in this case, I think we do not care13:31
mrichezcedk: ok13:32
mrichezcedk: for such case, could we imagine multiple fields to be in a "virtual group" ... and this group could have a state...13:34
mrichezso all the fields of the same virtual group would be readonly in some conditions, etc...13:35
cedkmrichez: readonly should not be managed by the view but the model13:41
mrichezcedk: "group" would a new attribute for field in the model13:43
-!- thaneor1(~ldlc6@179.26.49.185) has joined #tryton13:46
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton13:52
cedkmrichez: not sure we need to add a new intermediary access right level13:53
mrichezcedk: ok just a suggestion :-)13:53
-!- rmu|w(~robert@cpe90-146-69-94.liwest.at) has joined #tryton14:28
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton19:16

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!