-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
Port v8 delivery_carrier_label_gls #91
Conversation
+++++++++++++++++++++++++++++++++++ | ||
|
||
Unibox service implementation: | ||
- send delivery order informations and parcel infothe GLS unibox server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add an empty line before the list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a/infothe/info to the
@bealdav thanks for the contribution! |
There is an error in the tests:
|
d386e8d
to
d32302b
Compare
Error with runbot |
https://pypi.python.org/pypi/pycountry changes doc say:
Then I switch my code to @gurneyalex could you tell me how ci/runbot manage versions of libs. |
@pedrobaeza you're also impacted there |
any news @gurneyalex @yvaucher ? |
@bealdav @yvaucher @pedrobaeza |
runbot is red (actually orange) because 2016-11-16 09:33:06,780 133 INFO openerp_test openerp.modules.loading: loading delivery_carrier_label_gls/demo/product.xml |
@bealdav sorry? |
stock.inventory.line.create() with unknown fields: product_uom -> product_uom_id https://github.com/OCA/OCB/blob/8.0/addons/stock/stock.py#L2912 |
Thanks I'll push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor remarks
string='Warehouse', | ||
readonly=True, oldname='gls_warehouse', | ||
help="GLS warehouse near customer location (T8700)\n" | ||
"Information common to whole companies " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setting for all companies
help="Generate label when delivery is done") | ||
gls_test = fields.Boolean( | ||
string='Url Test', | ||
help="Check if requested webservice is test plateform") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use testing webservice
@api.multi | ||
def _get_carrier_tracking_url(self): | ||
if self.carrier_id.type == 'gls': | ||
res = ("https://gls-group.eu/FR/fr/suivi-colis?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a const
👍 |
👍 ok for me too |
please @codingforfun could you review my PR above ? |
@codingforfun sorry for the inconvenient. |
THX a lot. |
Fix building project selection values
Needs review