implement Uber delivery fee synchronization in sale orders and update docker container naming conventions

This commit is contained in:
Alaguraj0361 2026-04-09 18:07:45 +05:30
parent 2a6f31faf0
commit 3a91dc3028

View File

@ -35,6 +35,16 @@ class SaleOrder(models.Model):
'delivery_type': 'fixed',
'product_id': config.delivery_product_id.id,
'website_published': True,
'fixed_price': 0.0,
})
if carrier:
# Force carrier to be published and global to avoid "No shipping method" error
carrier.write({
'website_published': True,
'active': True,
'country_ids': [(6, 0, [])],
'state_ids': [(6, 0, [])],
})
if carrier: