Skip to content

Commit

Permalink
Merge pull request #4 from laslabs/release/8.0/connector-dns
Browse files Browse the repository at this point in the history
[FIX] connector_dns: Build and functional errors
  • Loading branch information
noahzaozao authored Oct 10, 2016
2 parents 1d31ae0 + 545cae2 commit 7b9c230
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions connector_dns/models/dns_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class DNSRecord(models.Model):
string="Zone",
comodel_name='dns.zone',
ondelete='cascade',
required=True,
help="Hosted zone that this record is applied to.",
)
type_id = fields.Many2one(
Expand Down
5 changes: 1 addition & 4 deletions connector_dns/views/dns_backend.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
<data>

<record id="dns_backend_action" model="ir.actions.act_window">
<field name="name">DNS Backend Action</field>
<field name="name">DNS Backends</field>
<field name="res_model">dns.backend</field>
<field name="type_id">ir.actions.act_window</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
Expand All @@ -29,12 +28,10 @@
<button name="button_connect"
string="Connect"
type="object"
states="draft,exception"
/>
<button name="button_set_draft"
string="Set to draft"
type="object"
states="done"
/>
</header>
<sheet>
Expand Down
2 changes: 1 addition & 1 deletion connector_dns/views/dns_record.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<data>

<record id="dns_record_action" model="ir.actions.act_window">
<field name="name">DNS Record Action</field>
<field name="name">DNS Records</field>
<field name="res_model">dns.record</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
Expand Down
3 changes: 1 addition & 2 deletions connector_dns/views/dns_zone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<data>

<record id="dns_zone_action" model="ir.actions.act_window">
<field name="name">DNS Zone</field>
<field name="name">DNS Zones</field>
<field name="res_model">dns.zone</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
Expand All @@ -28,7 +28,6 @@
<button name="button_get_sub_domains"
string="Get Sub domains"
type="object"
states="done"
/>
</header>
<sheet>
Expand Down

0 comments on commit 7b9c230

Please sign in to comment.