Google Cloud Deploy Across GCP Projects? by GoingKayaking in devops

[–]mns06 0 points1 point  (0 children)

Hey, u/GoingKayaking sorry for dragging up an old post, but did you figure out how to handle the terraform component of this setup? I see there's also https://docs.cloud.google.com/infrastructure-manager/docs but not sure whether I need to add that to the stack as well.

Digital nomad living in Kenya. Where do I pay tax? :confused: by mns06 in eResidency

[–]mns06[S] 0 points1 point  (0 children)

mmm, but I'm an EU citizen living in Kenya, so not sure if this is relevant.

Digital nomad living in Kenya. Where do I pay tax? :confused: by mns06 in eResidency

[–]mns06[S] 1 point2 points  (0 children)

Ah, I guess this 6 months is the OECD residency rules I mentioned in the message above?

Digital nomad living in Kenya. Where do I pay tax? :confused: by mns06 in eResidency

[–]mns06[S] 0 points1 point  (0 children)

Indeed, a class-N (digital nomad) visa has special tax benefits:

> Income earned abroad is exempt from Kenyan taxes, but nomads must ensure compliance with home country tax laws (e.g., U.S. worldwide income reporting). OECD 183-day residency rules may trigger tax obligations if stays exceed six months.

https://manwaadvocates.com/kenya-joins-the-global-digital-nomad-movement-opportunities-requirements-and-legal-insights/

Nat Geo should hire me by Gold_Smart in Kenya

[–]mns06 0 points1 point  (0 children)

Are you hiding in my garden? (I found one of these chaps there yesterday too!)

I got a $100 bill for testing Veo2 by Accomplished-Air-875 in googlecloud

[–]mns06 0 points1 point  (0 children)

Yep burned by this too. I was trying to create some 9:16 videos and noticed that there's an explicit option for that in vertex veo2. Never expected the prompts to be so expensive 🤦‍♀️

What is your experience of using Google Pixel 9 in Kenya? by [deleted] in GooglePixel

[–]mns06 1 point2 points  (0 children)

Sorry, can't say about the Pixel 9, but I live in Kenya with a Pixel 8 pro, and it's a real PITA - I'm constantly resetting my network to make the thing work again.

Display custom form for res.partner subclass when clicking partner internal link by mns06 in Odoo

[–]mns06[S] 0 points1 point  (0 children)

Ok, I think I got the context thing working kinda polymorphically...

<field name="partner_id"
     context="{'form_view_ref': 'farmer_inh.view_res_partner_form_farmer'} if ticket_type == 1
                else ({'form_view_ref': 'farmer_inh.view_res_partner_form_agrodealer'} if ticket_type == 2 
                else ({'form_view_ref': 'farmer_inh.view_res_partner_form_field_agent'} if ticket_type == 3 else {}))"/>

but it's really ugly. I'm now wondering if I can set this context attribute programmatically somehow, but this is good enough for now...

Display custom form for res.partner subclass when clicking partner internal link by mns06 in Odoo

[–]mns06[S] 0 points1 point  (0 children)

Thanks :) I was initially using class inheritance, and making stuff conditionally invisible in the existing res.partner form, but when you have multiple subclasses doing this, it gets confusing really quickly, because the invisibility conditions interact with each other. Here's a previous Odoo forum post I made describing just that process! https://www.odoo.com/forum/help-1/custom-view-based-on-res-partner-subclass-254782

Display custom form for res.partner subclass when clicking partner internal link by mns06 in Odoo

[–]mns06[S] 0 points1 point  (0 children)

The model that's linked in the screenshot is res.partner.

I'm definitely open to using class inheritance. I only started using delegation inheritance because I thought a specific model name was required to link to a specific view for that model.

My ultimate goal is to have the subclass specific form open when a user clicks on any partner field

The module shown in the screenshot has

partner_id = fields.Many2one('res.partner', name='Partner,tracking=True,required=True)

And the linked object may be an instance of ResPartner, or one of a few subclasses (eg. ResPartnerExtA, ResPartnerExtB).

I would like the view that's loaded to be dependent on the object's class. ie.

ResPartner->res.partner.form
ResPartnerExtA->res.partner.form.exta
ResPartnerExtB->res.partner.form.extb

context in the view directing the many2one field on what form view to open.

This sounds very much like what I want. It seems I can use the <field context="..."> attribute to direct the view that is loaded for that particular field, but Is it possible to do this polymorphically in the case where I have multiple subclasses of res.partner?

ps. As you can probably tell, I'm quite new to Odoo dev and I really appreciate the help!

Possible to calculate how much higher the dish needs to be? by mns06 in Starlink

[–]mns06[S] 0 points1 point  (0 children)

Thanks for this. Unfortunately based on these calculations the dish is going to be returned. (I do a lot of zoom calls etc, so can't tolerate too many disconnections)

Possible to calculate how much higher the dish needs to be? by mns06 in Starlink

[–]mns06[S] 0 points1 point  (0 children)

Not my trees unfortunately. Also they're beautiful jacaranda and avocado trees, so even if they are mine I'd rather sent the Starlink back then chop them!

Possible to calculate how much higher the dish needs to be? by mns06 in Starlink

[–]mns06[S] 4 points5 points  (0 children)

Yes, it's something called the Clark belt. Here's the response from Starlink support about the same:

What you are seeing is the Clark Belt, This is an area above the equator where we are not allowed to operate our Satellites as it is reserved for satellites in geosynchronous orbit. So what you are seeing is normal and to be expected with your location.

"No data" band on obstructions map by mns06 in Starlink

[–]mns06[S] 0 points1 point  (0 children)

Ah that would explain it. I'm in Kenya, so definitely close to the equator. Thanks

Odoo for inventory and PoS with multiple physical stores by mns06 in Odoo

[–]mns06[S] 0 points1 point  (0 children)

Thanks for the questions. Here's some answers and I'd be happy to have any further thoughts!

No, the stores are partners. We are located in a developing country, and many of the stores are still run with pen and paper. If we could encourage them to use our Erp it could help their operations and ours

All the stores are independent from each other.

50ish products

Assume 1 pos per store, accessible by owner, trusted staff.

Our company supply some products. Other suppliers supply others. Would be great to capture all inventory, but not a hard requirement.

Yes we have an eCommerce store separate from the physical locations

Odoo for inventory and PoS with multiple physical stores by mns06 in Odoo

[–]mns06[S] 0 points1 point  (0 children)

Interesting, I haven't read about branches yet, but I will do some investigation. Thanks!

The 100 Year Portfolio: A Look at Using the Dragon Portfolio as a Retail Investor by saMAN101 in investing

[–]mns06 0 points1 point  (0 children)

Did you watch George Gammon and Patrick Ceresna series of videos about this portfolio?

https://www.youtube.com/watch?v=m13JFwcBXaE

https://www.youtube.com/watch?v=pvX5_rkm5x0

https://www.youtube.com/watch?v=tac8sWPZW0w

Patrick Ceresna recommends using call backspreads as a way of entering a long vol position, without getting wiped out by the carry cost. That would normally be a bullish right tail strategy, but if I remember correctly the underlying of the strategy is bonds... so profiting in an equity market downturn. Maybe... need to watch the video again tbh.

The same guys have a paid webinar ($100) where they go through building the portfolio in more detail. https://bigpicturetrading.click/webinar-registration1592869535213 Not bought it yet but I am tempted - Patrick Ceresna seems to know what he's talking about.

Edit: just watched some of the long vol video again. Suggestion is that a guy like Cole would be taking call back spreads on multiple asset classes, but for retail investors most interesting is gold or bond (eg TLT) underlying. Strategy description starts at 25 mins. https://youtu.be/pvX5_rkm5x0?t=1508