diff options
Diffstat (limited to 'indoteknik_custom')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 | ||||
| -rw-r--r-- | indoteknik_custom/views/res_partner.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index b9ca4a09..492153c0 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -890,7 +890,7 @@ class SaleOrder(models.Model): total_weight = self._validate_for_shipping_estimate() weight_gram = int(total_weight * 1000) - if weight_gram <b 100: + if weight_gram < 100: weight_gram = 100 value = int(self.amount_untaxed or sum(line.price_subtotal for line in self.order_line)) diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml index f739cf14..30b5ca36 100644 --- a/indoteknik_custom/views/res_partner.xml +++ b/indoteknik_custom/views/res_partner.xml @@ -74,7 +74,7 @@ <field name="map_view" widget="googlemap" nolabel="1"/> </div> <group> - <field name="address_map"/> + <field name="address_map" readonly="1" force_save="1"/> <field name="latitude" readonly="1" force_save="1"/> <field name="longtitude" readonly="1" force_save="1"/> </group> |
