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

[8.0] Migration of sale_properties_easy_creation #167

Merged
merged 23 commits into from Nov 17, 2015

Conversation

tafaRU
Copy link
Member

@tafaRU tafaRU commented Jun 19, 2015

No description provided.

@yvaucher
Copy link
Member

👍

This allows the user to digit 'width 0.5' and the system will
automatically create a property of group 'width' with value '0.5'
"""
splitted_name = name.split(' ')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest using name.split() here, as this will properly handle multiple spaces, tabs, etc.

@tafaRU
Copy link
Member Author

tafaRU commented Jun 29, 2015

@gurneyalex thanks for your hint. I temporarily set the PR as WIP.

@tafaRU tafaRU force-pushed the 8.0-sale_properties_easy_creation branch from e48be69 to b405933 Compare November 16, 2015 10:27
@tafaRU
Copy link
Member Author

tafaRU commented Nov 16, 2015

@gurneyalex, your remarks have been addressed, could you please have a look at it?

Thank you in advance.

@gurneyalex
Copy link
Member

Tried to test the module on runbot, and IMO the README.rst could be improved a little bit by mentionning the ir.config to activate to get access to the proper settings, and such.

Also the formula_txt field should provide a help to describe how to write a formula (which variables are available etc. )

Finally there is no call to compute_formula in there. Is this intended?

@tafaRU
Copy link
Member Author

tafaRU commented Nov 16, 2015

Tried to test the module on runbot, and IMO the README.rst could be improved a little bit by mentionning the ir.config to activate to get access to the proper settings, and such.

tafaRU@b3503ab

Also the formula_txt field should provide a help to describe how to write a formula (which variables are available etc. )

Could be further improved, but:
tafaRU@9a2cd8f

Finally there is no call to compute_formula in there. Is this intended?

Yes, this is intended.
The calls to compute_formula are in the module sale_line_quantity_properties_based and the module sale_line_price_properties_based (See #145 and #146 still set as WIP since they depend on this one).

@gurneyalex
Copy link
Member

👍

gurneyalex added a commit that referenced this pull request Nov 17, 2015
[8.0] Migration of sale_properties_easy_creation
@gurneyalex gurneyalex merged commit 7711b28 into OCA:8.0 Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants