chat.freenode.net #tryton log beginning Tue Aug 28 00:00:01 CEST 2018 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:45 | |
-!- thaneor(~lenovo3@179.26.54.255) has joined #tryton | 00:48 | |
-!- thaneor(~lenovo3@179.26.24.226) has joined #tryton | 01:34 | |
-!- thaneor(~lenovo3@179.26.24.226) has joined #tryton | 02:49 | |
-!- yangoon(~mathiasb@i59F4D3A4.versanet.de) has joined #tryton | 02:51 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 05:07 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:45 | |
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton | 06:49 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 07:04 | |
-!- nlopez73(4de166a0@gateway/web/cgi-irc/kiwiirc.com/ip.77.225.102.160) has joined #tryton | 07:28 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 07:55 | |
-!- local(~local@cpc94710-oxfd26-2-0-cust5.4-3.cable.virginm.net) has joined #tryton | 08:43 | |
-!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton | 09:52 | |
-!- csotelo(~csotelo@2001:1388:49c6:d19:d7ba:4b8c:80ca:a2e8) has joined #tryton | 10:02 | |
-!- csotelo(~csotelo@2001:1388:49c6:d19:d7ba:4b8c:80ca:a2e8) has joined #tryton | 10:26 | |
csotelo | Hello coders. I am looking for a module for append discounts to an invoice, I mean, when we have the total amount, I could add a discount to it, is there something like that? thanks a lot ( I am using Tryton 4.2 ) | 10:46 |
---|---|---|
-!- zmijunkie1(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton | 10:58 | |
-!- mariomop(~quassel@186.153.88.228) has joined #tryton | 11:06 | |
pokoli | csotelo: why not including a line with quantity = -1 and a description explaining the discount? | 11:12 |
csotelo | since is restricted to have negative in our invoicing system | 11:13 |
csotelo | also on credit notes where I do a tyotal_amount * -1. in order on having credit notes positives on printing and tax authority reports | 11:15 |
csotelo | my insurance issue is related to discounts on paymemnts called "copago", they must be sumarized and put it on a invoice discount fields after total_amount, that is the rule, and taht is the reason on looking for a module instead on build one new | 11:17 |
csotelo | or apped it to my account_invoice_pe module, since it is a rule | 11:17 |
udono | csotelo: hi, here is a discussion about a discount module conception https://discuss.tryton.org/t/discount-on-sale/472 | 11:24 |
csotelo | udono, thanks a lot | 11:25 |
csotelo | udomo, I just seen | 11:55 |
csotelo | I guess cedk make something standard for all | 11:55 |
csotelo | I think I must set discounts on my locale module :( | 11:55 |
csotelo | since in our tax laws any discount must be reported on the electronic invoice, other wise the company could be penalized, also closed | 11:56 |
csotelo | then is just a local issue, I must inclusde it on my local module | 11:57 |
csotelo | thanks a lot | 11:57 |
cedk | csotelo: this is strange, companies are not allowed to set their on prices? | 11:59 |
cedk | because promotions are just about changing the unit price | 12:00 |
csotelo | cedk, on promotions is ok, but , there is some rules, for example, insurances, is something like a payment on advance | 12:04 |
-!- thaneor(~lenovo3@179.26.24.226) has joined #tryton | 12:05 | |
csotelo | then this payment on advance must be added on the invoice discount described like that | 12:05 |
csotelo | and is a must | 12:06 |
csotelo | and it is a must* | 12:06 |
csotelo | any way could get into penalizations | 12:06 |
csotelo | promitions, marketing campaigns are discounts before invoicings and that is ok | 12:06 |
csotelo | doest it make sense? | 12:07 |
pokoli | csotelo: you may use the account_deposit module to manage payments on adavance. | 12:32 |
pokoli | csotelo: so you will have the account type to know if it's an advance payment or no | 12:33 |
csotelo | pokoli, yes I use that module, I am talking on how to manage it on invoicing, the advances must be on the invoicing as a discount | 12:41 |
csotelo | taht is a must | 12:42 |
csotelo | insurances are a typical issue similar to advance | 12:42 |
csotelo | last line was wrong .. sorry | 12:43 |
csotelo | insurances are a typical issue similar to payment on advance, that must be included as a discount on invoices | 12:43 |
csotelo | I guess is just something for peru | 12:44 |
csotelo | pokoli, you could see it here ( spanish ) http://contenido.app.sunat.gob.pe/insc/ComprobantesDePago+Electronicos/Anticipos_lineamiento_mayo_2015.pdf | 12:45 |
csotelo | just for information | 12:45 |
csotelo | electronic invoice manage the tag PrePaidAmount | 12:46 |
csotelo | for this cases, and on printinted must be appear as discount | 12:47 |
csotelo | peruvian issues :) | 12:47 |
cedk | csotelo: I see no problem in using sale_advance_payment | 12:53 |
cedk | you just need to have flags to detect such lines | 12:53 |
cedk | for example the account | 12:54 |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 12:56 | |
csotelo | cedk, yes, I ma thinking on something like that. initially I was thinking on using something like "discount on invoice", but I guess could be better adding a field to catch payment on advance and adding it to the invoicing | 12:59 |
csotelo | Thanks a lot for the help and suggestions | 13:00 |
-!- thaneor1(~lenovo3@r179-25-33-212.dialup.adsl.anteldata.net.uy) has joined #tryton | 13:32 | |
-!- lucascastro(~lucascast@177-185-139-175.isotelco.net.br) has joined #tryton | 13:42 | |
-!- csotelo_at_work(~csotelo_a@179.43.97.56) has joined #tryton | 14:08 | |
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton | 14:13 | |
andrespoliti | hi, is it possible to add a button to a readonly model? | 14:16 |
-!- thaneor(~lenovo3@r179-25-33-212.dialup.adsl.anteldata.net.uy) has joined #tryton | 14:17 | |
andrespoliti | i want only the button to be pressable, and the rest of the fields readonly | 14:17 |
cedk | andrespoliti: yes | 14:17 |
andrespoliti | cedk: how can you do that? i tried adding a permission to the button but it's still readonly | 14:18 |
cedk | andrespoliti: which version? how do you make the model readonly? did you restart? | 14:19 |
andrespoliti | trytond 4.0, the model was made readonly with a model.access rule | 14:20 |
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | 14:21 | |
cedk | andrespoliti: it should work if you give access to the button for a specific group | 14:23 |
-!- rpit(~ralf@p200300C88F04CB00ACA0267F9CEF56B9.dip0.t-ipconnect.de) has joined #tryton | 14:24 | |
andrespoliti | yes, i gave the button permission for Administrator group, but it's still readonly | 14:26 |
andrespoliti | the button opens a wizard, should i explicitly give permissions to the wizard too? | 14:26 |
-!- rpit(~ralf@p200300C88F04CB00ACA0267F9CEF56B9.dip0.t-ipconnect.de) has joined #tryton | 14:29 | |
-!- thaneor(~lenovo3@r179-25-33-212.dialup.adsl.anteldata.net.uy) has joined #tryton | 14:30 | |
andrespoliti | i tried giving permissions to the wizard but still can't press the button | 14:30 |
cedk | andrespoliti: did you restart? | 14:32 |
andrespoliti | yes, both client and server | 14:32 |
andrespoliti | and i tried reinstalling the module too | 14:32 |
cedk | andrespoliti: so your user does not have the right | 14:34 |
-!- thaneor(~lenovo3@r179-25-33-212.dialup.adsl.anteldata.net.uy) has joined #tryton | 14:35 | |
andrespoliti | my user is administrator, belonging to the group administrator | 14:35 |
andrespoliti | i also gave permission for the wizard action, but it's still readonly | 14:42 |
-!- thaneor(~lenovo3@r179-25-33-212.dialup.adsl.anteldata.net.uy) has joined #tryton | 14:58 | |
-!- lucascastro(~lucascast@200.141.207.18) has joined #tryton | 17:19 | |
-!- jmpoure(~jmpoure@63.109.206.77.rev.sfr.net) has joined #tryton | 18:32 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 20:00 | |
-!- jcm(~jcm@78.194.214.115) has joined #tryton | 20:03 | |
-!- csotelo(~csotelo@2001:1388:49c6:22ba:dcf8:2c5c:7afc:8b82) has joined #tryton | 20:13 | |
-!- csotelo(~csotelo@2001:1388:49c6:22ba:dcf8:2c5c:7afc:8b82) has joined #tryton | 20:46 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!