Skip to content

Conversation

@clbr-odoo
Copy link
Contributor

@clbr-odoo clbr-odoo commented Nov 23, 2023

  • First commit: the addons-path adds /technical-training-sandbox before it becomes a valid addons folder.
  • Second commit: remove a useless lambda that caused some incomprehension from newdooers.

The "../technical-training-sandbox" is added too early in the path since
its still empty, and results into an "invalid addons-path" error.
The lambda function here is useless and makes newdooers think
they need to use it everytime.
`default=fields.Date.add(fields.Date.today(), months=3))`
should do the trick, no lambda involved.
@robodoo
Copy link
Collaborator

robodoo commented Nov 23, 2023

@clbr-odoo clbr-odoo requested a review from AntoineVDV November 23, 2023 10:03
@clbr-odoo clbr-odoo self-assigned this Nov 23, 2023
@C3POdoo C3POdoo requested a review from a team November 23, 2023 10:03
Copy link
Collaborator

@AntoineVDV AntoineVDV left a comment

Choose a reason for hiding this comment

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

@robodoo r+ rebase-ff

@robodoo
Copy link
Collaborator

robodoo commented Nov 23, 2023

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request Nov 23, 2023
The "../technical-training-sandbox" is added too early in the path since
its still empty, and results into an "invalid addons-path" error.

Part-of: #6607
robodoo pushed a commit that referenced this pull request Nov 23, 2023
The lambda function here is useless and makes newdooers think
they need to use it everytime.
`default=fields.Date.add(fields.Date.today(), months=3))`
should do the trick, no lambda involved.

closes #6607

Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
@robodoo robodoo closed this Nov 23, 2023
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.

4 participants