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

11.0 mig sale force invoiced #649

Closed
wants to merge 5 commits into from

Conversation

andreasdsp
Copy link

No description provided.

@andreasdsp andreasdsp force-pushed the 11.0-mig-sale_force_invoiced branch from 41e2103 to 3175128 Compare May 16, 2018 01:45
@pedrobaeza pedrobaeza added this to the 11.0 milestone May 16, 2018
@pedrobaeza pedrobaeza mentioned this pull request May 16, 2018
65 tasks
Copy link

@RoelAdriaans RoelAdriaans left a comment

Choose a reason for hiding this comment

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

Functional test 👍


.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/167/10.0
Copy link

@RoelAdriaans RoelAdriaans May 16, 2018

Choose a reason for hiding this comment

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

Links to old runbot, update to 11.0

Copy link
Author

Choose a reason for hiding this comment

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

done

@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-

Choose a reason for hiding this comment

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

Remove al coding: utf-8 lines, no longer needed with python 3?

Copy link
Author

Choose a reason for hiding this comment

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

done

@andreasdsp andreasdsp force-pushed the 11.0-mig-sale_force_invoiced branch from cfae3f5 to 5249bb4 Compare May 17, 2018 07:12
@andreasdsp
Copy link
Author

Thank you for the review. i had remove utf-8 code and change runbot url.

Copy link
Member

@etobella etobella left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@AaronHForgeFlow
Copy link
Contributor

ready to merge

@RoelAdriaans
Copy link

@pedrobaeza I think this can be merged

@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow Jul 26, 2018

Choose a reason for hiding this comment

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

I think this change should be reverted

Choose a reason for hiding this comment

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

@mreficent This header is no longer required, assumed is UTF-8.
See odoo documentation, there is the header is missing:
https://www.odoo.com/documentation/11.0/reference/data.html
In the newer xml files in default Odoo you can also see that this line is absent.

Copy link
Contributor

Choose a reason for hiding this comment

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

But your example is not valid. In https://www.odoo.com/documentation/10.0/reference/data.html the header is also missing.

Copy link
Member

Choose a reason for hiding this comment

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

For being a correct xml with UTF-8 coded words, you should include that attribute and the header. If not, there can be problems depending on the lxml library implementation and version. What is not needed in python 3 is for python files.

Choose a reason for hiding this comment

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

@mreficent I did not say it was new with Odoo 11..
In that case Odoo is also doing things wrong, for example in this file: https://github.com/odoo/odoo/blob/11.0/addons/hr_recruitment/views/hr_department_views.xml

(For extra confusion, odoo guidelines specify the utf-8 header for python files, but not for the xml files.. :) )

@JayVora-SerpentCS
Copy link
Contributor

Question : When the SO is done, the field becomes editable ! But when the SO is done, in invoice and delivery both are said done, isnt it ?
Sorry if its a confusion.

@emagdalenaC2i
Copy link
Contributor

@pedrobaeza I think this PR should be closed because this module is merged in #688

@pedrobaeza pedrobaeza closed this Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.