Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions base_report_to_printer/data/neutralize.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
update printing_server set active=false;
update printing_printer set active=false;
update printing_report_xml_action set active=false;
update ir_act_report_xml set printing_printer_id=null;
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class PrintingReportXmlAction(models.Model):
string="Paper Source",
domain="[('printer_id', '=', printer_id)]",
)
active = fields.Boolean(default=True)

@api.onchange("printer_id")
def onchange_printer_id(self):
Expand Down