New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:ambulance: web_website fixes after odoo update #693

Closed
wants to merge 3 commits into
base: 12.0
from

Conversation

Projects
None yet
2 participants
@KolushovAlexandr
Member

KolushovAlexandr commented Dec 3, 2018

No description provided.

Show resolved Hide resolved web_website/models/ir_property.py Outdated
Show resolved Hide resolved web_website/models/ir_property.py Outdated

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch from 8f3859b to cb4589d Dec 3, 2018

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch 3 times, most recently from e739997 to bb850c2 Dec 4, 2018

Show resolved Hide resolved web_website/models/ir_property.py
Show resolved Hide resolved web_website/tests/test_website_dependent.py Outdated

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch from bb850c2 to cad1fbd Dec 7, 2018

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch 2 times, most recently from 742e8b5 to 184f82c Dec 7, 2018

Show resolved Hide resolved web_website/models/ir_property.py Outdated
Show resolved Hide resolved web_website/models/ir_property.py Outdated

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch from 184f82c to ba68534 Dec 7, 2018

field = self.env[model]._fields[name]
field_id = self.env['ir.model.fields']._get(model, name).id
company_id = (self._context.get('force_company')
or self.env['res.company']._company_default_get(model, field_id).id)

This comment has been minimized.

@yelizariev

yelizariev Dec 7, 2018

Member

no need for parenthesises

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch from ba68534 to d93c25f Dec 7, 2018

Show resolved Hide resolved web_website/models/ir_property.py Outdated
🌹 comment for default_value
Co-Authored-By: KolushovAlexandr <kolushov@it-projects.info>

@KolushovAlexandr KolushovAlexandr force-pushed the KolushovAlexandr:12.0-web_website-test_issue branch from e0ab680 to 71c10e6 Dec 7, 2018

@KolushovAlexandr

This comment has been minimized.

Member

KolushovAlexandr commented Dec 10, 2018

11v branch should be updated at first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment