chat.freenode.net #tryton log beginning Fri 25 Oct 2019 12:00:01 AM CEST | ||
-!- yangoon1(~mathiasb@166-65-142-46.pool.kielnet.net) has joined #tryton | 02:11 | |
-!- thaneor1(~lenovo3@r179-25-32-176.dialup.adsl.anteldata.net.uy) has joined #tryton | 04:51 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 04:58 | |
-!- Timitos(~kpreisler@2001:a61:5a4:b101:762b:62ff:fe84:ed7e) has joined #tryton | 06:17 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:29 | |
-!- rpit(~rpit@p200300C88F1AFC00E5271953866667B8.dip0.t-ipconnect.de) has joined #tryton | 07:28 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:43 | |
-!- nicoe(~nicoe@2a02:2788:54:5a3:7e2a:31ff:fe5e:b25d) has joined #tryton | 08:09 | |
mrichez | hi, in module sale_product_customer (purchase_product_customer too), when we clear product, product_customer field keep the value : http://hg.tryton.org/modules/sale_product_customer/file/tip/sale.py#l43 , wouldn't better to add self.product_customer = None before return ??? | 08:39 |
---|---|---|
pokoli | mrichez: it sounds like a good new feature | 08:56 |
cedk | mrichez: I do not think so, the product customer could still be valid if the user just want to change variant | 09:02 |
mrichez | cedk: but in this case, on_change_product is executed, and product_customer value updated even if there's already a value... It just seems strange to see a value when you clear product | 09:05 |
cedk | mrichez: no it will not be changed if the product customer is valid | 09:17 |
mrichez | cedk: ok... | 09:19 |
-!- mariomop(~quassel@181.228.29.59) has joined #tryton | 10:54 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 12:08 | |
mrichez | hi, how to format a date with relatorio ? format_date function has only 2 parameters: value and lang... how to define a date with this format ' DD name of month YYYY' ? define a new function? | 12:40 |
cedk | mrichez: in trunk, we added format as optional argument | 12:41 |
mrichez | cedk: :-) thanks ! | 12:44 |
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton | 13:25 | |
andrespoliti | hi, if you have a docker swarm running tryton, how do you manage the database update? | 13:26 |
pokoli | andrespoliti: you should update it using trytond-admin | 13:26 |
pokoli | andrespoliti: it can be run on a separate container linked to the same database container | 13:26 |
andrespoliti | could it be automated in each deploy? | 13:27 |
pokoli | andrespoliti: yes, you should lunch a separate service that runs the udate and then it keeps sleep | 13:28 |
pokoli | andrespoliti: you can use the following command: trytond-admin -d <db> --all --activate-dependencies -vv && tail -f /dev/null | 13:29 |
pokoli | andrespoliti: the tail -f /dev/nulll is to keep the service up, so it is not automatically restarted by docker-swap | 13:29 |
pokoli | andrespoliti: that's what we use on docker compose | 13:29 |
andrespoliti | pokoli: great, we will try that, thank you | 13:31 |
pokoli | andrespoliti: have a look at the following TUM2019 chart: https://www.youtube.com/watch?v=S1JmgNbNeeo | 13:31 |
mrichez | in relatorio, in need to bypass some lines in a loop "FOR" so i add a block IF TEST just after, then all my data's to display and after </IF></FOR>, i get this error "No common ancestor found for opening and closing tag" | 13:53 |
mrichez | problem solved, my block was in a table and i need to write each instruction in a different row ... | 13:57 |
pokoli | mrichez: there is some if or for tags that does not have it's corresponding /if or /for | 13:57 |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 14:03 | |
-!- thaneor(~lenovo3@r167-56-55-152.dialup.adsl.anteldata.net.uy) has joined #tryton | 16:53 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!