| irc.libera.chat #tryton log beginning Fri Mar 10 12:10:01 AM CET 2023 | ||
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:03 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 00:03 | |
| -!- springwurm(~springwur@5.104.149.54) has joined #tryton | 06:18 | |
| -!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:24 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:34 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 07:34 | |
| -!- rpit(~rpit@a89-154-189-196.cpe.netcabo.pt) has joined #tryton | 08:21 | |
| -!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:23 | |
| mrichez | hi, where can i find in database field's domain ? i update field's domain in a custo. I removed my custo but domain seems still active. | 10:09 |
|---|---|---|
| pokoli | mrichez: you can not find in database but you can print on class __setup__ in custom module | 11:38 |
| mrichez | pokoli: ok, this is strange because it seems domain is still applied, so i thought it was stored on database | 11:41 |
| mrichez | pokoli: my custo was : super(ShipmentInternal, cls).__setup__() | 11:41 |
| mrichez | cls.to_location.domain = ['OR', cls.to_location.domain, ('type', '=', 'customer'), ] | 11:41 |
| mrichez | pokoli: i remove the custo, but i can still add a customer location on internal shipment | 11:41 |
| pokoli | mrichez: did you have stock_consignment module? IIRC this module adds such domain | 11:42 |
| mrichez | pokoli: oh; indeed stock_consignment is activated .. thanks for solution :-) | 11:44 |
| pokoli | you're welcome :-) | 12:01 |
| mrichez | hi, python question about this method: https://foss.heptapod.net/tryton/tryton/-/blob/branch/default/modules/product/product.py#L234 | 13:09 |
| mrichez | is it normal to return a call to a classmethod without calling '__class__' . In this case, it's returning self.default_code_readonly() (which is a class method)... why not returning self.__class__.default_code_readonly() ? (is it a shortcut ?) | 13:11 |
| -!- irclog(~irclog@moretus.b2ck.com) has joined #tryton | 14:29 | |
| -!- irclog(~irclog@moretus.b2ck.com) has joined #tryton | 14:31 | |
| -!- rmu(~robert@cm179-68.liwest.at) has joined #tryton | 18:43 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!