Comments (2)
If base fields are written through attribute.attribute there:
https://github.com/shopinvader/odoo-pim/blob/12.0/attribute_set/models/attribute_attribute.py#L427
an Exception is raised there:
https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_model.py#L750
The problem is raised when loading demo data from product_attribute_set but never raised in Travis as there is no tests, so no demo data are loaded.
I don't know why there is no problem through interface (I haven't tested myself).
Ok, maybe that's not a bug.
The point is I was testing after having initialized the product_attribute_set first. So, when loading demo, only create() was called which is not launching that error.
If you run the test after having loaded the module first, the write() is called.
As we don't modify inherited fields, no write is called on ir.model.fields Model.
from odoo-pim.
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
from odoo-pim.
Related Issues (20)
- Migration to version 15.0 HOT 6
- Handle attribute type changes HOT 1
- Incorrect capitalization of attribute group in the rendered XML HOT 1
- [14.0] attribute_set, Error on restart at creating serialized attribute: Uncaught TypeError: Cannot read properties of undefined (reading 'type') HOT 1
- ---
- Add dynamic attribute options for relational PIM attributes HOT 1
- After install : nothing HOT 3
- Migration to version 16.0 HOT 2
- Add ability to edit columns in PIM list view HOT 1
- [14.0] attribute_set: Failed to load serialized attribute field
- [14.0]attribute_set HOT 2
- Storage and search optimization HOT 1
- RFC Use new odoo native property feature to improve PIM usability HOT 4
- Migration to version 17.0 HOT 3
- [12.0] impossible to fill pim_default_product_attribute_set_id HOT 2
- [12.0] completion rate filling HOT 1
- Rights on repo HOT 1
- Domain should be set in the field domain HOT 1
- Maintain variant specific PIM attributes HOT 2
- Access rights: Only working for menu visibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odoo-pim.