Skip to content

Commit

Permalink
Merge remote-tracking branch 'odoo/11.0' into 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Sep 27, 2019
2 parents a97874b + 9d3a73f commit 22f88dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/mrp/models/mrp_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _compute_time_cycle(self):
limit=operation.time_mode_batch)
count_data = dict((item['operation_id'][0], (item['duration'], item['qty_produced'])) for item in data)
if count_data.get(operation.id) and count_data[operation.id][1]:
operation.time_cycle = count_data[operation.id][0] / count_data[operation.id][1]
operation.time_cycle = (count_data[operation.id][0] / count_data[operation.id][1]) * (operation.workcenter_id.capacity or 1.0)
else:
operation.time_cycle = operation.time_cycle_manual

Expand Down
2 changes: 1 addition & 1 deletion addons/payment_ogone/views/payment_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<field name="ogone_shakey_in"/>
<field name="ogone_shakey_out"/>
<field name="ogone_alias_usage"/>
<a colspan="2" href="http://payment-services.ingenico.com/int/en/ogone/support/guides/user%20guides/test-account-creation" target="_blank">How to configure your Ogone account?</a>
<a colspan="2" href="https://payment-services.ingenico.com/int/en/ogone/support/guides/user%20guides/use-your-account" target="_blank">How to use your Ingenico ePayments account?</a>
</group>
</xpath>
</field>
Expand Down

0 comments on commit 22f88dd

Please sign in to comment.