diff options
Diffstat (limited to 'indoteknik_custom')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/mail_template_efaktur.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 3f23f65d..376ae20a 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -661,10 +661,10 @@ class SaleOrder(models.Model): return False def _requires_approval_margin_leader(self): - return self.total_percent_margin <= 15 and not self.env.user.is_leader + return self.total_percent_margin <= 13 and not self.env.user.is_leader def _requires_approval_margin_manager(self): - return self.total_percent_margin <= 22 and not self.env.user.is_leader and not self.env.user.is_sales_manager + return self.total_percent_margin <= 20 and not self.env.user.is_leader and not self.env.user.is_sales_manager def _create_approval_notification(self, approval_role): title = 'Warning' diff --git a/indoteknik_custom/views/mail_template_efaktur.xml b/indoteknik_custom/views/mail_template_efaktur.xml index d0e7b39a..b0637691 100644 --- a/indoteknik_custom/views/mail_template_efaktur.xml +++ b/indoteknik_custom/views/mail_template_efaktur.xml @@ -7,7 +7,7 @@ <field name="subject">Faktur Pajak Invoice ${object.name}</field> <field name="email_from">pajak@indoteknik.co.id</field> <field name="reply_to">pajak@indoteknik.co.id</field> - <field name="email_cc">sales@indoteknik.com</field> + <field name="email_cc">sales@indoteknik.com,pajak@indoteknik.co.id</field> <field name="email_to">${object.partner_id.email|safe}</field> <field name="body_html" type="html"> <p>Dengan Hormat Bpk/Ibu ${object.partner_id.name},</p> |
