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

[9.0][NEW] sale_timesheet_invoice_description: New module #154

Merged

Conversation

carlosdauden
Copy link
Contributor

This PR replace OCA/sale-workflow#298

Bugs are tracked on `GitHub Issues <https://github.com/OCA/
account-invoicing/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here <https://github.com/OCA/

Choose a reason for hiding this comment

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

You can simplify this part (check the new template)

@elicoidal
Copy link

non blocking remark. other than that 👍


To use this module, you need to:

#. Go to *Sales -> Sale Orders* and create a new Sale Order.
Copy link
Member

Choose a reason for hiding this comment

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

s/Sale Orders/Sales Orders (2 times)

_inherit = 'sale.order'

timesheet_invoice_description = fields.Selection(
'_get_timesheet_invoice_description', default='111')
Copy link
Member

Choose a reason for hiding this comment

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

We have said that the default should be put at company level and accessible from the Sales > Settings menu.

Copy link
Member

Choose a reason for hiding this comment

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

This is still not changed

@@ -14,6 +14,8 @@ Usage

To use this module, you need to:

#. Go to *Sales -> Configuration -> Settings -> Quotations & Sales* and set
Copy link
Member

Choose a reason for hiding this comment

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

This paragraph should go in the Configuration section and include the word "Default".

@carlosdauden
Copy link
Contributor Author

@pedrobaeza changes done

@api.model
def _get_timesheet_invoice_description(self):
return [
('000', _('')),
Copy link
Member

Choose a reason for hiding this comment

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

Put 'None' as label

@carlosdauden
Copy link
Contributor Author

@pedrobaeza changes done

@pedrobaeza
Copy link
Member

Please fix module tests (probably you need to set a value for "invoice description" in the test sales order).

@coveralls
Copy link

coveralls commented Jun 3, 2016

Coverage Status

Coverage increased (+2.4%) to 90.667% when pulling efb2db9 on Tecnativa:9.0-sale_timesheet_invoice_description into f9f3ddf on OCA:9.0.

@rafaelbn
Copy link
Member

Tested in runbot 👍

@carlosdauden
Copy link
Contributor Author

Please, don't merge yet.

@carlosdauden
Copy link
Contributor Author

Forget my last comment. I didn't want write it in this pull request.
Prepared to merge.

@pedrobaeza
Copy link
Member

👍

@pedrobaeza pedrobaeza merged commit c482aac into OCA:9.0 Aug 3, 2016
@pedrobaeza pedrobaeza deleted the 9.0-sale_timesheet_invoice_description branch August 3, 2016 21:14
dcorio pushed a commit to abstract-open-solutions/account-invoicing that referenced this pull request Oct 20, 2016
[ADD] sale_timesheet_invoice_description: New module
ernestotejeda pushed a commit to Tecnativa/account-invoicing that referenced this pull request Nov 25, 2018
[ADD] sale_timesheet_invoice_description: New module
ernestotejeda pushed a commit to Tecnativa/account-invoicing that referenced this pull request Nov 26, 2018
[ADD] sale_timesheet_invoice_description: New module
manuelcalerosolis pushed a commit to Tecnativa/account-invoicing that referenced this pull request Feb 24, 2020
[ADD] sale_timesheet_invoice_description: New module
kongrattapong pushed a commit to kongrattapong/account-invoicing that referenced this pull request Jul 1, 2020
[ADD] sale_timesheet_invoice_description: New module
clementmbr pushed a commit to akretion/account-invoicing that referenced this pull request Mar 24, 2021
[ADD] sale_timesheet_invoice_description: New module
clementmbr pushed a commit to akretion/account-invoicing that referenced this pull request Nov 9, 2021
[ADD] sale_timesheet_invoice_description: New module
clementmbr pushed a commit to akretion/account-invoicing that referenced this pull request Nov 9, 2021
[ADD] sale_timesheet_invoice_description: New module
LudLaf pushed a commit to Tecnativa/account-invoicing that referenced this pull request Aug 30, 2022
[ADD] sale_timesheet_invoice_description: New module
LudLaf pushed a commit to Tecnativa/account-invoicing that referenced this pull request Nov 10, 2022
[ADD] sale_timesheet_invoice_description: New module
jasperjumelet pushed a commit to jasperjumelet/account-invoicing that referenced this pull request Mar 14, 2023
[ADD] sale_timesheet_invoice_description: New module
dsolanki-initos pushed a commit to initOS/account-invoicing that referenced this pull request Mar 27, 2023
[ADD] sale_timesheet_invoice_description: New module
dsolanki-initos pushed a commit to initOS/account-invoicing that referenced this pull request Jun 8, 2023
[ADD] sale_timesheet_invoice_description: New module
azoellner pushed a commit to initOS/account-invoicing that referenced this pull request Oct 25, 2023
[ADD] sale_timesheet_invoice_description: New module
MarioLM-23 pushed a commit to MarioLM-23/account-invoicing that referenced this pull request Apr 18, 2024
[ADD] sale_timesheet_invoice_description: New module
rconjour pushed a commit to wesolved/account-invoicing that referenced this pull request Jul 10, 2024
[ADD] sale_timesheet_invoice_description: New module
rconjour pushed a commit to wesolved/account-invoicing that referenced this pull request Dec 2, 2024
[ADD] sale_timesheet_invoice_description: New module
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.

5 participants