irc.libera.chat #tryton log beginning Thu Oct 26 12:10:01 AM CEST 2023 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:10 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:10 | |
-!- springwurm(~springwur@2a01:76c0:100:f500:8105:5e1d:4138:f8ad) has joined #tryton | 05:19 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 06:33 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:36 | |
-!- udono(~udo@065-131-067-156.ip-addr.inexio.net) has joined #tryton | 06:50 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:05 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:05 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 07:32 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:40 | |
mrichez | hi, could proteus connect simultaneously to 2 databases ? I need to migrate data from database1 to database2 with some checks... Get lot stock quantities and locations on database1 and then create lot and a supplier shipment on database2 to get an initial stock. | 09:43 |
---|---|---|
pokoli | mrichez: yes, you need to have to config objects (one per database) and pass the config object to each class to let proteus know from which database to conect | 09:55 |
mrichez | pokoli: :-) | 09:55 |
mrichez | pokoli: could i switch from database to another in the same method ? example: i need to compare Products from database1 with Products from database2 | 10:01 |
pokoli | mrichez: yes but you need to have two times Model.get('...') for the same class each with a different config file | 10:02 |
mrichez | pokoli: ok, something like this Model.get('product.product', config1) | 10:05 |
pokoli | yes ProductDB1 = Model.get('product.product', config1); ProductDB2 = Model.get('product.product', config2) | 10:08 |
mrichez | pokoli: Thanks! | 10:08 |
pokoli | :-) | 10:09 |
mrichez | On the product template tree view, there's a "Variant" column displayed as "( 1 )". How to search/filter for Product Templates without variants ? | 11:17 |
mrichez | Ok, found :-) Using this filter: "Variants: !" | 11:49 |
-!- springwurm(~springwur@2a01:76c0:100:f500:8626:40c7:5142:5f29) has joined #tryton | 12:08 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 20:33 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 20:33 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21:29 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 21:29 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!