chat.freenode.net #tryton log beginning Fri 08 May 2020 12:00:01 AM CEST | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:49 | |
-!- lucascastro(~lucascast@177-185-139-201.isotelco.net.br) has joined #tryton | 00:40 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 04:52 | |
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton | 05:15 | |
-!- mrichez(~Maxime@2a02:a03f:467c:d500:a385:4ecf:c4ea:d8cf) has joined #tryton | 05:59 | |
-!- Moondhum(6e2c7c8c@unaffiliated/moondhum) has joined #tryton | 06:18 | |
Moondhum | I want to try tryton for my retail business. I am looking for a POS module, where can I get it? | 06:22 |
---|---|---|
semarie | Moondhum: there is only a WIP module : https://codereview.tryton.org/21391002 , but nothing usable "as it" in standard modules | 06:40 |
semarie | there is also third party module (untested). see https://discuss.tryton.org/t/sale-pos-installation-on-tryton-version-5/2476 for details | 06:42 |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 06:43 | |
Moondhum | semarie thank you, I'll take a look. | 06:46 |
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton | 06:57 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:04 | |
-!- rpit(~rpit@p200300C88F154700F40BA587080C9575.dip0.t-ipconnect.de) has joined #tryton | 07:05 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 07:11 | |
-!- thaneor(~ldlc6@r186-55-31-138.dialup.adsl.anteldata.net.uy) has joined #tryton | 08:15 | |
mrichez | hi, in supplier shipments, when duplicating a shipment in received state, inventory moves are kept.... bug ? | 09:10 |
pokoli | mrichez: not sure about with, which is the behaviour when duplicating a customer shipment? | 09:52 |
mrichez | when duplicating , state is going back to draft... incoming moves should be kept, but inventory moves are created when clicking on "received"... | 09:53 |
mrichez | in this case, inventory moves are already there in draft state, so when receiving shipment in you have twice inventory moves | 09:54 |
mrichez | behaviour 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 |
cedk | mrichez: what is the problem in having inventory moves? | 10:39 |
cedk | mrichez: on waiting the inventory moves are deleted before being recreated | 10:40 |
-!- mariomop(~quassel@190.193.24.15) has joined #tryton | 10:56 | |
mrichez | cedk: i got 2 inventory moves after doing "receive" | 11:04 |
cedk | mrichez: but waiting should have delete the copied one | 11:05 |
mrichez | cedk: 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 |
cedk | mrichez: are you talking about customer or supplier shipments? | 11:11 |
mrichez | cedk: supplier shipment... created manually... | 11:12 |
cedk | mrichez: ok I think receive method should delete inventory moves like wait does for the customer shipment | 11:25 |
mrichez | cedk: ok so keeping inventory moves in draft mode is not a problem ? it's no best to delete moves when doing copy ? | 11:30 |
cedk | mrichez: it will be complicated because you can not use defaults as you have distinct incoming from inventory | 11:31 |
cedk | for me as the workflow create inventory no matter, it should delete before | 11:31 |
mrichez | cedk: ok | 11:31 |
mrichez | cedk: inventory moves could be readonly in draft mode also ? to prevent user to fill some data that will be deleted | 11:32 |
cedk | mrichez: yes | 11:39 |
mrichez | cedk: ok | 11:40 |
mrichez | https://bugs.tryton.org/issue9315 | 11:51 |
mrichez | cedk: 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 #tryton | 12:18 | |
-!- lucas_(~lucascast@177-185-139-201.isotelco.net.br) has joined #tryton | 12:20 | |
mrichez | still 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#l117 | 12:29 |
mrichez | state is readonly when in 'draft', 'done', 'cancel', ... but when my supplier shipment is in 'draft' state, i can still update the inventory_move | 12:30 |
mrichez | ??? | 12:31 |
-!- mariomop(~quassel@190.193.24.15) has joined #tryton | 12:32 | |
cedk | mrichez: yes readonly on O2M is only about adding or removing | 13:26 |
mrichez | so how to prevent to edit data ? | 13:26 |
cedk | mrichez: you have to manage readonly for each field | 13:31 |
cedk | mrichez: but in this case, I think we do not care | 13:31 |
mrichez | cedk: ok | 13:32 |
mrichez | cedk: for such case, could we imagine multiple fields to be in a "virtual group" ... and this group could have a state... | 13:34 |
mrichez | so all the fields of the same virtual group would be readonly in some conditions, etc... | 13:35 |
cedk | mrichez: readonly should not be managed by the view but the model | 13:41 |
mrichez | cedk: "group" would a new attribute for field in the model | 13:43 |
-!- thaneor1(~ldlc6@179.26.49.185) has joined #tryton | 13:46 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 13:52 | |
cedk | mrichez: not sure we need to add a new intermediary access right level | 13:53 |
mrichez | cedk: ok just a suggestion :-) | 13:53 |
-!- rmu|w(~robert@cpe90-146-69-94.liwest.at) has joined #tryton | 14:28 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 19:16 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!