openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11022
[Bug 994417] [NEW] editing and importing user defined defaults fails
Public bug reported:
OpenERP version: openerp-6.1-20120325-233047 using the web-client
In my case I had a multi-company, multi-shop configuration where I intended specify default shops according to set default company, however the problem seem to be for any duplication/editing/import of user-defined defaults under:
Settings -> Customization -> Low Level Objects -> Actions -> User-defined defaults
1) Create a new company (settings -> companies -> companies -> create)
2) Create a new shop (sales -> configuration -> Sales -> shop) setting the the shop belongs to the just defined company
3) Go to the User-defined defaults and duplicate 'shop_id', 'sale.order' and change the default value scope -> company from the default to the new company and change the default
"I1
."
to
"I2
."
Click save, then click on "user-defined defaults" to refresh the list with the latest addition. Look at the 'shop_id' for the new company and notice that instead of storing
"I1
."
it was stored as
"S'I1\n.'
p0
."
If setting any user to use the newly defined company going to sales and
creating clicking create quote, the system will crash with an error
message.
4) Export all the user-defined defaults to a csv file, copy the original
shop_id line and change the last line with shop_id from "I1 ." to "I2 ."
for the columns "value" and "value_unpickle"
Go to "user-defined defaults" again and notice it was stored as
"VI2 .
p0
.
"
Again - system will crash if you try to create a quote/order with a user
belonging to the alternate company. The only way I have found to edit
the data is updating the database manually outside of OpenERP,
** Affects: openobject-server
Importance: Undecided
Status: New
** Tags: 6.1 openerp
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/994417
Title:
editing and importing user defined defaults fails
Status in OpenERP Server:
New
Bug description:
OpenERP version: openerp-6.1-20120325-233047 using the web-client
In my case I had a multi-company, multi-shop configuration where I intended specify default shops according to set default company, however the problem seem to be for any duplication/editing/import of user-defined defaults under:
Settings -> Customization -> Low Level Objects -> Actions -> User-defined defaults
1) Create a new company (settings -> companies -> companies -> create)
2) Create a new shop (sales -> configuration -> Sales -> shop) setting the the shop belongs to the just defined company
3) Go to the User-defined defaults and duplicate 'shop_id', 'sale.order' and change the default value scope -> company from the default to the new company and change the default
"I1
."
to
"I2
."
Click save, then click on "user-defined defaults" to refresh the list with the latest addition. Look at the 'shop_id' for the new company and notice that instead of storing
"I1
."
it was stored as
"S'I1\n.'
p0
."
If setting any user to use the newly defined company going to sales
and creating clicking create quote, the system will crash with an
error message.
4) Export all the user-defined defaults to a csv file, copy the
original shop_id line and change the last line with shop_id from "I1
." to "I2 ." for the columns "value" and "value_unpickle"
Go to "user-defined defaults" again and notice it was stored as
"VI2 .
p0
.
"
Again - system will crash if you try to create a quote/order with a
user belonging to the alternate company. The only way I have found to
edit the data is updating the database manually outside of OpenERP,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/994417/+subscriptions
Follow ups
References