Browse Source

cosmetic fixes

pull/33/head
robin.keunen 5 years ago
parent
commit
a5d2bf3c0b
  1. 2
      easy_my_coop/data/easy_my_coop_data.xml
  2. 2
      easy_my_coop/security/ir.model.access.csv
  3. 2
      easy_my_coop_loan/models/loan.py

2
easy_my_coop/data/easy_my_coop_data.xml

@ -3,7 +3,7 @@
<data noupdate="1">
<record model="ir.module.category" id="module_category_cooperator_management">
<field name="name">Cooperative Management</field>
<field name="description">Helps you manage your cooperator.</field>
<field name="description">Manage your cooperative.</field>
<field name="sequence">3</field>
</record>

2
easy_my_coop/security/ir.model.access.csv

@ -8,7 +8,7 @@ access_subscription_request_manager,subscription.request,model_subscription_requ
access_subscription_request,subscription.request,model_subscription_request,group_easy_my_coop_user,1,1,1,0
access_share_line_employee,share.line,model_share_line,base.group_user,1,0,0,0
access_share_line_manager,share.line,model_share_line,group_easy_my_coop_user,1,1,1,0
access_res_partner,res.partner,model_res_partner,group_easy_my_coop_user,1,1,1,0
access_res_partner_emc_user,res.partner,base.model_res_partner,group_easy_my_coop_user,1,1,1,0
access_account_invoice,account.invoice,model_account_invoice,group_easy_my_coop_user,1,1,1,0
access_subscription_register,subscription_register,model_subscription_register,group_easy_my_coop_user,1,1,1,0
access_operation_request,operation.request,model_operation_request,group_easy_my_coop_user,1,1,1,0

2
easy_my_coop_loan/models/loan.py

@ -68,7 +68,7 @@ class LoanIssue(models.Model):
string='Company',
required=True,
readonly=True,
default=lambda self: self.env['res.company']._company_default_get()) #noqa
default=lambda self: self.env['res.company']._company_default_get()) # noqa
by_company = fields.Boolean(string="By company")
by_individual = fields.Boolean(string='By individuals')
display_on_website = fields.Boolean(sting='Display on website')

Loading…
Cancel
Save