IRC logs of #tryton for Wednesday, 2017-11-08

chat.freenode.net #tryton log beginning Wed Nov 8 00:00:01 CET 2017
2017-11-08 00:25 <csotelo> dear comunity, I have upgraded to Tryton 4.2 from Tryton 3.8, and one issue that I have noticed id that categories on product, are diferent from accountant categories, is there a way to fix it?
2017-11-08 00:26 <csotelo> I have lost all my product categories that were related to account chart
2017-11-08 00:31 <cedk> csotelo: no categories are migrated as account categories
2017-11-08 00:32 <cedk> csotelo: but issue6794 improved a little bit the situation
2017-11-08 00:32 <csotelo> then, is there a way to move it? without lost information? and get account categories configured as were on before on 3.8=
2017-11-08 00:32 <csotelo> let me see
2017-11-08 00:33 <cedk> csotelo: there is no lost but just a new field categories which is obsusly empty
2017-11-08 00:34 <csotelo> yes, I gues I must move data on a manual way, right?
2017-11-08 00:34 <cedk> csotelo: you mean create data?
2017-11-08 00:35 <csotelo> no, I mean move my old category info to the new account category format
2017-11-08 00:35 <csotelo> is ok?
2017-11-08 00:35 <cedk> csotelo: there were no move, category is named accounting_category
2017-11-08 00:35 <csotelo> I just figure
2017-11-08 00:36 <csotelo> however my date still on old category tables
2017-11-08 00:36 <csotelo> data*
2017-11-08 00:36 <csotelo> I mean my data was no moved to the new accounting category table
2017-11-08 00:36 <csotelo> I guess I must do it on a manual way
2017-11-08 00:38 <cedk> csotelo: there is a migration: http://hg.tryton.org/modules/account_product/file/tip/product.py#l394
2017-11-08 00:41 <csotelo> I guess that must happend on the --all, right?
2017-11-08 00:42 <csotelo> cause that no happened on my migration :S
2017-11-08 00:54 -!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton
2017-11-08 01:15 -!- udono1(~udono@197-058-210-188.ip-addr.inexio.net) has joined #tryton
2017-11-08 01:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-08 01:31 -!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-11-08 02:32 -!- perilla(~perilla@186.43.149.18) has joined #tryton
2017-11-08 02:32 -!- perilla(~perilla@186.43.149.18) has joined #tryton
2017-11-08 02:55 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-11-08 03:04 -!- thaneor(~ldlc6@r186-48-43-198.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-11-08 03:43 -!- cdchapman(~perturbed@67-2-9-247.slkc.qwest.net) has joined #tryton
2017-11-08 03:44 -!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton
2017-11-08 05:34 -!- cdchapman(~perturbed@73.98.169.185) has joined #tryton
2017-11-08 07:02 -!- duderinoto(~base@dhcp-108-168-96-68.cable.user.start.ca) has joined #tryton
2017-11-08 07:03 -!- duderinoto(~base@dhcp-108-168-96-68.cable.user.start.ca) has left #tryton
2017-11-08 07:54 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-11-08 07:59 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2017-11-08 08:06 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-11-08 08:14 -!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-11-08 08:30 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2017-11-08 08:54 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-11-08 09:33 -!- myself21(uid11615@gateway/web/irccloud.com/x-xyylzhejhfziknhu) has joined #tryton
2017-11-08 09:36 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-11-08 09:37 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-08 09:48 -!- Timitos(~kpreisler@tmo-080-30.customers.d1-online.com) has joined #tryton
2017-11-08 09:50 <csotelo> Hello comunity, I was working last day on tryton upgrade from 3.8 to 4.2, I was having issues dependence with product_purchase module, for any reason on some moment it works, however I have notice that migration was no clear, altough anything works, it was no clear and some data was lost. I was trying to figure the issue and I have noticed that purchase_request is not on tryton 3.8 but it is on tryton 4.0 and later, when I use tryton-admin with --all,
2017-11-08 09:50 <csotelo> give me a issue dependence since product_purchase is no present, then if I try to download and install it, since it is a differet version from the tryton (3.8) since it is no already update give me a big issue, then my question is: what will be best practice on doing this upgrade ?
2017-11-08 10:10 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-11-08 10:15 <udono1> csotelo: Hi, not sure if I understand correctly. On tryton-admin --all you get an error? Can you please paste it to https://pastebin.com
2017-11-08 10:27 <csotelo> udono1, I have to catched today, I just comment purchase_request rependence on stoock_supply module and doing a complete upgrade, and then , I will do the purchase_request install
2017-11-08 10:28 <csotelo> I hope will work well
2017-11-08 10:30 <udono1> csotelo the correct way is something like this: trytond-admin --all -u purchase_request -d database_name purchase_request module must be installed in the target (new) version of the migration.
2017-11-08 10:31 <csotelo> OMG, thanks udono1 !
2017-11-08 10:32 <csotelo> looks so simple :S
2017-11-08 10:41 <csotelo> udono1, unfortunately no
2017-11-08 10:45 <udono1> csotelo: if there are errors, please paste them.
2017-11-08 10:45 <csotelo> udono1, https://pastebin.com/nQTr71a0
2017-11-08 10:45 <csotelo> command was: $ ./tryton/trytond/bin/trytond-admin -c ./tryton/config/trytond.conf --dev -v -d testing --all -u purchase_request
2017-11-08 10:49 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-11-08 10:49 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2017-11-08 10:49 -!- zodman(~zodman@178.62.7.89) has joined #tryton
2017-11-08 10:50 -!- robinak(~quassel@unaffilated/robink) has joined #tryton
2017-11-08 10:52 <semarie> csotelo: the error seems to be an invalid xml file. could you check your trytond/modules/purchase_request/purchase_request.xml file ?
2017-11-08 10:59 <udono1> semarie: csotelo: Good idea. But i would grep the trytond/modules directory for "act_purchase_request_form" because of::
2017-11-08 10:59 <udono1> ERROR trytond.convert Error while parsing xml file: In tag record: model ir.action.act_window with id act_purchase_request_form.
2017-11-08 11:00 <semarie> udono1: it is trytond/modules/purchase_request/purchase_request.xml that contains <record model="ir.action.act_window" id="act_purchase_request_form">...</record>
2017-11-08 11:01 -!- silwol(silwolmatr@gateway/shell/matrix.org/x-pvoedeickcrybkug) has joined #tryton
2017-11-08 11:03 <csotelo> semarie, udono1 btw, I have tryed on before comenting purchase_Request dependence on stock_supply and upgrade it without issues, them I have uncoment the purchase_Request dependence on stock_supply and then install it, and works without issues. I was looking a right way to do it
2017-11-08 11:03 <csotelo> since, I guess it is no the right way
2017-11-08 11:14 <udono1> csotelo: Is there a possibility that someone add a manual ir.action.act_window entry in Tryton. How long do you run your database atall?
2017-11-08 11:18 <csotelo> udono1, I dont understand your question
2017-11-08 11:24 -!- catonano(~user@151.45.49.165) has joined #tryton
2017-11-08 11:25 <catonano> I just installed Tryton on Debian snatch. There seems to be no tyton system servce defined. Am I spposed to lanch trytond in the terminal ?
2017-11-08 11:28 <udono1> csotelo: as pokoli (12:23:56) saidi: csotelo: indeed the module installed without problems on test database: https://drone-old.tryton.org/trypod.tryton.org/tryton/modules.purchase_request/4.2/5fb6900dfb00bfb3308394714f398099c79c08df
2017-11-08 11:28 <udono1> So there could be another module or an entry in your database which makes a Problem.
2017-11-08 11:28 <csotelo> I also was thinking on that, sinc I work with tryton gnu health
2017-11-08 11:29 <csotelo> at now the issue was solved as told you
2017-11-08 11:37 -!- sim6(sim6matrix@gateway/shell/matrix.org/x-pritpxkpvchewvgj) has joined #tryton
2017-11-08 11:37 -!- fmorato[m](fmoratomat@gateway/shell/matrix.org/x-btxevyspgtpcbufw) has joined #tryton
2017-11-08 11:39 -!- mariomop(~quassel@host192.181-10-41.telecom.net.ar) has joined #tryton
2017-11-08 12:29 -!- mariomop(~quassel@host131.190-137-208.telecom.net.ar) has joined #tryton
2017-11-08 12:49 -!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton
2017-11-08 14:23 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-08 14:41 <csotelo_at_work> hello dear comunity, just a simple questoin, after install a new tryton database, how to get timezone for party populated, sine I usually have it empty, thanks
2017-11-08 14:52 <Timitos> csotelo_at_work: there is a default value to set in Party -> Configuration
2017-11-08 15:05 -!- thaneor1(~ldlc6@r186-48-49-234.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-11-08 15:21 -!- catonano(~user@151.45.49.165) has joined #tryton
2017-11-08 16:09 <csotelo_at_work> Timitos, yes, but timezone info is empty, I mean, no timezones are loaded. I also was working with new tryton project but timezones always is mepty, no information in order on set it
2017-11-08 16:11 <Timitos> csotelo_at_work: i mixed timezone with language on party. by default there is no timezone field on the party but on the company
2017-11-08 16:11 <Timitos> csotelo_at_work: it may be a field of gnu_health
2017-11-08 16:12 <csotelo_at_work> Timitos, nice to know, thanks :D
2017-11-08 16:14 <csotelo_at_work> by the way, related to the error I have experimenting related to migrate products and categories, finally I have done it on manual way. I mean, after migrate tryton from 3.8 to 4.2, I lost all categories for product templates, then I have taken a previous version backup, then set related categories as accounting categories and match category field on 3.8 version tables to the new 4.2 version tables for product_template and it works well
2017-11-08 16:16 <csotelo_at_work> and related to purchase_request issue, what I have done is comment purchase_request dependence on stock_supply, and take off purchase_request module, then upgrade the whole database, and the, take back purchase_request module and uncomment purchase_request dependences on stock_supply and install it, and tryton runs ok
2017-11-08 16:22 <pokoli> csotelo_at_work: so you managed to solve are your issues. Great!
2017-11-08 16:24 <csotelo_at_work> :D
2017-11-08 16:46 <csotelo_at_work> pokoli, then .. could be close to start helping on issues? although I am a senior, I must confess that after 4 four time on contrinute on core and modules fixes, I get frustrated on my self, It is a litle complex :S
2017-11-08 16:46 <csotelo_at_work> after 4 times on trying to contribute*
2017-11-08 16:59 <pokoli> csotelo_at_work: have a look a the how to contribute: http://www.tryton.org/how-to-contribute.html
2017-11-08 17:00 <pokoli> csotelo_at_work: Here is an easy issue: https://bugs.tryton.org/issue6921
2017-11-08 17:00 <pokoli> csotelo_at_work: so you can get familiar with the process
2017-11-08 17:06 <csotelo_at_work> At now I am doing some localizations for my country, peru
2017-11-08 17:06 <csotelo_at_work> like accounting and invoicing
2017-11-08 17:07 <csotelo_at_work> I just checked https://bugs.tryton.org/issue6921 :D thanks!!!!
2017-11-08 17:17 <pokoli> csotelo_at_work: localization should be only the chart of accounts
2017-11-08 17:17 <csotelo_at_work> pokoli, yes
2017-11-08 17:18 <csotelo_at_work> I also a a localization for party, in order to manage documento type ( identifiers ) according to peruvian laws
2017-11-08 17:19 <csotelo_at_work> I al so have a localizatin for invoicing, since we manage diferent type of reporting, for common person single report, and for institucion we use commercial reports
2017-11-08 17:19 <csotelo_at_work> each one with diferent sequences
2017-11-08 17:20 <csotelo_at_work> I must do the upgrade since these modules are for 3.8 version
2017-11-08 17:21 <csotelo_at_work> and I must start this friday with electronic book for peruavian authority and electronic invoicing that will be required as mandatory for all institutions on march 2018, now are just some companies according on month invoicing amount
2017-11-08 17:54 -!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton
2017-11-08 18:29 -!- cdchapman(~perturbed@73.98.169.180) has joined #tryton
2017-11-08 18:50 -!- catonano(~user@151.45.49.165) has joined #tryton
2017-11-08 18:55 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-11-08 18:56 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2017-11-08 19:03 -!- lukio(~lukio@iplan.gcoop.com.ar) has joined #tryton
2017-11-08 19:21 -!- zmijunkie(~Adium@200116b80ae2b200d9eb222fec2460dd.dip.versatel-1u1.de) has joined #tryton
2017-11-08 19:36 -!- lukio(~lukio@iplan.gcoop.com.ar) has left #tryton
2017-11-08 20:21 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-11-08 20:22 <andrespoliti> is it possible to add new values to a selection field via a module extension?
2017-11-08 20:34 -!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton
2017-11-08 20:44 -!- cdchapman(~perturbed@73.98.169.255) has joined #tryton
2017-11-08 21:23 -!- cdchapman(~perturbed@73.98.169.212) has joined #tryton
2017-11-08 21:45 <csotelo_at_work> Dear comunity, what about of getting current user logged and / or compare this value with a model data?
2017-11-08 21:48 <pokoli> csotelo_at_work: you have it on transaction: http://doc.tryton.org/4.6/trytond/doc/ref/transaction.html?highlight=user#trytond.transaction.Transaction.user
2017-11-08 21:48 <csotelo_at_work> thanks
2017-11-08 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-08 22:02 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2017-11-08 22:14 -!- catonano(~user@151.45.49.165) has joined #tryton
2017-11-08 22:43 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has left #tryton

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