Skip to content
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

Handle file fields within transient models (use case: sale.config.settings) #94

Closed
leemannd opened this issue Oct 26, 2017 · 2 comments
Closed
Assignees

Comments

@leemannd
Copy link
Member

leemannd commented Oct 26, 2017

When exporting sale.config.setting we faced 2 issues:

  • field sale_note should be moved to an html file
  • special fields export is actually not working w/ transient models

You'll find WIP => here

@simahawk simahawk self-assigned this Oct 26, 2017
@simahawk simahawk changed the title [IMP][BUG] sale_config_settings Handle file fields within transient models (use case: sale.config.settings) Oct 26, 2017
@simahawk
Copy link
Member

back on this: I'm not even sure if we should export such fields in any case. Example:

odoo/src/addons/sale/models/res_config_settings.py:12:    sale_note = fields.Text(related='company_id.sale_note', string="Terms & Conditions")

as you see that field is stored on the company itself which we should export anyway...
Relates to #101

@simahawk
Copy link
Member

export settings deprecated

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

No branches or pull requests

2 participants