Browse Source

[MERGE][TASK 0003-CR][Feedback] set to print when new card created

pull/14/head
Thibault Francois 8 years ago
parent
commit
7a163d86de
  1. 2
      beesdoo_base/wizard/member_card.py

2
beesdoo_base/wizard/member_card.py

@ -21,7 +21,7 @@ class NewMemberCardWizard(models.TransientModel):
client = self.partner_id.sudo() client = self.partner_id.sudo()
client._deactivate_active_cards() client._deactivate_active_cards()
client._new_card(self.new_comment, self.env.uid, barcode=self.force_barcode) client._new_card(self.new_comment, self.env.uid, barcode=self.force_barcode)
client.member_card_to_be_printed = True
class RequestMemberCardPrintingWizard(models.TransientModel): class RequestMemberCardPrintingWizard(models.TransientModel):

Loading…
Cancel
Save