IRC logs of #tryton for Monday, 2009-01-05

chat.freenode.net #tryton log beginning Mon Jan 5 00:00:01 CET 2009
2009-01-05 00:25 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1437:42a63e755577 trytond/trytond/web_service/db.py: Move coding in first line for issue725
2009-01-05 00:25 <CIA-8> tryton: ced roundup * #725/Non-ASCII character '\xc4' in file /usr/local/tryton/trytond/trytond/web_service/db.py: [resolved] Fix with changeset 42a63e755577
2009-01-05 00:51 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1438:974fdbf128a6 trytond/COPYRIGHT: Update copyright
2009-01-05 00:51 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1439:b6230934cb02 trytond/trytond/ir/lang.py: Allow to use "%-m", "%-d","%-j" in date format for issue726
2009-01-05 00:51 <CIA-8> tryton: ced roundup * #726/Exception: ('UserError', 'The date format is not valid!'): [resolved] Fix with changeset b6230934cb02
2009-01-05 00:51 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1146:b3c5601d86b4 tryton/COPYRIGHT: Update copyright
2009-01-05 00:51 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1147:a22448956152 tryton/tryton/translate.py: Replace %- in date format into % because we need fixed format size in the widget
2009-01-05 01:03 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 362:bd3e09c361ce account/ (account.py fiscalyear.py move.py tax.py): Add _description and docstring to WizardOSV for issue718
2009-01-05 01:04 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 245:10d548c640c5 account_invoice/invoice.py: Add _description and docstring to WizardOSV for issue718
2009-01-05 01:04 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 56:b6241ab4a712 analytic_account/account.py: Add _description and docstring to WizardOSV for issue718
2009-01-05 01:04 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 118:ac65e98c68b8 company/company.py: Add _description and docstring to WizardOSV for issue718
2009-01-05 01:06 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1440:7cfde81da4f0 trytond/trytond/ir/ (model.py module/module.py): Add _description and docstring to WizardOSV for issue718
2009-01-05 01:06 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 202:7a7e9ba730a0 purchase/purchase.py: Add _description and docstring to WizardOSV for issue718
2009-01-05 01:06 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 152:25e3af07eacf stock_supply/purchase_request.py: Add _description and docstring to WizardOSV for issue718
2009-01-05 01:06 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 59:9f83f4d1b8f9 timesheet/ (line.py work.py): Add _description and docstring to WizardOSV for issue718
2009-01-05 01:07 <CIA-8> tryton: ced roundup * #718/Names for models: [resolved] Applied
2009-01-05 01:49 -!- udono1(n=udono@dynamic-unidsl-85-197-20-165.westend.de) has joined #tryton
2009-01-05 02:44 -!- gremly(n=oscar@190.156.162.102) has joined #tryton
2009-01-05 05:19 -!- yangoon(n=mathiasb@p549F7ADC.dip.t-dialin.net) has joined #tryton
2009-01-05 07:44 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-01-05 07:46 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-01-05 08:40 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-05 08:43 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-01-05 09:18 -!- Gedd(n=ged@77.109.112.254) has joined #tryton
2009-01-05 09:40 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2009-01-05 09:44 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-7100d61255b57efa) has joined #tryton
2009-01-05 09:55 <cristi_an> hi there
2009-01-05 09:57 <cristi_an> i have some questions related to sale module ...
2009-01-05 09:58 <cristi_an> how sale and invoices are realted in tryton ? ususally when an invoice is done ....products are sold and ==> you have a sale
2009-01-05 10:11 <udono1> cristi_an: don't understand?
2009-01-05 10:11 <cristi_an> good you are here :)
2009-01-05 10:12 <cristi_an> i try to understand how tryton works...
2009-01-05 10:12 <cristi_an> when you do an invoice
2009-01-05 10:13 <udono1> cedk: is there a way in tryton to have an integer shown unformated (without 1000. seperator)? 50000 --> are formated as 50.000 in german language but I what it shown as 50000.
2009-01-05 10:13 <udono1> cedk: its for german zips range(01234 .. 99999)
2009-01-05 10:14 <cristi_an> the products are retrived from stock ,stock = stock - products ,and then a sale is done no ?
2009-01-05 10:14 <cristi_an> i mean those products are sold in that moment
2009-01-05 10:14 <cristi_an> i do not understand how "sale" module works
2009-01-05 10:14 <udono1> cristi_an: invoicing and delivering is separated in Tryton.
2009-01-05 10:15 <udono1> cristi_an: sale module is for all pre-sale things like offers, I think.
2009-01-05 10:15 <cristi_an> and when thos stock is affected by a sale ? (in what moment)
2009-01-05 10:16 <cristi_an> when you do an invoice ?
2009-01-05 10:17 <cedk> udono1: try by using a widget char
2009-01-05 10:17 <udono1> cedk: thanks
2009-01-05 10:18 <cedk> cristi_an: when you validate the packing
2009-01-05 10:22 <udono1> cedk: widget="char" is working, but with flaws... now I can put alphanum char into an fields.Integer
2009-01-05 10:24 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 363:98de32ef8ddf account/account.py: Fix infinite loop in get_credit_debit with a date
2009-01-05 10:25 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 318:d26810143d4d account/account.py: Fix infinite loop in get_credit_debit with a date
2009-01-05 10:26 <cedk> udono1: but your field is not writable?
2009-01-05 10:26 <udono1> cedk: it's a field in a wizard.
2009-01-05 10:27 <udono1> cedk: is there a way to reset the locale for the wizard?
2009-01-05 10:27 <udono1> cedk: like 'thousands_sep': u''
2009-01-05 10:27 <cedk> udono1: no
2009-01-05 10:27 <cedk> udono1: but I don't understand what you do
2009-01-05 10:28 <udono1> cedk: nothing special, I have a from zip and a to zip field, both are integers but should be shown without thousands_sep.
2009-01-05 10:29 <udono1> cedk: all fields are in a wizard
2009-01-05 10:31 <cedk> udono1: but why do you need to have a wizard
2009-01-05 10:31 <cedk> udono1: you can search addresses directly
2009-01-05 10:31 <udono1> cedk: yes, but not for zip ranges
2009-01-05 10:31 <udono1> cedk: in combinations with categories
2009-01-05 10:33 <udono1> cedk: german zips are five numerical digits long without any thousands seperator. But the standard german locale defines a thousands_sep. So my own zip is 52064 but shown in Tryton as 52.064.
2009-01-05 10:33 <cedk> udono1: if you put your function field with select = 1, you will have a between operator
2009-01-05 10:33 <cedk> udono1: and for categories, you must also add a function field
2009-01-05 10:35 <cedk> udono1: I understand, that is why we use char for zip code
2009-01-05 10:35 <cedk> udono1: as it is not a real number
2009-01-05 10:35 <cedk> udono1: you can use a char and add a validation constraint
2009-01-05 10:35 <udono1> cedk: That's another way which sounds good. I need to learn more about function fields.
2009-01-05 10:36 <udono1> My solution dosnt touch the Address class
2009-01-05 10:36 <udono1> I simple create searches from the wizard for all numbers in range from_zip, to_zip
2009-01-05 10:36 <cedk> udono1: by the way, I find strange to search on addresses
2009-01-05 10:40 <udono1> cedk: it's mostly the same as searching on partys. But searching on partys brings the problem that I have all addresses for a party. But when I like to create an addresslist withs just one address from a party, or only the adresses inside the zip range, I get problems to show in party.party, I think.
2009-01-05 10:43 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1312:d094473462b7 trytond/trytond/ir/translation.py: Fix cache of ir.translation when source is None
2009-01-05 10:43 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1313:fe8e0c9fe9f0 trytond/trytond/server.py: Add logging shutdown before exit
2009-01-05 10:43 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 207:8d96750140fd party/party.py: Add missing search function for vat_code
2009-01-05 10:43 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1064:e6305c5f3ae1 tryton/tryton/gui/window/view_form/view/form_gtk/interface.py: Prevent setting invalid default value for issue709
2009-01-05 10:45 <cedk> udono1: I don't know the purpose of this, so I can not say
2009-01-05 10:46 <udono1> cedk: the purpose is simple: Generating addresslists for zipranges and categories of partners.
2009-01-05 10:51 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-01-05 10:54 <cedk> udono1: one or many categories?
2009-01-05 10:56 <udono1> cedk: many, if empty, then all categories
2009-01-05 10:57 <udono1> cedk: but this all is working fine with the wizard... only the representation of zips as integers with a thousand seperator is a little unconventional
2009-01-05 10:59 <udono1> cedk: that's the reason why the field function is not so good, because I can only choose one categorie with the standard search...
2009-01-05 11:04 <cedk> udono1: yes, but it will be better to improve the search on many2one
2009-01-05 11:05 <udono1> cedk: :-)
2009-01-05 11:06 <udono1> cedk: BTW category is a many2many
2009-01-05 11:15 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2009-01-05 11:39 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-341419f69693db62) has joined #tryton
2009-01-05 11:45 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-01-05 12:11 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 89:0f5b76d6f229 account_statement/COPYRIGHT: Update copyright
2009-01-05 12:11 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 90:e5706d9b95ac account_statement/ (__tryton__.py fr_FR.csv): Add fr_FR translation
2009-01-05 12:29 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 91:1c772573b08a account_statement/__tryton__.py: Add fr_FR in __tryton__.py
2009-01-05 12:31 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 92:ea5a6a044f30 account_statement/INSTALL: Add missing dependency
2009-01-05 12:31 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 93:04013a6bc2eb account_statement/MANIFEST.in: Add missing files in MANIFEST.in
2009-01-05 12:33 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 94:9a850ef6d9e4 account_statement/ (CHANGELOG __tryton__.py setup.py): Prepare release 1.0.0
2009-01-05 12:33 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 95:c5e10f1d985d account_statement/.hgtags: Added tag 1.0.0 for changeset 9a850ef6d9e4
2009-01-05 12:42 <CIA-8> tryton: ced@tetsuo.ced.homedns.org default * 96:15a1496be7ed account_statement/__tryton__.py: Increase version number
2009-01-05 12:43 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 96:d33fde99dac7 account_statement/__tryton__.py: Increase version number
2009-01-05 12:49 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 97:ee4d7383a88a account_statement/statement.xml: Add missing id in view for issue675
2009-01-05 12:49 -!- yangoon(n=mathiasb@p549F5202.dip.t-dialin.net) has joined #tryton
2009-01-05 12:50 <CIA-8> tryton: ced roundup * #675/Exception: ('UserError', 'Invalid XML for View!'): [resolved] Fix with changeset ee4d7383a88a
2009-01-05 13:04 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 250:e990233e8336 website/ (7 files in 5 dirs): Add news for module account_statement
2009-01-05 13:08 <cristi_an> related to tryton client , should i see this like a "web browser" ?
2009-01-05 13:08 <cristi_an> i mean ...it only gets some xml from server side ...and based on that it renders the user interface and populates with data
2009-01-05 13:12 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 159:a172d11bb1b9 gentoo-overlay/app-tryton/account_statement/ (Manifest account_statement-1.0.0.ebuild): Add ebuild for account_statement
2009-01-05 13:13 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 24:f06d6c7add34 gentoo-overlay-dev/app-tryton/account_statement/ (Manifest account_statement-9999.ebuild): Add missing dependency
2009-01-05 13:16 <cedk> cristi_an: yes
2009-01-05 13:16 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 25:364d1e0a86eb gentoo-overlay-dev/ (48 files in 24 dirs): Add ~amd64
2009-01-05 13:17 <cedk> cristi_an: it is the xml view, and it calls read to retreive record datas
2009-01-05 13:17 <cedk> cristi_an: and search and function on button
2009-01-05 13:21 <cristi_an> cedk: so this is a thin client
2009-01-05 13:21 <cristi_an> tpretty much dumb
2009-01-05 13:21 <cedk> cristi_an: yes
2009-01-05 13:21 <cristi_an> cedk: then it will not be very hard to do the web version
2009-01-05 13:22 <cedk> cristi_an: but most of people call it hard client because it is writen in GTK
2009-01-05 13:22 <cedk> cristi_an: no but a good web version it is
2009-01-05 13:23 <cedk> cristi_an: by the way, there is not so much benefit with a web version
2009-01-05 13:24 <cristi_an> cedk: there is some : like do not insall anything
2009-01-05 13:24 <cedk> cristi_an: with the exe, there is no install
2009-01-05 13:24 <cristi_an> that would be my next poin
2009-01-05 13:24 <cristi_an> cedk: that is true.
2009-01-05 13:25 <cristi_an> cedk: the net-rpc protocol
2009-01-05 13:25 <cristi_an> cedk: is used by tryton ?
2009-01-05 13:30 <cedk> cristi_an: yes
2009-01-05 13:30 <cristi_an> why i though is xml rpc
2009-01-05 13:31 <cristi_an> i saw this somewhere...but i may be wrong
2009-01-05 13:35 <cedk> by the way, I succeed to run the single exe on linux with wine
2009-01-05 13:38 <cristi_an> :) nice
2009-01-05 13:39 <cristi_an> cedk: but this feature of the client is common to tiny cleint as well ?
2009-01-05 13:39 <cristi_an> cedk: to act like a "browser"
2009-01-05 13:40 <cristi_an> cedk: since you are right,hte advantages of a web app is not needed in this situation
2009-01-05 13:41 <cristi_an> cedk: why they created the web version of open erp then
2009-01-05 13:46 <cedk> cristi_an: because they have not the same speed with their GTK client
2009-01-05 13:46 <Timitos> cedk: can i find some xmlrpc examples for tryton in the code? or are they the same like for openerp? or can i find an easy net-rpc example somewhere?
2009-01-05 13:47 <cedk> cristi_an: and it is some marketing stuff
2009-01-05 13:51 <bechamel> Timitos: trytond/tests/test_db.py use pysocket (aka net-rpc)
2009-01-05 13:51 <cedk> Timitos: if you have choice, I recommand you to use pysocket
2009-01-05 13:52 <Timitos> cedk: bechamel: thx. i will take a look
2009-01-05 13:52 <bechamel> Timitos: and for xml-rpc: http://pastie.org/352868
2009-01-05 13:54 <cedk> Timitos: it is very faster than xml-rpc
2009-01-05 13:55 <Timitos> cedk: 'from trytond import pysocket'. so i need a trytond directory on the machine? it will be a remote machine
2009-01-05 13:55 <cedk> Timitos: or the client
2009-01-05 13:56 <Timitos> cedk: ok. thx
2009-01-05 13:56 <cedk> Timitos: but you can also just copy it (I know it is bad :-()
2009-01-05 13:56 <Timitos> cedk: ok
2009-01-05 13:58 <bechamel> Timitos: also in ruby: http://pastie.org/352879 :)
2009-01-05 13:59 <Timitos> bechamel: i think we should put this into wiki
2009-01-05 13:59 <cedk> bechamel: maybe create a wiki page with those examples
2009-01-05 13:59 <Timitos> :-)
2009-01-05 14:00 <yangoon> cedk: for http://hg.tryton.org/hgwebdir.cgi/www.tryton.org/rev/914c094fe7f9
2009-01-05 14:00 <yangoon> cedk: I think Ihave to refix the line manually each time, because my poedit rechanges it to a one-liner
2009-01-05 14:01 <yangoon> cedk: why does it have to be in the other format?
2009-01-05 14:01 <cedk> yangoon: it was the header the main issue
2009-01-05 14:01 <cedk> yangoon: it is Babel that format it like that
2009-01-05 14:01 <cedk> yangoon: 80 col
2009-01-05 14:02 <cedk> yangoon: it is more readable
2009-01-05 14:02 <yangoon> cedk: ok, thx, I will try with the file as poedit saves it
2009-01-05 14:03 <cedk> yangoon: you can also run a Babel update after
2009-01-05 14:03 <cedk> yangoon: it is better to try to keep the same guidlines
2009-01-05 14:09 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1441:1f39189952a8 trytond/trytond/osv/orm.py: Don't prefetch text and binary field in BrowseRecord
2009-01-05 14:12 <cristi_an> but tryton supports other protocols thatn net-rpc ?
2009-01-05 14:12 <cedk> cristi_an: yes xml-rpc for now
2009-01-05 14:19 <Timitos> cedk: yes. net-rpc is really fast! wow
2009-01-05 14:34 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 251:a894db246f5d website/locale/de_DE/LC_MESSAGES/tryton.po: Update translation for de_DE
2009-01-05 14:34 <cedk> Timitos: this is why, we don't find that a web client will be a big value
2009-01-05 14:36 <Timitos> yes. i understand
2009-01-05 14:37 <cedk> on the OpenERP forum, there is many suggestion for people that wants to run the server throught internet
2009-01-05 14:37 <cedk> to run with eTiny
2009-01-05 14:37 <cristi_an> cedk: but they have the option using net-rpc
2009-01-05 14:38 <cedk> cristi_an: but it is slower than ours
2009-01-05 14:38 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 98:9bf63de7e647 account_statement/de_DE.csv: updated translation for de_DE
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 99:397c6212ebe0 account_statement/: merge
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 100:f38af11d8194 account_statement/de_DE.csv: updated translation for de_DE
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 101:25a6a00d921e account_statement/de_DE.csv: updated translation for de_DE
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 102:dbf42cb2f86e account_statement/de_DE.csv: updated translation for de_DE
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 103:5d4bad3d1ea9 account_statement/: merge
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 104:8ec20da77bc9 account_statement/: merge
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 105:ff76e9b689c6 account_statement/de_DE.csv: updated translation for de_DE
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 106:ab7036a5fa57 account_statement/: merge
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 107:5080b4390192 account_statement/de_DE.csv: Updated translation for de_DE
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 108:c2c9812d2e46 account_statement/: merge
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 109:f32de799cbb8 account_statement/: merge
2009-01-05 14:46 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 110:8bfd582a599a account_statement/de_DE.csv: Update translation for de_DE
2009-01-05 14:47 <cristi_an> this is used ? http://ose.sourceforge.net/browse.php?group=python-manual&entry=modules.htm
2009-01-05 15:05 <cedk> cristi_an: I think it was the first framework used by TinyERP
2009-01-05 15:06 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1442:181e62a7cf7b trytond/trytond/ir/translation.py: Improve speed in translation_import
2009-01-05 15:20 <cristi_an> cedk: so we use which one ?
2009-01-05 15:20 <cristi_an> do you have a link ? or it is cusatom project included in tryton ?
2009-01-05 15:20 <cedk> cristi_an: don't understand
2009-01-05 15:21 <cristi_an> http://ose.sourceforge.net/browse.php?group=python-manual&entry=modules.htm
2009-01-05 15:21 <cristi_an> net-rpc for python
2009-01-05 15:21 <cristi_an> you told me that it was used by tiny
2009-01-05 15:21 <cristi_an> and i asked which framework is uded by tryton
2009-01-05 15:22 <cedk> cristi_an: any
2009-01-05 15:25 <cristi_an> cedk: ?
2009-01-05 15:30 <Timitos> cedk: bechamel: how to handle many2many over net-rpc? tried this but it does not work: http://paste.pocoo.org/show/98076/
2009-01-05 15:31 <bechamel> Timitos: number are no more used for accesssing x2m fields
2009-01-05 15:32 <bechamel> Timitos: [('add', categ[party[10]])] should work
2009-01-05 15:33 <Timitos> bechamel: great! thx
2009-01-05 15:33 <bechamel> Timitos: see top of osv/fields.py for more info
2009-01-05 15:34 <cristi_an> Timitos: is the protocol used dependent on the model ?
2009-01-05 15:34 <bechamel> cristi_an: about OSE, fabien told me once that OSE inspired tinyerp, but i don't know how much inspiration was took
2009-01-05 15:36 <Timitos> cristi_an: you can look into tests folder of party module and into trytond/tests/test_db.py
2009-01-05 15:37 <Timitos> cristi_an: i used these two files and pysocket.py from trytond to create my script
2009-01-05 15:38 <cristi_an> Timitos: what do you mean to create tour script ?
2009-01-05 15:39 <Timitos> cristi_an: i try to create a import script for parties and party categories
2009-01-05 15:40 <cristi_an> i see
2009-01-05 16:02 <CIA-8> tryton: Bertrand Chenal <bch@b2ck.com> default * 412:3f03970f21c9 stock/stock.xml: Added hidden Reporting menuitem
2009-01-05 16:02 <CIA-8> tryton: Bertrand Chenal <bch@b2ck.com> default * 413:2caf7af9cf20 stock/: merge
2009-01-05 16:20 <CIA-8> tryton: bertrand.chenal@b2ck.com * r407 /wiki/CodeSnippets.wiki: Created wiki page through web user interface.
2009-01-05 16:20 <CIA-8> tryton: bertrand.chenal@b2ck.com * r408 /wiki/CodeSnippets.wiki: Edited wiki page through web user interface.
2009-01-05 16:21 <cristi_an> one of the things i do not understand is why when an invoice is done you can;t specifiy the location (warehouse) ?
2009-01-05 16:21 <cristi_an> because each firm may have multimple locations and each location may have it's owen stock
2009-01-05 16:22 <cristi_an> so if i do an invoice from location x i want to use products from stock that si on location x
2009-01-05 16:25 <Timitos> cristi_an: did you try this with sale module too? i think you should use sale module for this as stock workflow is only started when using sale module. perhaps this is also the explanation why there is no warehouse on invoice. but i also found some problems with this. if there is no warehouse on invoice you cannot verify taxes in europe exactly as taxes are dependent from warehouse location.
2009-01-05 16:27 <cristi_an> Timitos: so when i do an invoice i can put 100 products on it without even having them on stock ? (So there is no validation when the invoice is done ? )
2009-01-05 16:32 <Timitos> cristi_an: no. it is not intended to create only invoices for this. you must use sale module if you want to track your stock
2009-01-05 16:35 <cristi_an> i try to understand this
2009-01-05 16:35 <cristi_an> since i was not used to this kind of feature....
2009-01-05 16:35 <cristi_an> BUT if i use sale module may i create invoices from there ?
2009-01-05 16:35 -!- juanfer(n=juanfer@201.244.188.98) has joined #tryton
2009-01-05 16:36 <cristi_an> directly ?
2009-01-05 16:36 <Timitos> cristi_an: yes. they will be created automaticly. take a look on the second tab of the sale form. you can configure this there
2009-01-05 16:39 <cedk> Timitos, cristi_an: Invoice is for accountance, not sale
2009-01-05 16:40 <cristi_an> cedk: thx for entering into this.
2009-01-05 16:41 <cristi_an> agree invoice is a document that is has taxes and is a document that is take "into account" :)
2009-01-05 16:41 <cristi_an> cedk: but when you do a sale
2009-01-05 16:43 <cristi_an> you give to the customer a document a bill or an invoice
2009-01-05 16:43 <cristi_an> and that is correct no ?
2009-01-05 16:43 <Timitos> cristi_an: this is correct
2009-01-05 16:44 <Timitos> cristi_an: this invoice will be created from sale order automaticly.
2009-01-05 16:44 <cristi_an> really ?
2009-01-05 16:44 <cristi_an> that is gr8
2009-01-05 16:45 <cristi_an> i ahd no clue about this
2009-01-05 16:45 <Timitos> cristi_an: this is workflow
2009-01-05 16:45 <cristi_an> how do you know this ?
2009-01-05 16:45 <cristi_an> :)
2009-01-05 16:46 <cristi_an> is documented and again i asked before readit somehwere
2009-01-05 16:46 <cristi_an> ?
2009-01-05 16:47 <Timitos> cristi_an: no i don´t think that there are documents about that already.
2009-01-05 16:49 <cristi_an> np ,good that you are here :)
2009-01-05 16:49 <cristi_an> you are better then an open book :)
2009-01-05 16:49 <Timitos> :-)
2009-01-05 16:50 <cristi_an> another thing : when you do a sale is possible to do sales above the stock ,to go with the stock in minus
2009-01-05 16:52 <Timitos> cristi_an: yes. you can use the module stock_supply to create purchase_requests for products with a negative value
2009-01-05 16:53 <Timitos> cristi_an: or you can define an order point there
2009-01-05 16:58 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-cbb170d040aa87f2) has joined #tryton
2009-01-05 16:58 <cristi_an> i was disconected plz paste if someone answered to my question
2009-01-05 17:03 <Timitos> cristi_an: yes. you can use the module stock_supply to create purchase_requests for products with a negative value
2009-01-05 17:03 <Timitos> cristi_an: or you can define an order point there
2009-01-05 17:05 <cristi_an> now i run the sale module
2009-01-05 17:05 <cedk> cristi_an: you can sale product that you have not yet
2009-01-05 17:05 <cristi_an> that is waht i saw
2009-01-05 17:05 <cedk> cristi_an: this is the packing that will put the constraint because you can not delivery products that you don't have
2009-01-05 17:06 <cristi_an> i went to sale module and on demo and despite product A was 4
2009-01-05 17:06 <cristi_an> i was able to sale 1000
2009-01-05 17:06 <cedk> cristi_an: but even that you can force, if your inventory value is wrong
2009-01-05 17:06 <cedk> cristi_an: this is normal
2009-01-05 17:06 <cristi_an> but the stick showed me 4
2009-01-05 17:06 <cristi_an> next time
2009-01-05 17:06 <cristi_an> i did next sale
2009-01-05 17:07 <cristi_an> i do not say it is not normal
2009-01-05 17:07 <cristi_an> i want to underestand how this works
2009-01-05 17:07 <Timitos> cristi_an: you still have 4 on stock as you haven´t done the packing yet.
2009-01-05 17:07 <cristi_an> stick = stock
2009-01-05 17:07 <cristi_an> w8...packaging
2009-01-05 17:07 <cristi_an> ?
2009-01-05 17:08 <cristi_an> you said taht you have basic modules in tryton.....but is quitte BIG :)
2009-01-05 17:08 <Timitos> cristi_an: i think that there must be added another field that there is computed the value minus sales waiting
2009-01-05 17:08 <Timitos> :-)
2009-01-05 17:08 <cristi_an> it;s my lack of information to blame....
2009-01-05 17:09 <cristi_an> packaging....
2009-01-05 17:09 <cristi_an> so...
2009-01-05 17:09 <cristi_an> i try to see what that is
2009-01-05 17:10 <cedk> Timitos: there is the forecast quantity
2009-01-05 17:10 <Timitos> cristi_an: look into stock module
2009-01-05 17:10 <cristi_an> i forced a pckaging :)
2009-01-05 17:10 <cristi_an> i start to understand the logic behind
2009-01-05 17:10 <cristi_an> it is prety intuitive
2009-01-05 17:10 <Timitos> cedk: ah. i forgot and haven´t looked at yet.
2009-01-05 17:10 <cristi_an> but i did not knew nothing about it
2009-01-05 17:11 <Timitos> cristi_an: for stock and stock_supply there is some documentation
2009-01-05 17:11 <cedk> cristi_an: it is not BIG, because each stuff is in a separate module
2009-01-05 17:11 <Timitos> http://www.tryton.org/doc/branches/1.0/modules/index.html
2009-01-05 17:12 <cristi_an> thx
2009-01-05 17:12 <cristi_an> i did a packege but next time i do a sale produict a is still 4
2009-01-05 17:13 <cristi_an> despite i forced packaging on previous sale
2009-01-05 17:13 <cristi_an> anyway don't bother now with that since i am sure i did somthing worng...
2009-01-05 17:14 <Timitos> cristi_an: have you set the packing to 'done'?
2009-01-05 17:15 <cedk> cristi_an: you have only packed the packing but not send it
2009-01-05 17:15 <cristi_an> indeed
2009-01-05 17:16 <cedk> cristi_an: now the quantity is -3995
2009-01-05 17:16 <cristi_an> yeeees :)
2009-01-05 17:16 <cristi_an> each day a new thign i learn
2009-01-05 17:16 <cedk> cristi_an: and it is negative because you force the assignation
2009-01-05 17:16 <udono1> cristi_an: the great thing is, it will not stop :-)
2009-01-05 17:17 <cristi_an> this ferature with force assign is cool
2009-01-05 17:17 <cedk> cristi_an: and you have an invoice generated
2009-01-05 17:17 <cristi_an> very very practiucal
2009-01-05 17:18 <cristi_an> that invoice has the account things autmatically generated
2009-01-05 17:18 <cristi_an> ?
2009-01-05 17:18 <cristi_an> i am testing on the demo server and speed is very good
2009-01-05 17:19 <cristi_an> is this beacuse on demo is less data or it will behave ok even with large amount of data ?
2009-01-05 17:21 <udono1> cristi_an: Administration > Localisation > translations gives you speed impressions
2009-01-05 17:23 <udono1> cristi_an: it is reading 1876 records...
2009-01-05 17:23 <udono1> cristi_an: or some more
2009-01-05 17:23 <CIA-8> tryton: cedric.krier@b2ck.com * r409 /wiki/CodeSnippets.wiki: Fix typo
2009-01-05 17:23 <CIA-8> tryton: cedric.krier@b2ck.com * r410 /wiki/CodeSnippets.wiki: Remove try/except
2009-01-05 17:23 <CIA-8> tryton: cedric.krier@b2ck.com * r411 /wiki/CodeSnippets.wiki: Remove TRYTOND_PATH stuffs
2009-01-05 17:23 <CIA-8> tryton: cedric.krier@b2ck.com * r412 /wiki/CodeSnippets.wiki: Standardize each code
2009-01-05 17:25 <cristi_an> when the invoice is genrerated after a sale automatically generates the account recorde needed for an invoice ?
2009-01-05 17:26 <udono1> cristi_an: I hopefully think invoice creates always all related account moves.
2009-01-05 17:27 <Timitos> cristi_an: the moves will be created if you open the invoice. the invoice is after creation from sale in draft status
2009-01-05 17:28 <cristi_an> it is corret to have account moves only for confirmed invoices ,agree
2009-01-05 17:28 <cristi_an> but is possible to cancel an invoice or a sale ?
2009-01-05 17:31 <Timitos> cristi_an: you can create a credit note for an invoice. we also think of a cancellation note for invoices
2009-01-05 17:33 <Timitos> cristi_an: but you cannot cancel confirmed sale order as it would break the workflow. you need to cancel the packings and to cancel the draft invoice that is created from sale order
2009-01-05 17:36 <cristi_an> oki ,i will come back soon with questions about this :)
2009-01-05 19:21 <CIA-8> tryton: matb roundup * #718/Names for models: [chatting] Another little patch (trytond2.patch) for 2 forgotten items. Please review. _name = 'res.user.warning' comes from class OSV, and not W ...
2009-01-05 19:34 <CIA-8> tryton: Timitos roundup * #727/res = self.cursor.execute(sql, params): [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 282, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...
2009-01-05 19:35 <CIA-8> tryton: Timitos roundup * #727/res = self.cursor.execute(sql, params): [chatting] tried to delete a party category
2009-01-05 20:34 <CIA-8> tryton: ced roundup * #727/res = self.cursor.execute(sql, params): Could you give the complete log?
2009-01-05 20:34 <CIA-8> tryton: ced roundup * #727/res = self.cursor.execute(sql, params): Could you give the complete log?
2009-01-05 20:43 <CIA-8> tryton: C?dric Krier <ced@b2ck.com> default * 1443:e362e9965e1b trytond/trytond/sql_db.py: Add log for wrong SQL
2009-01-05 20:43 <CIA-8> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1444:ac5e34fa7c8a trytond/trytond/res/user.py: Add _description and docstring to WizardOSV and OSV for issue718
2009-01-05 20:43 <CIA-8> tryton: ced roundup * #718/Names for models: [resolved] Applied
2009-01-05 20:58 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-05 21:01 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-2a120f5be0d9710c) has joined #tryton
2009-01-05 21:54 <CIA-8> tryton: Timitos roundup * #727/res = self.cursor.execute(sql, params): [Mon Jan 05 21:54:07 2009] ERROR:web-service:Exception in call: Traceback (most recent call last): File "/home/kp/localdev/trytond/trytond/osv/ ...
2009-01-05 21:58 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton
2009-01-05 21:58 <CIA-8> tryton: ced roundup * #727/res = self.cursor.execute(sql, params): This is not a bug but feature.
2009-01-05 22:01 <CIA-8> tryton: Timitos roundup * #727/res = self.cursor.execute(sql, params): so i would say this feature should be improved as i would not show the user such a exception
2009-01-05 22:22 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-f48334e23a69e621) has joined #tryton
2009-01-05 22:27 <cristi_an> cedk: i am trying to make some analogies of the architecture tryton has with those used on java applications
2009-01-05 22:28 <cristi_an> how the tryton client works...get the xml of the module on client side and reders that accordingly
2009-01-05 22:28 <cristi_an> ?
2009-01-05 22:28 <cristi_an> reders = renders
2009-01-05 22:35 -!- enlightx(n=enlightx@host-84-220-85-67.cust-adsl.tiscali.it) has joined #tryton
2009-01-05 22:38 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-05 23:37 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-05 23:43 <CIA-8> tryton: ced roundup * #727/res = self.cursor.execute(sql, params): I suggest to transform it into a generic message: "Integrity Error: You try to by pass an constraint!"
2009-01-05 23:53 -!- ikks(n=igor@201.244.188.98) has joined #tryton

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